[jboss-svn-commits] JBL Code SVN: r19592 - in labs/jbosstm/trunk: qa and 179 other directories.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Wed Apr 16 09:25:22 EDT 2008
Author: jhalliday
Date: 2008-04-16 09:25:16 -0400 (Wed, 16 Apr 2008)
New Revision: 19592
Added:
labs/jbosstm/trunk/qa/
labs/jbosstm/trunk/qa/README.txt
labs/jbosstm/trunk/qa/build.xml
labs/jbosstm/trunk/qa/config/
labs/jbosstm/trunk/qa/config/JBossTS_JTA_QA.xml
labs/jbosstm/trunk/qa/config/JBossTS_JTS_JacORB_QA.xml
labs/jbosstm/trunk/qa/config/jbossjts-properties.xml
labs/jbosstm/trunk/qa/config/jbossts-jta-qa-install.xml
labs/jbosstm/trunk/qa/config/jbossts-jts-qa-install.xml
labs/jbosstm/trunk/qa/config/jdbc_profiles/
labs/jbosstm/trunk/qa/config/jdbc_profiles/_template/
labs/jbosstm/trunk/qa/config/jdbc_profiles/_template/JDBCProfiles
labs/jbosstm/trunk/qa/config/jdbc_profiles/vmware01/
labs/jbosstm/trunk/qa/config/jdbc_profiles/vmware01/JDBCProfiles
labs/jbosstm/trunk/qa/config/load-jbossts-qa.sql
labs/jbosstm/trunk/qa/config/memory_profiles/
labs/jbosstm/trunk/qa/config/memory_profiles/MemoryTestProfile
labs/jbosstm/trunk/qa/config/memory_profiles/MemoryTestProfile_template
labs/jbosstm/trunk/qa/config/run-qa.xml
labs/jbosstm/trunk/qa/config/run-tests.sh
labs/jbosstm/trunk/qa/testdefs/
labs/jbosstm/trunk/qa/testdefs/jbossts-qa-ait01_otstransactionmanager-testdefs.xml
labs/jbosstm/trunk/qa/testdefs/jbossts-qa-aitresources01-testdefs.xml
labs/jbosstm/trunk/qa/testdefs/jbossts-qa-crashrecovery01-testdefs.xml
labs/jbosstm/trunk/qa/testdefs/jbossts-qa-crashrecovery02_1-testdefs.xml
labs/jbosstm/trunk/qa/testdefs/jbossts-qa-crashrecovery02_2-testdefs.xml
labs/jbosstm/trunk/qa/testdefs/jbossts-qa-crashrecovery03-testdefs.xml
labs/jbosstm/trunk/qa/testdefs/jbossts-qa-crashrecovery04-testdefs.xml
labs/jbosstm/trunk/qa/testdefs/jbossts-qa-crashrecovery05_1-testdefs.xml
labs/jbosstm/trunk/qa/testdefs/jbossts-qa-crashrecovery05_2-testdefs.xml
labs/jbosstm/trunk/qa/testdefs/jbossts-qa-crashrecovery06-testdefs.xml
labs/jbosstm/trunk/qa/testdefs/jbossts-qa-crashrecovery07-testdefs.xml
labs/jbosstm/trunk/qa/testdefs/jbossts-qa-crashrecovery08-testdefs.xml
labs/jbosstm/trunk/qa/testdefs/jbossts-qa-crashrecovery12-testdefs.xml
labs/jbosstm/trunk/qa/testdefs/jbossts-qa-currenttests01-testdefs.xml
labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbclocals01-firstsql_jndi-testdefs.xml
labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbclocals01-ibmdb2_jndi-testdefs.xml
labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbclocals01-mssql_jndi-testdefs.xml
labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbclocals01-mysql_jndi-testdefs.xml
labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbclocals01-oracle_jndi-testdefs.xml
labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbclocals01-pgsql_jndi-testdefs.xml
labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbclocals01-sybase_jndi-testdefs.xml
labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources01-firstsql_jndi-testdefs.xml
labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources01-ibmdb2_jndi-testdefs.xml
labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources01-mysql_jndi-testdefs.xml
labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources01-oracle_thin_jndi-testdefs.xml
labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources01-pgsql_jndi-testdefs.xml
labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources01-sybase_jndi-testdefs.xml
labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources01_mssqlserver_jndi-testdefs.xml
labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources02-firstsql_jndi-testdefs.xml
labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources02-ibmdb2_jndi-testdefs.xml
labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources02-mysql_jndi-testdefs.xml
labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources02-oracle_thin_jndi-testdefs.xml
labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources02-pgsql_jndi-testdefs.xml
labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources02-sybase_jndi-testdefs.xml
labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources02_mssqlserver_jndi-testdefs.xml
labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources03-firstsql_jndi-testdefs.xml
labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources03-oracle_thin_jndi-testdefs.xml
labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources04-firstsql_jndi-testdefs.xml
labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources04-oracle_thin_jndi-testdefs.xml
labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jtatests01-testdefs.xml
labs/jbosstm/trunk/qa/testdefs/jbossts-qa-otsserver-testdefs.xml
labs/jbosstm/trunk/qa/testdefs/jbossts-qa-otsserver-timeout-testdefs.xml
labs/jbosstm/trunk/qa/testdefs/jbossts-qa-rawresources01_1-testdefs.xml
labs/jbosstm/trunk/qa/testdefs/jbossts-qa-rawresources01_2-testdefs.xml
labs/jbosstm/trunk/qa/testdefs/jbossts-qa-rawresources01_3-testdefs.xml
labs/jbosstm/trunk/qa/testdefs/jbossts-qa-rawresources02_1-testdefs.xml
labs/jbosstm/trunk/qa/testdefs/jbossts-qa-rawresources02_2-testdefs.xml
labs/jbosstm/trunk/qa/testdefs/jbossts-qa-rawresources02_3-testdefs.xml
labs/jbosstm/trunk/qa/testdefs/jbossts-qa-rawsubtransactionawareresources01_1-testdefs.xml
labs/jbosstm/trunk/qa/testdefs/jbossts-qa-rawsubtransactionawareresources01_2-testdefs.xml
labs/jbosstm/trunk/qa/testdefs/jbossts-qa-rawsubtransactionawareresources01_3-testdefs.xml
labs/jbosstm/trunk/qa/testdefs/jbossts-qa-rawsubtransactionawareresources02_1-testdefs.xml
labs/jbosstm/trunk/qa/testdefs/jbossts-qa-rawsubtransactionawareresources02_2-testdefs.xml
labs/jbosstm/trunk/qa/testdefs/jbossts-qa-rawsubtransactionawareresources02_3-testdefs.xml
labs/jbosstm/trunk/qa/testdefs/jbossts-qa-txcore-testdefs.xml
labs/jbosstm/trunk/qa/testdefs/jbossts-qa-txoj-testdefs.xml
labs/jbosstm/trunk/qa/tests/
labs/jbosstm/trunk/qa/tests/build-core.xml
labs/jbosstm/trunk/qa/tests/build-jta.xml
labs/jbosstm/trunk/qa/tests/build-jts.xml
labs/jbosstm/trunk/qa/tests/idl/
labs/jbosstm/trunk/qa/tests/idl/AITResources01.idl
labs/jbosstm/trunk/qa/tests/idl/AITResources02.idl
labs/jbosstm/trunk/qa/tests/idl/CrashRecovery01.idl
labs/jbosstm/trunk/qa/tests/idl/CrashRecovery02.idl
labs/jbosstm/trunk/qa/tests/idl/CrashRecovery03.idl
labs/jbosstm/trunk/qa/tests/idl/CrashRecovery04.idl
labs/jbosstm/trunk/qa/tests/idl/CrashRecovery05.idl
labs/jbosstm/trunk/qa/tests/idl/CrashRecovery06.idl
labs/jbosstm/trunk/qa/tests/idl/CrashRecovery07.idl
labs/jbosstm/trunk/qa/tests/idl/CrashRecovery08.idl
labs/jbosstm/trunk/qa/tests/idl/CrashRecovery09.idl
labs/jbosstm/trunk/qa/tests/idl/CrashRecovery10.idl
labs/jbosstm/trunk/qa/tests/idl/CrashRecovery11.idl
labs/jbosstm/trunk/qa/tests/idl/EnlistDelistEnlist01.idl
labs/jbosstm/trunk/qa/tests/idl/Hammer01.idl
labs/jbosstm/trunk/qa/tests/idl/Hammer02.idl
labs/jbosstm/trunk/qa/tests/idl/Issues0001.idl
labs/jbosstm/trunk/qa/tests/idl/JDBCResources01.idl
labs/jbosstm/trunk/qa/tests/idl/JDBCResources02.idl
labs/jbosstm/trunk/qa/tests/idl/JDBCResources03.idl
labs/jbosstm/trunk/qa/tests/idl/JDBCResources04.idl
labs/jbosstm/trunk/qa/tests/idl/PerfProfile01.idl
labs/jbosstm/trunk/qa/tests/idl/RawResources01.idl
labs/jbosstm/trunk/qa/tests/idl/RawResources02.idl
labs/jbosstm/trunk/qa/tests/idl/RawSubtransactionAwareResources01.idl
labs/jbosstm/trunk/qa/tests/idl/RawSubtransactionAwareResources02.idl
labs/jbosstm/trunk/qa/tests/idl/SupportTests01.idl
labs/jbosstm/trunk/qa/tests/src/
labs/jbosstm/trunk/qa/tests/src/org/
labs/jbosstm/trunk/qa/tests/src/org/jboss/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client03.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client04.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client05.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client06.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client07.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client08.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client09.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client10.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client11.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client12.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client13.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client14.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client15.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client16.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client17.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client19.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Impls/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Impls/AITCounterImpl01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Impls/AITCounterImpl02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Impls/AITCounterImpl03.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Impls/AITCounterImpl04.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Impls/AITPingPongImpl01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Outcomes/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Outcomes/Outcome01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Outcomes/Outcome02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Servers/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Servers/Server01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Servers/Server02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Servers/Server03.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Servers/Server04.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Servers/Server05.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Servers/Server06.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Servers/Server07.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Servers/Server08.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Servers/Server09.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Servers/Server10.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Servers/Server11.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client03.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client04.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client05.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client06.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client07.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client08.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client09.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client10.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client11.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client12.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client13.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client14.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client15.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client16.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client17.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client18.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client19.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Impls/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Impls/AITCounterImpl01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Impls/AITCounterImpl02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Impls/AITCounterImpl03.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Impls/AITCounterImpl04.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Impls/AITPingPongImpl01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Outcomes/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Outcomes/Outcome01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Outcomes/Outcome02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Servers/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Servers/Server01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Servers/Server02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Servers/Server03.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Servers/Server04.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Servers/Server05.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Servers/Server06.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Servers/Server07.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Servers/Server08.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Servers/Server09.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Servers/Server10.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Servers/Server11.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/client/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/client/Client001.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/client/Client001a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/client/Client001b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/client/RestoreClient001a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/client/RestoreClient001b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/impl/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/impl/BasicAbstractRecord.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/impl/CrashAbstractRecord.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/impl/CrashAbstractRecord02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/impl/CrashService01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/impl/CrashService02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/impl/RecoveryTransaction.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/setup/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/setup/AddUserDefFirst0.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/setup/AddUserDefFirst1.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/setup/UserDefFirst0Setup.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/setup/UserDefFirst1Setup.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/client/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/client/Client001.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/client/Client002.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/client/ErrorClient01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/client/ErrorClient02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/client/ErrorClient03.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/client/ErrorClient04.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/client/ErrorClient05.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/client/ErrorTestProcess.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/client/MemoryClient001.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/client/MemoryClient002.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/client/Worker001.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/client/Worker002.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/client/WorkerClient001.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/client/WorkerClient002.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/impl/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/impl/BasicAbstractRecord.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/impl/ErrorAbstractRecord.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/impl/ErrorService01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/impl/Service01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/impl/Service02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Common/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Common/PropertyFileLoader.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Common/PropertyManagerTest.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Common/UidTest.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Common/UidTestProcess.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Common/UidTestWorker.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Common/UtilityTest.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Common/propertyfiles/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Common/propertyfiles/etc/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Common/propertyfiles/etc/t1.props
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Common/propertyfiles/etc/t2.props
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Common/propertyfiles/etc/t3.props
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Common/propertyfiles/etc/t4.props
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Common/propertyfiles/etc/t5.props
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Common/propertyfiles/etc/t6.props
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/CrashRecovery/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/CrashRecovery/client/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/CrashRecovery/client/ActivateDestroyTest1.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/CrashRecovery/client/Client001a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/CrashRecovery/client/Client001b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/CrashRecovery/client/Client002a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/CrashRecovery/client/Client002b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/CrashRecovery/client/RestoreClient001a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/CrashRecovery/client/RestoreClient001b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/Client001.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/Client002.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/Client003.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/Client004.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/Client005.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/Client006.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/Client007.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/Client008.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/MemoryClient001.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/MemoryClient002.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/MemoryClient003.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/MemoryClient004.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/Worker001.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/Worker002.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/Worker003.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/Worker004.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/WorkerClient001.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/WorkerClient002.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/WorkerClient003.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/WorkerClient004.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/impl/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/impl/BasicLockRecord.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/impl/BasicLockRecord2.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/impl/TXBasicLockRecord.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/impl/TXBasicLockRecord2.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/CrashRecovery/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/CrashRecovery/client/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/CrashRecovery/client/Client001a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/CrashRecovery/client/Client001b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/CrashRecovery/client/Client002a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/CrashRecovery/client/Client002b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/CrashRecovery/client/RestoreClient001a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/CrashRecovery/client/RestoreClient001b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/Client001.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/Client002.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/Client003.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/Client004.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/MemoryClient001.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/MemoryClient002.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/MemoryClient003.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/MemoryClient004.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/Worker001.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/Worker002.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/Worker003.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/Worker004.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/WorkerClient001.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/WorkerClient002.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/WorkerClient003.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/WorkerClient004.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/impl/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/impl/BasicStateRecord.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/impl/TXBasicStateRecord.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Stats/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Stats/Client001.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Stats/Client002.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Stats/Client003.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Stats/Client004.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Utils/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Utils/BaseTestClient.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Utils/ChangeClasspath.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Utils/EmptyObjectStore.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Utils/qautil.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client03.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client04.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client05.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client06.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client07.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client08.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client09.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client10.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client11.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client12.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client13.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client14.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client15.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client16.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client17.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client18.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Impls/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Impls/ResourceImpl01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Impls/ServiceImpl01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Impls/ServiceImpl02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Impls/ServiceImpl03.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Servers/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Servers/Server01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Servers/Server02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Servers/Server03.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Servers/Server04.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Servers/Server05.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Servers/Server06.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients1/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients1/Client01a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients1/Client01b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients1/Client02a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients1/Client02b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients1/Client03a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients1/Client03b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients1/Client04a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients1/Client04b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients1/Client05a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients1/Client05b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client01a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client01b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client02a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client02b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client03a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client03b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client04a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client04b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client05a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client05b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client06a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client06b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client07a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client07b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client08a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client08b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client09a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client09b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client10a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client10b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client11a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client11b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client12a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client12b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client13a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client13b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client14a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client14b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client15a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client15b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client16a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client16b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client17a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client17b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client18a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client18b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client19a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client19b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client20a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client20b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client21a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client21b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client22a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client22b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client23a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client23b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client24a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client24b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client25a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client25b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Impls/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Impls/AfterCrashServiceImpl01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Impls/BeforeCrashServiceImpl01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Impls/ResourceImpl01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Impls/ResourceImpl02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Servers/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Servers/Server01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Servers/Server02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Servers/Server03.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Servers/Server04.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Utils/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Utils/Delays.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery03Clients/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery03Clients/Client01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery03Impls/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery03Impls/ResourceImpl01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery03Impls/ServiceImpl01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery03Servers/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery03Servers/Server01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client03.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client04.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client05.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client06.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client07.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client08.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client09.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client10.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client11.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client12.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client13.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client14.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client15.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client16.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client17.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client18.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Impls/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Impls/ResourceImpl01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Impls/ServiceImpl01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Impls/ServiceImpl02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Impls/ServiceImpl03.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Impls/ServiceImpl04.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Impls/ServiceImpl05.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Impls/ServiceImpl06.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Servers/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Servers/Server01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Servers/Server02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Servers/Server03.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Servers/Server04.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Servers/Server05.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Servers/Server06.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Servers/Server07.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Servers/Server08.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Servers/Server09.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Servers/Server10.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Servers/Server11.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Servers/Server12.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients1/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients1/Client01a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients1/Client01b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients1/Client02a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients1/Client02b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients1/Client03a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients1/Client03b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients1/Client04a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients1/Client04b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients1/Client05a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients1/Client05b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client01a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client01b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client02a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client02b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client03a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client03b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client04a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client04b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client05a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client05b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client06a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client06b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client07a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client07b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client08a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client08b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client09a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client09b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client10a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client10b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client11a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client11b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client12a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client12b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client13a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client13b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client14a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client14b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client15a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client15b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client16a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client16b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client17a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client17b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client18a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client18b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client19a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client19b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client20a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client20b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client21a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client21b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client22a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client22b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client23a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client23b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client24a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client24b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client25a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client25b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Impls/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Impls/AfterCrashServiceImpl01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Impls/AfterCrashServiceImpl02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Impls/BeforeCrashServiceImpl01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Impls/BeforeCrashServiceImpl02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Impls/ResourceImpl01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Impls/ResourceImpl02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Servers/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Servers/Server01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Servers/Server02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Servers/Server03.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Servers/Server04.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Servers/Server05.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Servers/Server06.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Servers/Server07.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Servers/Server08.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Utils/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Utils/Delays.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery06Clients/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery06Clients/Client01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery06Impls/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery06Impls/ResourceImpl01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery06Impls/ServiceImpl01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery06Impls/ServiceImpl02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery06Servers/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery06Servers/Server01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery06Servers/Server02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery07Clients/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery07Clients/Client01a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery07Clients/Client01b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery07Impls/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery07Impls/CrashAbstractRecordImpl.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery07Impls/ResourceImpl01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery07Impls/ServiceImpl01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery07Servers/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery07Servers/Server01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery07Utils/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery07Utils/Delays.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery08Clients/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery08Clients/Client01a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery08Clients/Client01b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery08Impls/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery08Impls/CrashAbstractRecordImpl.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery08Impls/ResourceImpl01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery08Impls/ServiceImpl01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery08Impls/ServiceImpl02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery08Servers/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery08Servers/Server01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery08Servers/Server02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery08Utils/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery08Utils/Delays.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Cleanups/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Cleanups/Cleanup01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Clients/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Clients/Client01a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Clients/Client01b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Clients/Client02a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Clients/Client02b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Clients/Client03a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Clients/Client03b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Clients/Client04a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Clients/Client04b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Impls/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Impls/AITServiceImpl01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Impls/EndCrashAbstractRecordImpl.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Impls/JDBCServiceImpl01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Impls/StartCrashAbstractRecordImpl.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Servers/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Servers/AITServer01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Servers/AITServer02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Servers/AITServer03.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Servers/AITServer04.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Servers/JDBCServer01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Servers/JDBCServer02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Setups/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Setups/Setup01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Utils/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Utils/Delays.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Cleanups/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Cleanups/Cleanup01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Clients/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Clients/Client01a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Clients/Client01b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Clients/Client02a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Clients/Client02b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Clients/Client03a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Clients/Client03b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Clients/Client04a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Clients/Client04b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Impls/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Impls/AITServiceImpl01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Impls/EndCrashAbstractRecordImpl.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Impls/JDBCServiceImpl01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Impls/StartCrashAbstractRecordImpl.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Servers/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Servers/AITServer01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Servers/AITServer02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Servers/AITServer03.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Servers/AITServer04.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Servers/JDBCServer01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Servers/JDBCServer02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Setups/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Setups/Setup01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Utils/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Utils/Delays.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Cleanups/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Cleanups/Cleanup01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Clients/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Clients/Client01a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Clients/Client01b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Clients/Client02a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Clients/Client02b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Clients/Client03a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Clients/Client03b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Clients/Client04a.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Clients/Client04b.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Impls/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Impls/EndCrashAbstractRecordImpl.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Impls/JDBCServiceImpl01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Impls/JDBCServiceImpl02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Impls/StartCrashAbstractRecordImpl.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Servers/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Servers/JDBCServer01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Servers/JDBCServer02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Servers/JDBCServer03.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Servers/JDBCServer04.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Setups/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Setups/Setup01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Utils/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Utils/Delays.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery12Clients/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery12Clients/Client01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery12Outcomes/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery12Outcomes/Outcome01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery12Resources/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery12Resources/Resource01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery12Resources/Resource02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery12Setups/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery12Setups/Setup01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery13Clients/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery13Clients/Test01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery13Clients/Test02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery13Clients/Test03.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery13Impls/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery13Impls/DummyXARecoveryResource.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery13Impls/ExampleXAConnection.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery13Impls/ExampleXAConnectionRecovery.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery13Impls/ExampleXAResource.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery13Impls/RecoveryXAResource.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test03.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test04.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test05.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test06.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test07.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test08.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test09.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test10.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test11.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test12.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test13.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test14.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test15.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test16.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test17.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test18.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test19.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test20.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test21.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test22.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test23.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test24.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test25.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test26.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test27.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test28.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test29.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test30.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test31.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test32.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test33.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test34.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test35.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test36.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/EnlistDelistEnlist01Cleanups/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/EnlistDelistEnlist01Cleanups/Cleanup01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/EnlistDelistEnlist01Clients/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/EnlistDelistEnlist01Clients/Client01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/EnlistDelistEnlist01Clients/Client02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/EnlistDelistEnlist01Clients/Client03.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/EnlistDelistEnlist01Clients/Client04.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/EnlistDelistEnlist01Impls/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/EnlistDelistEnlist01Impls/EnlistDelistEnlistImpl01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/EnlistDelistEnlist01Servers/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/EnlistDelistEnlist01Servers/Server01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/EnlistDelistEnlist01Setups/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/EnlistDelistEnlist01Setups/Setup01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Cleanups/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Cleanups/Cleanup01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Clients/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Clients/Client01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Clients/Client02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Clients/Client03.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Clients/Client04.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Impls/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Impls/AITMatrixImpl01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Impls/AITMatrixImpl02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Impls/AITMatrixImpl03.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Impls/AITMatrixImpl04.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Impls/JDBCMatrixImpl01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Impls/JDBCMatrixImpl02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Outcomes/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Outcomes/Outcome01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Outcomes/Outcome02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Servers/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Servers/Server01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Servers/Server02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Servers/Server03.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Servers/Server04.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Servers/Server05.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Servers/Server06.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Setups/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Setups/Setup01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Cleanups/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Cleanups/Cleanup01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Clients/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Clients/Client01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Clients/Client02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Clients/Client03.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Clients/Client04.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Impls/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Impls/AITMatrixImpl01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Impls/AITMatrixImpl02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Impls/AITMatrixImpl03.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Impls/AITMatrixImpl04.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Impls/JDBCMatrixImpl01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Impls/JDBCMatrixImpl02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Outcomes/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Outcomes/Outcome01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Outcomes/Outcome02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Servers/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Servers/Server01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Servers/Server02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Servers/Server03.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Servers/Server04.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Servers/Server05.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Servers/Server06.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Setups/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Setups/Setup01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Issues0001Clients/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Issues0001Clients/Client0001.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Issues0001Clients/LynxJDBCPerfTest.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Issues0001Impls/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Issues0001Impls/CounterImpl0001.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Issues0001Servers/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Issues0001Servers/Server0001.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCLocals01/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCLocals01/Client01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCLocals01/Client02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCLocals01/Client03.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCLocals01/Client04.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCLocals01/Client05.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCLocals01/Client06.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCLocals01Cleanups/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCLocals01Cleanups/Cleanup01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCLocals01Impls/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCLocals01Impls/InfoTable.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCLocals01Impls/InvocationException.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCLocals01Impls/JDBCInfoTableImpl01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCLocals01Impls/JDBCInfoTableImpl02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCLocals01Setups/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCLocals01Setups/Setup01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCLocals01Setups/Setup02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Cleanups/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Cleanups/Cleanup01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client03.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client04.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client05.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client06.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client07.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client08.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client09.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client10.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client11.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client12.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client13.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client14.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client15.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client16.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client17.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Impls/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Impls/JDBCInfoTableImpl01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Impls/JDBCInfoTableImpl02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Outcomes/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Outcomes/Outcome01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Outcomes/Outcome02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Outcomes/Outcome03.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Outcomes/Outcome04.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Servers/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Servers/Server01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Servers/Server02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Setups/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Setups/Setup01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Setups/Setup02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Cleanups/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Cleanups/Cleanup01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client03.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client04.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client05.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client06.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client07.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client08.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client09.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client10.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client11.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client12.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client13.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client14.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client15.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client16.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Impls/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Impls/JDBCInfoTableImpl01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Impls/JDBCInfoTableImpl02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Outcomes/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Outcomes/Outcome01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Outcomes/Outcome02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Outcomes/Outcome03.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Outcomes/Outcome04.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Servers/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Servers/Server01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Servers/Server02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Setups/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Setups/Setup01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Setups/Setup02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources03Cleanups/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources03Cleanups/Cleanup01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources03Clients/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources03Clients/Client01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources03Impls/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources03Impls/JDBCNumberTableImpl01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources03Impls/JDBCNumberTableImpl02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources03Impls/JDBCNumberTableImpl03.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources03Outcomes/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources03Outcomes/Outcome01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources03Servers/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources03Servers/Server01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources03Servers/Server02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources03Servers/Server03.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources03Setups/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources03Setups/Setup01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources04Cleanups/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources04Cleanups/Cleanup01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources04Clients/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources04Clients/Client01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources04Impls/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources04Impls/JDBCNumberTableImpl01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources04Impls/JDBCNumberTableImpl02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources04Outcomes/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources04Outcomes/Outcome01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources04Servers/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources04Servers/Server01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources04Servers/Server02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources04Setups/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources04Setups/Setup01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JTA01Tests/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JTA01Tests/Test01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JTA01Tests/Test02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JTA01Tests/Test03.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JTA01Tests/Test04.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JTA01Tests/Test05.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JTA01Tests/Test06.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Misc/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Misc/report.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/OTSServerClients/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/OTSServerClients/Client01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/OTSServerClients/Client02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/OTSServerClients/Client03.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/OTSServerClients/Client04.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/OTSServerClients/Client05.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/OTSServerClients/Client06.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/OTSServerClients/Client07.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/OTSServerClients/Client08.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/OTSServerClients/Client09.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/OTSServerClients/Client10.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/OTSServerClients/Client11.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/OTSServerClients/Client12.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/OTSServerClients/Client13.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/OTSServerClients/Client14.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_NoTran_NoTranNullOper.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_NoTran_TranCommitNullOper.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_NoTran_TranCommitReadLock.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_NoTran_TranCommitWriteLock.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_NoTran_TranRollbackNullOper.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_NoTran_TranRollbackReadLock.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_NoTran_TranRollbackWriteLock.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranCommit_NoTranNullOper.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranCommit_NoTranReadLock.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranCommit_NoTranWriteLock.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranCommit_TranCommitNullOper.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranCommit_TranCommitReadLock.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranCommit_TranCommitWriteLock.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranCommit_TranRollbackNullOper.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranCommit_TranRollbackReadLock.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranCommit_TranRollbackWriteLock.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranRollback_NoTranNullOper.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranRollback_NoTranReadLock.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranRollback_NoTranWriteLock.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranRollback_TranCommitNullOper.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranRollback_TranCommitReadLock.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranRollback_TranCommitWriteLock.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranRollback_TranRollbackNullOper.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranRollback_TranRollbackReadLock.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranRollback_TranRollbackWriteLock.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_NoTran_NoTranNullOper.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_NoTran_TranCommitNullOper.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_NoTran_TranCommitReadLock.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_NoTran_TranCommitWriteLock.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_NoTran_TranRollbackNullOper.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_NoTran_TranRollbackReadLock.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_NoTran_TranRollbackWriteLock.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranCommit_NoTranNullOper.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranCommit_NoTranReadLock.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranCommit_NoTranWriteLock.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranCommit_TranCommitNullOper.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranCommit_TranCommitReadLock.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranCommit_TranCommitWriteLock.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranCommit_TranRollbackNullOper.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranCommit_TranRollbackReadLock.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranCommit_TranRollbackWriteLock.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranRollback_NoTranNullOper.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranRollback_NoTranReadLock.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranRollback_NoTranWriteLock.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranRollback_TranCommitNullOper.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranRollback_TranCommitReadLock.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranRollback_TranCommitWriteLock.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranRollback_TranRollbackNullOper.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranRollback_TranRollbackReadLock.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranRollback_TranRollbackWriteLock.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Impls/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Impls/AITExplicitObjectImpl01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Impls/AITImplicitObjectImpl01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Servers/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Servers/Server_AIT01_ExplicitObject.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Servers/Server_AIT01_ImplicitObject.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfileIOClients/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfileIOClients/OpenWriteSyncClose.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfileIOClients/WriteSync.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfileIOClients/WriteSyncSeek.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients1/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients1/Client001.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients1/Client002.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients1/Client003.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients1/Client004.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients1/Client005.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients1/Client006.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client001.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client002.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client003.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client004.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client005.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client006.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client007.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client008.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client009.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client010.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client011.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client012.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client013.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client014.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client015.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client016.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client017.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client018.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client019.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client020.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client021.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client022.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client023.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client024.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client025.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client026.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client027.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client028.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client029.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client030.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client031.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client032.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client033.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client034.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client035.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client036.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client037.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client038.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client039.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client040.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client041.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client042.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client043.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client044.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client045.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client046.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client047.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client048.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client049.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client050.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client051.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client052.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client053.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client054.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client055.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client056.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client057.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client058.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client059.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client060.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client061.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client062.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client063.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client064.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client065.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client066.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client067.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client068.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client069.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client070.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client071.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client072.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client073.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client074.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client075.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client076.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client077.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client078.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client079.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client080.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client081.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client082.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client083.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client084.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client085.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client086.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client087.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client088.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client089.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client090.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client091.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client092.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client093.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client094.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client095.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client096.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client097.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client098.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client099.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client100.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client101.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client102.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client103.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client104.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client105.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client106.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client107.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client108.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client109.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client110.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client111.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client112.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client113.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client114.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client115.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client116.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client117.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client118.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client119.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client120.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client121.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client122.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client123.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client124.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client125.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client126.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client127.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client128.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client129.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client130.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client131.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client132.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client133.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client134.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client135.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client136.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client137.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client138.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client139.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client140.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client141.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client142.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client143.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client144.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client145.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client146.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client147.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client148.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client001.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client002.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client003.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client004.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client005.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client006.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client007.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client008.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client009.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client010.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client011.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client012.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client013.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client014.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client015.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client016.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client017.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client018.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client019.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client020.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client021.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client022.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client023.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client024.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client025.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client026.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client027.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client028.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client029.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client030.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Impls/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Impls/ResourceImpl01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Impls/ServiceImpl01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Impls/ServiceImpl02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Servers/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Servers/Server01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Servers/Server02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Servers/Server03.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Servers/Server04.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients1/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients1/Client001.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients1/Client002.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients1/Client003.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients1/Client004.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients1/Client005.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients1/Client006.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client001.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client002.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client003.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client004.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client005.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client006.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client007.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client008.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client009.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client010.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client011.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client012.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client013.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client014.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client015.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client016.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client017.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client018.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client019.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client020.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client021.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client022.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client023.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client024.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client025.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client026.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client027.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client028.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client029.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client030.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client031.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client032.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client033.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client034.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client035.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client036.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client037.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client038.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client039.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client040.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client041.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client042.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client043.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client044.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client045.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client046.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client047.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client048.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client049.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client050.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client051.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client052.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client053.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client054.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client055.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client056.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client057.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client058.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client059.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client060.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client061.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client062.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client063.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client064.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client065.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client066.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client067.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client068.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client069.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client070.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client071.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client072.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client073.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client074.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client075.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client076.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client077.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client078.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client079.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client080.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client081.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client082.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client083.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client084.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client085.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client086.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client087.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client088.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client089.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client090.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client091.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client092.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client093.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client094.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client095.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client096.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client097.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client098.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client099.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client100.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client101.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client102.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client103.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client104.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client105.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client106.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client107.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client108.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client109.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client110.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client111.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client112.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client113.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client114.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client115.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client116.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client117.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client118.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client119.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client120.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client121.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client122.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client123.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client124.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client125.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client126.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client127.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client128.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client129.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client130.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client131.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client132.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client133.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client134.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client135.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client136.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client137.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client138.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client139.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client140.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client141.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client142.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client143.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client144.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client145.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client146.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client147.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client148.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client001.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client002.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client003.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client004.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client005.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client006.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client007.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client008.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client009.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client010.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client011.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client012.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client013.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client014.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client015.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client016.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client017.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client018.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client019.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client020.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client021.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client022.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client023.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client024.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client025.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client026.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client027.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client028.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client029.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client030.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Impls/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Impls/ResourceImpl01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Impls/ServiceImpl01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Impls/ServiceImpl02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Servers/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Servers/Server01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Servers/Server02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Servers/Server03.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Servers/Server04.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients1/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients1/Client001.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients1/Client002.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients1/Client003.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients1/Client004.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients1/Client005.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients1/Client006.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients2/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients2/Client001.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients2/Client002.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients2/Client003.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients2/Client004.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients2/Client005.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients3/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients3/Client001.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients3/Client002.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients3/Client003.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients3/Client004.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients3/Client005.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Impls/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Impls/ServiceImpl01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Impls/ServiceImpl02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Impls/SubtransactionAwareResourceImpl01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Servers/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Servers/Server01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Servers/Server02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Servers/Server03.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Servers/Server04.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients1/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients1/Client001.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients1/Client002.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients1/Client003.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients1/Client004.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients1/Client005.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients1/Client006.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients2/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients2/Client001.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients2/Client002.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients2/Client003.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients2/Client004.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients2/Client005.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients3/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients3/Client001.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients3/Client002.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients3/Client003.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients3/Client004.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients3/Client005.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Impls/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Impls/ServiceImpl01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Impls/ServiceImpl02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Impls/SubtransactionAwareResourceImpl01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Servers/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Servers/Server01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Servers/Server02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Servers/Server03.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Servers/Server04.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/SupportTests01Clients/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/SupportTests01Clients/Client01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/SupportTests01Clients/Client02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/SupportTests01Impls/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/SupportTests01Impls/DummyXAResource.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/SupportTests01Impls/SupportTestXAResourceEnlistDelist.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/SupportTests01Servers/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/SupportTests01Servers/Server01.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/SupportTests01Servers/Server02.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Utils/
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Utils/AssertCleanEnvironment.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Utils/BaseTestCase.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Utils/CSFTestWrapper.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Utils/CSFToolTest.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Utils/CopyTransactionPropertiesFile.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Utils/DistributedIORStorePlugin.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Utils/EmptyObjectStore.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Utils/FileServerIORStore.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Utils/JDBCAccess.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Utils/JDBCProfileStore.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Utils/JNDIManager.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Utils/JVMStats.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Utils/MemoryTestProfileStore.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Utils/OAInterface.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Utils/ORBInterface.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Utils/ORBServices.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Utils/OTS.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Utils/ObjectUidStore.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Utils/OrbSetup.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Utils/PerformanceProfileStore.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Utils/RegisterOTSServer.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Utils/RemoveObjectUidStore.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Utils/RemoveServerIORStore.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Utils/ServerIORStore.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Utils/ServerIORStorePlugin.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Utils/Setup.java
labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Utils/SetupOTSServer.java
labs/jbosstm/trunk/qa/testselections/
labs/jbosstm/trunk/qa/testselections/117_AJQ_HPUX.xml
labs/jbosstm/trunk/qa/testselections/117_AJQ_Linux.xml
labs/jbosstm/trunk/qa/testselections/117_AJQ_SunOS.xml
labs/jbosstm/trunk/qa/testselections/117_AJQ_Win2K.xml
labs/jbosstm/trunk/qa/testselections/119_AJQ_HPUX.xml
labs/jbosstm/trunk/qa/testselections/119_AJQ_Linux.xml
labs/jbosstm/trunk/qa/testselections/119_AJQ_SunOS.xml
labs/jbosstm/trunk/qa/testselections/119_AJQ_Win2K.xml
labs/jbosstm/trunk/qa/testselections/137_AJQ_HPUX.xml
labs/jbosstm/trunk/qa/testselections/137_AJQ_Linux.xml
labs/jbosstm/trunk/qa/testselections/137_AJQ_SunOS.xml
labs/jbosstm/trunk/qa/testselections/137_AJQ_Win2K.xml
labs/jbosstm/trunk/qa/testselections/138_AJQ_HPUX.xml
labs/jbosstm/trunk/qa/testselections/138_AJQ_Linux.xml
labs/jbosstm/trunk/qa/testselections/138_AJQ_SunOS.xml
labs/jbosstm/trunk/qa/testselections/138_AJQ_Win2K.xml
labs/jbosstm/trunk/qa/testselections/141_AJQ_HPUX.xml
labs/jbosstm/trunk/qa/testselections/141_AJQ_Linux.xml
labs/jbosstm/trunk/qa/testselections/141_AJQ_SunOS.xml
labs/jbosstm/trunk/qa/testselections/141_AJQ_Win2K.xml
labs/jbosstm/trunk/qa/testselections/146_AJQ_HPUX.xml
labs/jbosstm/trunk/qa/testselections/146_AJQ_Linux.xml
labs/jbosstm/trunk/qa/testselections/146_AJQ_SunOS.xml
labs/jbosstm/trunk/qa/testselections/146_AJQ_Win2K.xml
labs/jbosstm/trunk/qa/testselections/147_AJQ_HPUX.xml
labs/jbosstm/trunk/qa/testselections/147_AJQ_Linux.xml
labs/jbosstm/trunk/qa/testselections/147_AJQ_SunOS.xml
labs/jbosstm/trunk/qa/testselections/147_AJQ_Win2K.xml
labs/jbosstm/trunk/qa/testselections/66_AJQ_HPUX.xml
labs/jbosstm/trunk/qa/testselections/66_AJQ_Linux.xml
labs/jbosstm/trunk/qa/testselections/66_AJQ_SunOS.xml
labs/jbosstm/trunk/qa/testselections/66_AJQ_SunOS_Win2K.xml
labs/jbosstm/trunk/qa/testselections/66_AJQ_Win2K.xml
labs/jbosstm/trunk/qa/testselections/70_AJQ_HPUX.xml
labs/jbosstm/trunk/qa/testselections/70_AJQ_Linux.xml
labs/jbosstm/trunk/qa/testselections/70_AJQ_SunOS.xml
labs/jbosstm/trunk/qa/testselections/70_AJQ_SunOS_Win2K.xml
labs/jbosstm/trunk/qa/testselections/70_AJQ_Win2K.xml
labs/jbosstm/trunk/qa/testselections/71_AJQ_HPUX.xml
labs/jbosstm/trunk/qa/testselections/71_AJQ_Linux.xml
labs/jbosstm/trunk/qa/testselections/71_AJQ_SunOS.xml
labs/jbosstm/trunk/qa/testselections/71_AJQ_SunOS_Win2K.xml
labs/jbosstm/trunk/qa/testselections/71_AJQ_Win2K.xml
labs/jbosstm/trunk/qa/testselections/72_AJQ_HPUX.xml
labs/jbosstm/trunk/qa/testselections/72_AJQ_Linux.xml
labs/jbosstm/trunk/qa/testselections/72_AJQ_SunOS.xml
labs/jbosstm/trunk/qa/testselections/72_AJQ_SunOS_Win2K.xml
labs/jbosstm/trunk/qa/testselections/72_AJQ_Win2K.xml
labs/jbosstm/trunk/qa/testselections/73_AJQ_HPUX.xml
labs/jbosstm/trunk/qa/testselections/73_AJQ_Linux.xml
labs/jbosstm/trunk/qa/testselections/73_AJQ_SunOS.xml
labs/jbosstm/trunk/qa/testselections/73_AJQ_SunOS_Win2K.xml
labs/jbosstm/trunk/qa/testselections/73_AJQ_Win2K.xml
labs/jbosstm/trunk/qa/testselections/74_AJQ_HPUX.xml
labs/jbosstm/trunk/qa/testselections/74_AJQ_Linux.xml
labs/jbosstm/trunk/qa/testselections/74_AJQ_SunOS.xml
labs/jbosstm/trunk/qa/testselections/74_AJQ_SunOS_Win2K.xml
labs/jbosstm/trunk/qa/testselections/74_AJQ_Win2K.xml
labs/jbosstm/trunk/qa/testselections/75_AJQ_HPUX.xml
labs/jbosstm/trunk/qa/testselections/75_AJQ_Linux.xml
labs/jbosstm/trunk/qa/testselections/75_AJQ_SunOS.xml
labs/jbosstm/trunk/qa/testselections/75_AJQ_SunOS_Win2K.xml
labs/jbosstm/trunk/qa/testselections/75_AJQ_Win2K.xml
labs/jbosstm/trunk/qa/testselections/76_AJQ_HPUX.xml
labs/jbosstm/trunk/qa/testselections/76_AJQ_Linux.xml
labs/jbosstm/trunk/qa/testselections/76_AJQ_SunOS.xml
labs/jbosstm/trunk/qa/testselections/76_AJQ_SunOS_Win2K.xml
labs/jbosstm/trunk/qa/testselections/76_AJQ_Win2K.xml
labs/jbosstm/trunk/qa/testselections/77_AJQ_HPUX.xml
labs/jbosstm/trunk/qa/testselections/77_AJQ_Linux.xml
labs/jbosstm/trunk/qa/testselections/77_AJQ_SunOS.xml
labs/jbosstm/trunk/qa/testselections/77_AJQ_SunOS_Win2K.xml
labs/jbosstm/trunk/qa/testselections/77_AJQ_Win2K.xml
labs/jbosstm/trunk/qa/testselections/78_AJQ_HPUX.xml
labs/jbosstm/trunk/qa/testselections/78_AJQ_Linux.xml
labs/jbosstm/trunk/qa/testselections/78_AJQ_SunOS.xml
labs/jbosstm/trunk/qa/testselections/78_AJQ_SunOS_Win2K.xml
labs/jbosstm/trunk/qa/testselections/78_AJQ_Win2K.xml
labs/jbosstm/trunk/qa/testselections/79_AJQ_HPUX.xml
labs/jbosstm/trunk/qa/testselections/79_AJQ_Linux.xml
labs/jbosstm/trunk/qa/testselections/79_AJQ_SunOS.xml
labs/jbosstm/trunk/qa/testselections/79_AJQ_SunOS_Win2K.xml
labs/jbosstm/trunk/qa/testselections/79_AJQ_Win2K.xml
labs/jbosstm/trunk/qa/testselections/80_AJQ_HPUX.xml
labs/jbosstm/trunk/qa/testselections/80_AJQ_Linux.xml
labs/jbosstm/trunk/qa/testselections/80_AJQ_SunOS.xml
labs/jbosstm/trunk/qa/testselections/80_AJQ_SunOS_Win2K.xml
labs/jbosstm/trunk/qa/testselections/80_AJQ_Win2K.xml
labs/jbosstm/trunk/qa/testselections/81_AJQ_HPUX.xml
labs/jbosstm/trunk/qa/testselections/81_AJQ_Linux.xml
labs/jbosstm/trunk/qa/testselections/81_AJQ_SunOS.xml
labs/jbosstm/trunk/qa/testselections/81_AJQ_SunOS_Win2K.xml
labs/jbosstm/trunk/qa/testselections/81_AJQ_Win2K.xml
labs/jbosstm/trunk/qa/testselections/84_AJQ_HPUX.xml
labs/jbosstm/trunk/qa/testselections/84_AJQ_Linux.xml
labs/jbosstm/trunk/qa/testselections/84_AJQ_SunOS.xml
labs/jbosstm/trunk/qa/testselections/84_AJQ_SunOS_Win2K.xml
labs/jbosstm/trunk/qa/testselections/84_AJQ_Win2K.xml
labs/jbosstm/trunk/qa/testselections/85_AJQ_HPUX.xml
labs/jbosstm/trunk/qa/testselections/85_AJQ_Linux.xml
labs/jbosstm/trunk/qa/testselections/85_AJQ_SunOS.xml
labs/jbosstm/trunk/qa/testselections/85_AJQ_SunOS_Win2K.xml
labs/jbosstm/trunk/qa/testselections/85_AJQ_Win2K.xml
labs/jbosstm/trunk/qa/testselections/86_AJQ_HPUX.xml
labs/jbosstm/trunk/qa/testselections/86_AJQ_Linux.xml
labs/jbosstm/trunk/qa/testselections/86_AJQ_SunOS.xml
labs/jbosstm/trunk/qa/testselections/86_AJQ_SunOS_Win2K.xml
labs/jbosstm/trunk/qa/testselections/86_AJQ_Win2K.xml
labs/jbosstm/trunk/qa/testselections/87_AJQ_HPUX.xml
labs/jbosstm/trunk/qa/testselections/87_AJQ_Linux.xml
labs/jbosstm/trunk/qa/testselections/87_AJQ_SunOS.xml
labs/jbosstm/trunk/qa/testselections/87_AJQ_SunOS_Win2K.xml
labs/jbosstm/trunk/qa/testselections/87_AJQ_Win2K.xml
labs/jbosstm/trunk/qa/testselections/88_AJQ_HPUX.xml
labs/jbosstm/trunk/qa/testselections/88_AJQ_Linux.xml
labs/jbosstm/trunk/qa/testselections/88_AJQ_SunOS.xml
labs/jbosstm/trunk/qa/testselections/88_AJQ_SunOS_Win2K.xml
labs/jbosstm/trunk/qa/testselections/88_AJQ_Win2K.xml
labs/jbosstm/trunk/qa/testselections/89_AJQ_HPUX.xml
labs/jbosstm/trunk/qa/testselections/89_AJQ_Linux.xml
labs/jbosstm/trunk/qa/testselections/89_AJQ_SunOS.xml
labs/jbosstm/trunk/qa/testselections/89_AJQ_SunOS_Win2K.xml
labs/jbosstm/trunk/qa/testselections/89_AJQ_Win2K.xml
labs/jbosstm/trunk/qa/testselections/90_AJQ_HPUX.xml
labs/jbosstm/trunk/qa/testselections/90_AJQ_Linux.xml
labs/jbosstm/trunk/qa/testselections/90_AJQ_SunOS.xml
labs/jbosstm/trunk/qa/testselections/90_AJQ_SunOS_Win2K.xml
labs/jbosstm/trunk/qa/testselections/90_AJQ_Win2K.xml
labs/jbosstm/trunk/qa/testselections/91_AJQ_HPUX.xml
labs/jbosstm/trunk/qa/testselections/91_AJQ_Linux.xml
labs/jbosstm/trunk/qa/testselections/91_AJQ_SunOS.xml
labs/jbosstm/trunk/qa/testselections/91_AJQ_SunOS_Win2K.xml
labs/jbosstm/trunk/qa/testselections/91_AJQ_Win2K.xml
labs/jbosstm/trunk/qa/testselections/92_AJQ_HPUX.xml
labs/jbosstm/trunk/qa/testselections/92_AJQ_Linux.xml
labs/jbosstm/trunk/qa/testselections/92_AJQ_SunOS.xml
labs/jbosstm/trunk/qa/testselections/92_AJQ_SunOS_Win2K.xml
labs/jbosstm/trunk/qa/testselections/92_AJQ_Win2K.xml
labs/jbosstm/trunk/qa/testselections/93_AJQ_HPUX.xml
labs/jbosstm/trunk/qa/testselections/93_AJQ_Linux.xml
labs/jbosstm/trunk/qa/testselections/93_AJQ_SunOS.xml
labs/jbosstm/trunk/qa/testselections/93_AJQ_SunOS_Win2K.xml
labs/jbosstm/trunk/qa/testselections/93_AJQ_Win2K.xml
labs/jbosstm/trunk/qa/testselections/94_AJQ_HPUX.xml
labs/jbosstm/trunk/qa/testselections/94_AJQ_Linux.xml
labs/jbosstm/trunk/qa/testselections/94_AJQ_SunOS.xml
labs/jbosstm/trunk/qa/testselections/94_AJQ_SunOS_Win2K.xml
labs/jbosstm/trunk/qa/testselections/94_AJQ_Win2K.xml
labs/jbosstm/trunk/qa/testselections/95_AJQ_HPUX.xml
labs/jbosstm/trunk/qa/testselections/95_AJQ_Linux.xml
labs/jbosstm/trunk/qa/testselections/95_AJQ_SunOS.xml
labs/jbosstm/trunk/qa/testselections/95_AJQ_SunOS_Win2K.xml
labs/jbosstm/trunk/qa/testselections/95_AJQ_Win2K.xml
Log:
Added jbossts-qa DTF test suite, imported from private repo at http://svn.corp.jboss.com/repos/qa/jbossts/trunk. This import is equiv to the old repo at r1343, except that the README has been modified and copyright/licence headers added to some files. It wont work against the open source DTF just yet - the code namespace for DTF has moved to org.jboss and the jbossts-qa files need updating to reflect this. http://jira.jboss.com/jira/browse/JBTM-357
Added: labs/jbosstm/trunk/qa/README.txt
===================================================================
--- labs/jbosstm/trunk/qa/README.txt (rev 0)
+++ labs/jbosstm/trunk/qa/README.txt 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,152 @@
+#######################################################################################
+#
+# JBoss, Home of Professional Open Source
+# Copyright 2008, JBoss Inc., 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.
+#
+# (C) 2008,
+# @author JBoss Inc.
+#
+#
+#######################################################################################
+#
+# README.txt for JBossTS QA Testsuite.
+# $Id$
+# @author jonathan.halliday at redhat.com, created 2007-02-08
+
+This is the JBossTS QA Testsuite, otherwise known as jbossts-qa and previously as ats-qa
+It provides the glue between JBossTS and the DTF, including product specific tests and configuration.
+
+As of April 2008, the DTF used to run these tests is open source. Thus the jbossts-qa test suite is
+likewise being moved to open source.
+
+For JBossTS 4.4 and later, the jbossts-qa test suite is in the JBossTS source repository directory qa/
+i.e. it's now considered part of the JBossTS project, not an independent entity.
+The DTF used to run it is at https://svn.jboss.org/repos/dtf/ (see http://labs.jboss.com/jbossdtf)
+
+Earlier releases of JBossTS continue to use the closed source version of jbossts-qa, running under the
+closed source version of DTF. For JBoss staff only, these can be found on the intranet at
+ https://svn.corp.jboss.com/repos/qa/jbossts/trunk/
+ https://svn.corp.jboss.com/repos/dtf/trunk/
+ https://wiki.corp.jboss.com/bin/view/IT/SystemServiceQaDtfEnvironment
+
+The live DTF environment used by JBoss to test JBossTS releases is not publicly accessible at present.
+We hope to expose this test environment read-only to the community in due course, allowing for viewing
+of our test results. Until then, users wishing to utilise DTF must install their own instance.
+
+For JBoss staff wanting to access the internal servers, see the information at
+ https://wiki.corp.jboss.com/bin/view/IT/SystemServiceQaDtfEnvironment
+
+
+To use this package, you need:
+
+ The JDK, apache ant, (plus tomcat and mysql if running the DTF locally)
+
+ An installation of the Distributed Test Framework.
+ If you don't already have access to one go fetch it from the URL abve:
+ and follow the instructions in the DTF-Install-README.txt file.
+ Note: build with Java 5 (export JAVA_HOME=... before running ant) if you want to run tests
+ on a 5 JVM, or run the framework itself on 5. A Java 6 build won't run tests on Java 5.
+
+ A build of the JBossTS, JTS edition to test. If you don't already have one then either:
+ download a binary from http://labs.jboss.com/portal/jbosstm/downloads (get the 'full', not the 'jta' version)
+ or
+ svn co http://anonsvn.labs.jboss.com/labs/jbosstm/ and build with 'ant jts'
+ Note: You need to build using Java 5 if you expect to test on that version of the JVM.
+
+TODO: idl compiler
+
+ JDBC Database drivers for any database you want to test against (there are issues with redistributing
+ the drivers for commercial dbs, hence they are not provided bundled with this project)
+
+TODO: check licencing on specific db drivers - can we check them into this project? It would make life easier...
+should be possible for the open source dbs at least, plus maybe others
+
+Now edit the build.xml file in this directory, setting the properties near the top to the locations of
+the various pre-requisites mentioned above.
+
+Create the directory config/jdbc_profiles/<name_of_testnode_host>/ by copying the existing
+config/jdbc_profiles/_template/ directory, one for each host on which a test node will run.
+Edit the JDBCProfiles file in the new director(y|ies), setting the database connection information.
+By convention each test node has two accounts on each database server, with names of '<testnode_hostname>1'
+and '<testnode_hostname>2'. This allows for testing of transactions with two resources. These accounts
+need table creation privs plus the usual CRUD. The actual tables will be created automatically when the
+tests run.
+
+Set the JAVA_HOME to the older version of Java you may want to run tests on..
+
+Run 'ant'. This builds the JTS version of the product test classes by calling tests/build-jts.xml,
+then builds a .zip file with the QA distribution, which contains the tests plus the product itself
+copied in from your installation above, plus the database drivers, plus some config files.
+
+To deploy the built product QA distribution to the DTF:
+
+ Edit the product configuration file config/JBossTS_JTS_JacORB_QA.xml to suit your DTF installation.
+ Copy it to the testenv/services/products/ directory of the DTF installation.
+
+ Edit the product installation file config/jbossts-jts-qa-install.xml to suit your DTF installation.
+ Copy it to the appropriate directory on the DTF web server, typically webapps/dtf/productinstallers/
+
+ (you can skip the two parts above if you just are redeploying a fresh build over an existing one)
+
+ Copy the test package build/jbossts-jts-qa-distribution.zip to the appropriate directory
+ on the DTF web server, typically webapps/dtf/productbuilds/
+
+ Bind the product to the installer file using the DTF webapp Deployment menu
+ (e.g. JBossTS_JTS_JacORB_QA -> http://.../dtf/productinstallers/jbossts-jts-qa-install.xml)
+
+You can now deploy the product to test nodes, define tests (files can be uploaded from the
+testdefs/ directory of this project) and run selections of them through the DTF web application.
+However, doing this by hand on a new DTF installation is tedious, so here is a rather hacky optional
+shortcut for those who have control over their own DTF installation and don't mind taking risks:
+
+ Testdefs (what is involved in a test or group of tests e.g. client and server processes etc)
+ and Test selections (which tests to run on which platforms) are stored in .xml files and also
+ have entries in the DTF database. You can upload testdef files to the webapp, which creates the
+ database entry for them automatically, including assigning them a sequence number. However, you
+ can't do this with test selections files. Test selections are normally defined through the web
+ interface, which creates both the .xml file and the database entry. These each contain reference to
+ the sequence number of the corresponding testdefs. Since this number depends on the order in which
+ the testdefs were installed, it may differ from one DTF instance to another. Thus to populate a
+ DTF installation with pre-existing testdefs and testselections, you need to manipulate the database
+ directly to ensure the correlation of sequence numbers. You'll probably be able to get away with this
+ only if there are no existing testdefs or testselections in the database.
+
+ The basic procedure is:
+
+ Copy the files testdefs/*.xml to the DTF's webapps/dtf/producttests/ directory
+ Copy the files testselections/*.xml to the DTF's webapps/dtf/producttests/ directory
+ Run the config/load-jbossts-sql.sql file against the DTF database as the dtf user.
+ Make appropriate ritual sacrifices, cross your fingers and restart the DTF.
+
+ If you take this route, you then have the ability to use the config/run-tests.sh and config/run-qa.xml
+ files to automate your test runs. The .xml file contains test selection file names, so it works
+ only with the specific sequence numbers generated by the above steps, not any random DTF installation.
+ You'll need to tweak the urls in these files to point to your DTF server.
+
+
+Addendum for running JTA rather than JTS QA:
+
+ Read the JTS deployment stuff above first so you know what is going on, this section is very terse.
+ You need to build or obtain the JBossTS JTA rather than JTS ('ant jta')
+ Edit build.xml, set buildtype to jta (TODO: determine automatically from .jars in ts.home?)
+ Edit config/JBossTS_JTA_QA.xml and copy to the server
+ Edit config/jbossts-jta-qa-install.xml and copy to the server TODO
+ copy build/jbossts-jta-qa-distribution.zip to the server
+ Bind JBossTS_JTA_QA -> http://.../dtf/productinstallers/jbossts-jta-qa-install.xml
+
+
+Note: txoj tests require test classes from JBossTS that are not installed by default. try e.g.
+ scp ArjunaCore/txoj/lib/tests/txoj_tests.jar /services/DTF/JBossTS-JTA-QA/lib/ext/
Added: labs/jbosstm/trunk/qa/build.xml
===================================================================
--- labs/jbosstm/trunk/qa/build.xml (rev 0)
+++ labs/jbosstm/trunk/qa/build.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,134 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<project name="JBossTS QA Suite Distribution" default="dist">
+
+ <!-- jta or jts. TODO: Should really be determied automatically by looking at content of ts.home -->
+ <property name="buildtype" value="jts"/>
+
+ <!-- set this property to the location of a JBossTS JTA/JTS build or installation -->
+<!--
+ <property name="org.jboss.jbossts.qa.ts.home" location="/home/jhalli/IdeaProjects/jboss/jbossts/install/"/>
+ /home/jhalli/javastuff/jbossts-full-4.2.3.sp3
+-->
+ <property name="org.jboss.jbossts.qa.ts.home" location="/home/jhalli/IdeaProjects/jboss/jbossts_trunk/install"/>
+
+ <!-- set this property to the location of a DTF TestingFramework.jar build -->
+ <property name="org.jboss.jbossts.qa.testingframework_location" location="/home/jhalli/IdeaProjects/jboss/jbossdtf/DTF_3_9/dist/lib/TestingFramework.jar"/>
+
+ <!-- TODO cd ArjunaJTS/orbportability; ant -f build-anttasks.xml -->
+ <property name="org.jboss.jbossts.qa.idlcompiler.lib"
+ location="/home/jhalli/IdeaProjects/jboss/jbossts_trunk/ArjunaJTS/orbportability/lib/ext"/>
+
+ <!-- set these to the location(s) of the database drivers -->
+
+ <fileset id="oracle.drivers" dir="/oracle/product/10.2.0/db_1/jdbc/lib/">
+ <include name="ojdbc14.jar"/>
+ </fileset>
+
+ <fileset id="mssql.drivers.old" dir="/home/jhalli/javastuff/mssql2000jdbc/lib">
+ <include name="ms*.jar"/>
+ </fileset>
+
+ <fileset id="mssql.drivers" dir="/home/jhalli/javastuff/mssql2005_sqljdbc_1.1/enu/">
+ <include name="sqljdbc.jar"/>
+ </fileset>
+
+ <!-- 8.1.408 is broken, use something more recent. -->
+ <fileset id="pgsql.drivers" dir="/home/jhalli/IdeaProjects/jboss/pgsqldriver/pgjdbc/jars/">
+ <include name="postgresql.jar"/>
+ </fileset>
+
+ <!-- server version 5 is the first with XA support, do use anything less.
+ driver versions before 5.0.5 are broken, don't use them either. -->
+ <fileset id="mysql.drivers" dir="/home/jhalli/javastuff/mysql-connector-java-5.0-nightly-20070228/">
+ <include name="mysql-connector-java-5.0-nightly-20070228-bin.jar"/>
+ </fileset>
+
+ <fileset id="ibmdb2.drivers" dir="/home/jhalli/javastuff/db2driver/DB2_v9/">
+ <include name="db2jcc*.jar"/>
+ </fileset>
+
+ <fileset id="sybase.drivers" dir="/home/jhalli/javastuff/jConnect-5_5/classes/">
+ <include name="jconn2.jar"/>
+ </fileset>
+
+ <!-- you should not need to configure anything below here -->
+
+ <path id="database.drivers.path">
+ <fileset refid="oracle.drivers"/>
+ <fileset refid="mssql.drivers"/>
+ <fileset refid="pgsql.drivers"/>
+ <fileset refid="mysql.drivers"/>
+ <fileset refid="ibmdb2.drivers"/>
+ <fileset refid="sybase.drivers"/>
+ </path>
+
+ <property name="org.jboss.jbossts.qa.dist.buildroot" location="build"/>
+
+ <target name="clean">
+ <delete dir="${org.jboss.jbossts.qa.dist.buildroot}"/>
+ <ant dir="tests" antfile="build-${buildtype}.xml" target="clean"/>
+ </target>
+
+ <target name="init">
+ <mkdir dir="${org.jboss.jbossts.qa.dist.buildroot}"/>
+ </target>
+
+ <target name="dist" depends="clean, init">
+
+ <!-- build the test suite -->
+ <ant dir="tests" antfile="build-${buildtype}.xml">
+ <reference refid="database.drivers.path"/>
+ </ant>
+
+ <!-- prepare the content of the qa distribution, which is the product build
+ plus the qa stuff overlayed on it -->
+ <copy todir="${org.jboss.jbossts.qa.dist.buildroot}">
+ <fileset dir="${org.jboss.jbossts.qa.ts.home}"/>
+ </copy>
+ <copy todir="${org.jboss.jbossts.qa.dist.buildroot}/qa/jdbc_profiles">
+ <fileset dir="config/jdbc_profiles"/>
+ </copy>
+ <copy todir="${org.jboss.jbossts.qa.dist.buildroot}/qa/memory_profiles">
+ <fileset dir="config/memory_profiles"/>
+ </copy>
+ <copy todir="${org.jboss.jbossts.qa.dist.buildroot}/qa/lib">
+ <fileset file="${org.jboss.jbossts.qa.testingframework_location}"/>
+ <fileset file="tests/build/jbossts-${buildtype}-qa.jar"/>
+ <fileset refid="oracle.drivers"/>
+ <fileset refid="mssql.drivers"/>
+ <fileset refid="pgsql.drivers"/>
+ <fileset refid="mysql.drivers"/>
+ <fileset refid="ibmdb2.drivers"/>
+ <fileset refid="sybase.drivers"/>
+ </copy>
+ <!-- testing is done with some non-default properties: -->
+ <copy todir="${org.jboss.jbossts.qa.dist.buildroot}/etc" overwrite="true">
+ <fileset file="config/jboss${buildtype}-properties.xml"/>
+ </copy>
+
+ <!-- build the qa distribution installer package -->
+ <zip destfile="${org.jboss.jbossts.qa.dist.buildroot}/jbossts-${buildtype}-qa-distribution.zip"
+ basedir="${org.jboss.jbossts.qa.dist.buildroot}" excludes="jbossts-${buildtype}-qa-distribution.zip"/>
+
+ </target>
+
+</project>
Added: labs/jbosstm/trunk/qa/config/JBossTS_JTA_QA.xml
===================================================================
--- labs/jbosstm/trunk/qa/config/JBossTS_JTA_QA.xml (rev 0)
+++ labs/jbosstm/trunk/qa/config/JBossTS_JTA_QA.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,182 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<product-configuration name="JBossTS_JTA_QA" permutationid="JTAQ">
+
+ <classpath-configurations>
+ <classpath name="main">
+
+ <jar name="$(PRODUCT.DIR)/lib/jbossjta.jar"/>
+
+ <directory name="$(PRODUCT.DIR)/etc/"/>
+ <jar name="$(PRODUCT.DIR)/lib/ext/*.jar"/>
+ <jar name="$(PRODUCT.DIR)/lib/ext/*.zip"/>
+
+ <jar name="$(PRODUCT.DIR)/qa/lib/*.jar"/>
+
+ <jar name="$(DTF_HOME)/lib/ext/fscontext.jar"/>
+ <jar name="$(DTF_HOME)/lib/ext/providerutil.jar"/>
+
+<!--
+ <jar name="$(PRODUCT.DIR)/lib/arjunajta.jar"/>
+ <jar name="$(PRODUCT.DIR)/qa/lib/*.zip"/>
+ <jar name="$(PRODUCT.DIR)/qa/lib/*.jar"/>
+ <jar name="$(DTF_HOME)/lib/*.jar"/>
+ <jar name="$(PRODUCT.DIR)/tests/*.jar"/>
+ <directory name="$(PRODUCT.DIR)/etc/"/>
+ <jar name="$(PRODUCT.DIR)/lib/ext/*.jar"/>
+-->
+ </classpath>
+ </classpath-configurations>
+
+ <node-configurations>
+
+ <node-configuration os="Linux">
+ <properties>
+ <property name="Context.INITIAL_CONTEXT_FACTORY" value="com.sun.jndi.fscontext.RefFSContextFactory"/>
+ <property name="jdbcprofilestore.dir" value="$(PRODUCT.DIR)/qa/jdbc_profiles/"/>
+ <property name="Context.PROVIDER_URL" value="file://$(PRODUCT.DIR)"/>
+ <property name="qa.debug" value="false"/>
+ <property name="performanceprofilestore.dir" value="$(PRODUCT.DIR)/qa/perf_profiles/"/>
+ <property name="com.arjuna.common.util.propertyservice.verbosePropertyManager" value="OFF"/>
+ <property name="com.arjuna.ats.qa.Utils.ServerIORStore.plugin"
+ value="com.arjuna.ats.qa.Utils.DistributedIORStorePlugin"/>
+ <property name="memorytestprofilestore.dir" value="$(PRODUCT.DIR)/qa/memory_profiles/"/>
+ <property name="org.jboss.jbossts.qa.Utils.nameserviceuri" value="//localhost:1099/NameService"/>
+ </properties>
+ <sets>
+ <set name="DTF_HOME" value="/services/DTF/"/>
+ <set name="LOCAL_PARAMETER" value="-local"/>
+ <set name="PRODUCTS_HOME" value="/services/DTF/products"/>
+ <set name="INSTALL.DIR" value="/services/DTF/JBossTS-JTA-QA/"/>
+ <set name="CALLS" value="100"/>
+ <set name="PRODUCT.DIR" value="/services/DTF/JBossTS-JTA-QA/"/>
+ <!-- TODO: should this really be ARJUNAJTS home even thoug it's JTA? -->
+ <set name="ARJUNAJTS_HOME" value="/services/DTF/JBossTS-JTA-QA/"/>
+ </sets>
+ <jvm id="1.4.2"/>
+ <default-classpath name="main"/>
+ <node-exclusions/>
+ </node-configuration>
+ <!--
+ <node-configuration os="Win2K">
+ <properties>
+ <property name="Context.INITIAL_CONTEXT_FACTORY" value="com.sun.jndi.fscontext.RefFSContextFactory"/>
+ <property name="jdbcprofilestore.dir" value="$(PRODUCT.DIR)/qa/jdbc_profiles/"/>
+ <property name="qa.debug" value="true"/>
+ <property name="Context.PROVIDER_URL" value="file://$(PRODUCT.DIR)"/>
+ <property name="performanceprofilestore.dir" value="$(PRODUCT.DIR)/qa/perf_profiles/"/>
+ <property name="com.arjuna.ats.qa.Utils.ServerIORStore.plugin"
+ value="com.arjuna.ats.qa.Utils.DistributedIORStorePlugin"/>
+ <property name="memorytestprofilestore.dir" value="$(PRODUCT.DIR)/qa/memory_profiles/"/>
+ <property name="com.arjuna.ats.qa.Utils.nameserviceuri" value="//dtf:1094/NameService"/>
+ </properties>
+ <sets>
+ <set name="DTF_HOME" value="c:/DTF/"/>
+ <set name="LOCAL_PARAMETER" value="-local"/>
+ <set name="PRODUCTS_HOME" value="c:/DTF/products/"/>
+ <set name="INSTALL.DIR" value="c:/DTF/products/ArjunaJTA-QA/"/>
+ <set name="CALLS" value="100"/>
+ <set name="ARJUNAJTS_HOME" value="c:/DTF/products/ArjunaJTA-QA/install/"/>
+ <set name="PRODUCT.DIR" value="c:/DTF/products/ArjunaJTA-QA/install/"/>
+ </sets>
+ <jvm id="1.4.2"/>
+ <default-classpath name="main"/>
+ <node-exclusions/>
+ </node-configuration>
+ <node-configuration os="SunOS">
+ <properties>
+ <property name="Context.INITIAL_CONTEXT_FACTORY" value="com.sun.jndi.fscontext.RefFSContextFactory"/>
+ <property name="jdbcprofilestore.dir" value="$(PRODUCT.DIR)/qa/jdbc_profiles/"/>
+ <property name="qa.debug" value="false"/>
+ <property name="Context.PROVIDER_URL" value="file://$(PRODUCT.DIR)"/>
+ <property name="performanceprofilestore.dir" value="$(PRODUCT.DIR)/qa/perf_profiles/"/>
+ <property name="com.arjuna.ats.qa.Utils.ServerIORStore.plugin"
+ value="com.arjuna.ats.qa.Utils.DistributedIORStorePlugin"/>
+ <property name="memorytestprofilestore.dir" value="$(PRODUCT.DIR)/qa/memory_profiles/"/>
+ <property name="com.arjuna.ats.qa.Utils.nameserviceuri" value="//dtf:1094/NameService"/>
+ </properties>
+ <sets>
+ <set name="DTF_HOME" value="/DTF/"/>
+ <set name="LOCAL_PARAMETER" value="-local"/>
+ <set name="PRODUCTS_HOME" value="/DTF/products/"/>
+ <set name="INSTALL.DIR" value="/DTF/products/ArjunaJTA-QA/"/>
+ <set name="CALLS" value="100"/>
+ <set name="ARJUNAJTS_HOME" value="/DTF/products/ArjunaJTA-QA/install/"/>
+ <set name="PRODUCT.DIR" value="/DTF/products/ArjunaJTA-QA/install/"/>
+ </sets>
+ <jvm id="1.4.2"/>
+ <default-classpath name="main"/>
+ <node-exclusions/>
+ </node-configuration>
+ <node-configuration os="HPUX">
+ <properties>
+ <property name="Context.INITIAL_CONTEXT_FACTORY" value="com.sun.jndi.fscontext.RefFSContextFactory"/>
+ <property name="jdbcprofilestore.dir" value="$(PRODUCT.DIR)/qa/jdbc_profiles/"/>
+ <property name="Context.PROVIDER_URL" value="file://$(PRODUCT.DIR)"/>
+ <property name="qa.debug" value="true"/>
+ <property name="com.hp.mw.common.util.propertyservice.verbosePropertyManager" value="OFF"/>
+ <property name="performanceprofilestore.dir" value="$(PRODUCT.DIR)/qa/perf_profiles/"/>
+ <property name="com.arjuna.ats.qa.Utils.ServerIORStore.plugin"
+ value="com.arjuna.ats.qa.Utils.DistributedIORStorePlugin"/>
+ <property name="memorytestprofilestore.dir" value="$(PRODUCT.DIR)/qa/memory_profiles/"/>
+ <property name="com.arjuna.ats.qa.Utils.nameserviceuri" value="//dtf:1094/NameService"/>
+ </properties>
+ <sets>
+ <set name="DTF_HOME" value="/home/DTF/"/>
+ <set name="LOCAL_PARAMETER" value="-local"/>
+ <set name="PRODUCTS_HOME" value="/home/DTF/products/"/>
+ <set name="INSTALL.DIR" value="/home/DTF/products/ArjunaJTA-QA/"/>
+ <set name="CALLS" value="100"/>
+ <set name="ARJUNAJTS_HOME" value="/home/DTF/products/ArjunaJTA-QA/install/"/>
+ <set name="PRODUCT.DIR" value="/home/DTF/products/ArjunaJTA-QA/install/"/>
+ </sets>
+ <jvm id="1.4.2"/>
+ <default-classpath name="main"/>
+ <node-exclusions/>
+ </node-configuration>
+ -->
+ </node-configurations>
+
+ <task-runner-definitions>
+ <task-runner name="UnitTestRunner" class="com.arjuna.mwlabs.testframework.testnode.UnitTestTaskRunner"
+ log-to="http://dev31.qa.atl.jboss.com:8080/dtf/">
+ <param name="pass_on_wait_for" value="true"/>
+ <param name="fail_indicator" value="Failed"/>
+ <param name="wait_for_text" value="Ready"/>
+ <param name="pass_indicator" value="Passed"/>
+ </task-runner>
+ <task-runner name="ServiceRunner" class="com.arjuna.mwlabs.testframework.testnode.JavaTaskRunner"
+ log-to="http://dev31.qa.atl.jboss.com:8080/dtf/">
+ <param name="pass_on_wait_for" value="true"/>
+ <param name="fail_indicator" value="Failed"/>
+ <param name="wait_for_text" value="Ready"/>
+ <param name="pass_indicator" value="Passed"/>
+ </task-runner>
+ <task-runner name="JavaTaskRunner" class="com.arjuna.mwlabs.testframework.testnode.JavaTaskRunner"
+ log-to="http://dev31.qa.atl.jboss.com:8080/dtf/">
+ <param name="pass_on_wait_for" value="true"/>
+ <param name="fail_indicator" value="Failed"/>
+ <param name="wait_for_text" value="Ready"/>
+ <param name="pass_indicator" value="Passed"/>
+ </task-runner>
+ </task-runner-definitions>
+</product-configuration>
Added: labs/jbosstm/trunk/qa/config/JBossTS_JTS_JacORB_QA.xml
===================================================================
--- labs/jbosstm/trunk/qa/config/JBossTS_JTS_JacORB_QA.xml (rev 0)
+++ labs/jbosstm/trunk/qa/config/JBossTS_JTS_JacORB_QA.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,192 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<product-configuration name="JBossTS_JTS_JacORB_QA" permutationid="AJQ">
+
+ <classpath-configurations>
+ <classpath name="main">
+ <jar name="$(PRODUCT.DIR)/lib/jbossjts.jar"/>
+ <jar name="$(PRODUCT.DIR)/lib/jbossjts-jacorb.jar"/>
+ <directory name="$(PRODUCT.DIR)/etc/"/>
+ <jar name="$(PRODUCT.DIR)/lib/ext/*.jar"/>
+ <jar name="$(PRODUCT.DIR)/lib/ext/*.zip"/>
+
+ <jar name="$(PRODUCT.DIR)/qa/lib/*.jar"/>
+
+ <jar name="$(ORB_HOME)/lib/*.jar"/>
+
+ <jar name="$(DTF_HOME)/lib/ext/fscontext.jar"/>
+ <jar name="$(DTF_HOME)/lib/ext/providerutil.jar"/>
+
+
+ <!-- These are no longer required:
+ <jar name="$(ORB_HOME)/lib/avalon-framework-4.1.5.jar"/>
+ <jar name="$(ORB_HOME)/lib/logkit-1.2.jar"/>
+ <jar name="$(ORB_HOME)/lib/logkit.jar"/>
+ <jar name="$(ORB_HOME)/lib/jacorb.jar"/>
+ <jar name="$(DTF_HOME)/lib/*.jar"/>
+ <jar name="$(PRODUCT.DIR)/qa/lib/*.zip"/>
+ <jar name="$(PRODUCT.DIR)/tests/*.jar"/>
+ -->
+ </classpath>
+ </classpath-configurations>
+
+ <node-configurations>
+
+ <node-configuration os="Linux">
+ <properties>
+ <property name="Context.INITIAL_CONTEXT_FACTORY" value="com.sun.jndi.fscontext.RefFSContextFactory"/>
+ <property name="jdbcprofilestore.dir" value="$(PRODUCT.DIR)/qa/jdbc_profiles"/>
+ <property name="Context.PROVIDER_URL" value="file://$(PRODUCT.DIR)"/>
+ <property name="qa.debug" value="true"/>
+ <property name="performanceprofilestore.dir" value="$(PRODUCT.DIR)/qa/perf_profiles/"/>
+ <property name="com.arjuna.ats.jta.jtaTMImplementation"
+ value="com.arjuna.ats.internal.jta.transaction.jts.TransactionManagerImple"/>
+ <!-- TODO fix me - pkg changes, both sides? -->
+ <property name="org.jboss.jbossts.qa.Utils.ServerIORStore.plugin"
+ value="org.jboss.jbossts.qa.Utils.DistributedIORStorePlugin"/>
+ <property name="memorytestprofilestore.dir" value="$(PRODUCT.DIR)/qa/memory_profiles/"/>
+ <property name="org.jboss.jbossts.qa.Utils.nameserviceuri" value="//localhost:1099/NameService"/>
+ </properties>
+ <sets>
+ <set name="DTF_HOME" value="/services/DTF"/>
+ <set name="PRODUCTS_HOME" value="/services/DTF/products"/>
+ <set name="INSTALL.DIR" value="/services/DTF/JBossTS-JTS-JacORB-QA/"/>
+ <set name="ORB_HOME" value="/services/DTF/JBossTS-JTS-JacORB-QA/jacorb/"/>
+ <set name="CALLS" value="1000"/>
+ <set name="PRODUCT.DIR" value="/services/DTF/JBossTS-JTS-JacORB-QA/"/>
+ <set name="ARJUNAJTS_HOME" value="/services/DTF/JBossTS-JTS-JacORB-QA/"/>
+ </sets>
+ <jvm id="1.4.2"/>
+ <default-classpath name="main"/>
+ <node-exclusions/>
+ </node-configuration>
+<!--
+ <node-configuration os="Win2K">
+ <properties>
+ <property name="Context.INITIAL_CONTEXT_FACTORY" value="com.sun.jndi.fscontext.RefFSContextFactory"/>
+ <property name="jdbcprofilestore.dir" value="$(PRODUCT.DIR)/qa/jdbc_profiles"/>
+ <property name="Context.PROVIDER_URL" value="file://$(PRODUCT.DIR)"/>
+ <property name="qa.debug" value="true"/>
+ <property name="performanceprofilestore.dir" value="$(PRODUCT.DIR)/qa/perf_profiles/"/>
+ <property name="com.arjuna.ats.jta.jtaTMImplementation"
+ value="com.arjuna.ats.internal.jta.transaction.jts.TransactionManagerImple"/>
+ <property name="com.arjuna.ats.qa.Utils.ServerIORStore.plugin"
+ value="com.arjuna.ats.qa.Utils.DistributedIORStorePlugin"/>
+ <property name="memorytestprofilestore.dir" value="$(PRODUCT.DIR)/qa/memory_profiles/"/>
+ <property name="com.arjuna.ats.qa.Utils.nameserviceuri" value="//localhost:1099/NameService"/>
+ </properties>
+ <sets>
+ <set name="DTF_HOME" value="C:/DTF/"/>
+ <set name="PRODUCTS_HOME" value="C:/DTF/products"/>
+ <set name="INSTALL.DIR" value="C:/DTF/products/ArjunaJTS-JacORB-QA/"/>
+ <set name="ORB_HOME" value="C:/DTF/products/ArjunaJTS-JacORB-QA/install/jacorb_2_1/"/>
+ <set name="CALLS" value="1000"/>
+ <set name="ARJUNAJTS_HOME" value="C:/DTF/products/ArjunaJTS-JacORB-QA/install/"/>
+ <set name="PRODUCT.DIR" value="C:/DTF/products/ArjunaJTS-JacORB-QA/install/"/>
+ </sets>
+ <jvm id="1.4.2"/>
+ <default-classpath name="main"/>
+ <node-exclusions/>
+ </node-configuration>
+
+ <node-configuration os="SunOS">
+ <properties>
+ <property name="Context.INITIAL_CONTEXT_FACTORY" value="com.sun.jndi.fscontext.RefFSContextFactory"/>
+ <property name="jdbcprofilestore.dir" value="$(PRODUCT.DIR)/qa/jdbc_profiles"/>
+ <property name="Context.PROVIDER_URL" value="file://$(PRODUCT.DIR)"/>
+ <property name="qa.debug" value="true"/>
+ <property name="performanceprofilestore.dir" value="$(PRODUCT.DIR)/qa/perf_profiles/"/>
+ <property name="com.arjuna.ats.jta.jtaTMImplementation"
+ value="com.arjuna.ats.internal.jta.transaction.jts.TransactionManagerImple"/>
+ <property name="com.arjuna.ats.qa.Utils.ServerIORStore.plugin"
+ value="com.arjuna.ats.qa.Utils.DistributedIORStorePlugin"/>
+ <property name="memorytestprofilestore.dir" value="$(PRODUCT.DIR)/qa/memory_profiles/"/>
+ <property name="com.arjuna.ats.qa.Utils.nameserviceuri" value="//dtf:1094/NameService"/>
+ </properties>
+ <sets>
+ <set name="DTF_HOME" value="/DTF/"/>
+ <set name="PRODUCTS_HOME" value="/DTF/products"/>
+ <set name="INSTALL.DIR" value="/DTF/products/ArjunaJTS-JacORB-QA/"/>
+ <set name="ORB_HOME" value="/DTF/products/ArjunaJTS-JacORB-QA/install/jacorb_2_1/"/>
+ <set name="CALLS" value="1000"/>
+ <set name="PRODUCT.DIR" value="/DTF/products/ArjunaJTS-JacORB-QA/install/"/>
+ <set name="ARJUNAJTS_HOME" value="/DTF/products/ArjunaJTS-JacORB-QA/install/"/>
+ </sets>
+ <jvm id="1.4.2"/>
+ <default-classpath name="main"/>
+ <node-exclusions/>
+ </node-configuration>
+
+ <node-configuration os="HPUX">
+ <properties>
+ <property name="Context.INITIAL_CONTEXT_FACTORY" value="com.sun.jndi.fscontext.RefFSContextFactory"/>
+ <property name="jdbcprofilestore.dir" value="$(PRODUCT.DIR)/qa/jdbc_profiles"/>
+ <property name="Context.PROVIDER_URL" value="file://$(PRODUCT.DIR)"/>
+ <property name="qa.debug" value="true"/>
+ <property name="performanceprofilestore.dir" value="$(PRODUCT.DIR)/qa/perf_profiles/"/>
+ <property name="com.arjuna.ats.jta.jtaTMImplementation"
+ value="com.arjuna.ats.internal.jta.transaction.jts.TransactionManagerImple"/>
+ <property name="com.arjuna.ats.qa.Utils.ServerIORStore.plugin"
+ value="com.arjuna.ats.qa.Utils.DistributedIORStorePlugin"/>
+ <property name="memorytestprofilestore.dir" value="$(PRODUCT.DIR)/qa/memory_profiles/"/>
+ <property name="com.arjuna.ats.qa.Utils.nameserviceuri" value="//dtf:1094/NameService"/>
+ </properties>
+ <sets>
+ <set name="DTF_HOME" value="/home/DTF/"/>
+ <set name="PRODUCTS_HOME" value="/home/DTF/products"/>
+ <set name="INSTALL.DIR" value="/home/DTF/products/ArjunaJTS-JacORB-QA/"/>
+ <set name="ORB_HOME" value="/home/DTF/products/ArjunaJTS-JacORB-QA/install/jacorb_2_1/"/>
+ <set name="CALLS" value="1000"/>
+ <set name="ARJUNAJTS_HOME" value="/home/DTF/products/ArjunaJTS-JacORB-QA/install/"/>
+ <set name="PRODUCT.DIR" value="/home/DTF/products/ArjunaJTS-JacORB-QA/install/"/>
+ </sets>
+ <jvm id="1.4.2"/>
+ <default-classpath name="main"/>
+ <node-exclusions/>
+ </node-configuration>
+-->
+ </node-configurations>
+
+ <task-runner-definitions>
+ <task-runner name="UnitTestRunner" class="com.arjuna.mwlabs.testframework.testnode.UnitTestTaskRunner"
+ log-to="http://dev31.qa.atl.jboss.com:8080/dtf/">
+ <param name="pass_on_wait_for" value="true"/>
+ <param name="fail_indicator" value="Failed"/>
+ <param name="pass_indicator" value="Passed"/>
+ </task-runner>
+ <task-runner name="ServiceRunner" class="com.arjuna.mwlabs.testframework.testnode.JavaTaskRunner"
+ log-to="http://dev31.qa.atl.jboss.com:8080/dtf/">
+ <param name="pass_on_wait_for" value="true"/>
+ <param name="fail_indicator" value="Failed"/>
+ <param name="wait_for_text" value="Ready"/>
+ <param name="pass_indicator" value="Passed"/>
+ </task-runner>
+ <task-runner name="JavaTaskRunner" class="com.arjuna.mwlabs.testframework.testnode.JavaTaskRunner"
+ log-to="http://dev31.qa.atl.jboss.com:8080/dtf/">
+ <param name="pass_on_wait_for" value="true"/>
+ <param name="fail_indicator" value="Failed"/>
+ <param name="wait_for_text" value="Ready"/>
+ <param name="pass_indicator" value="Passed"/>
+ </task-runner>
+ </task-runner-definitions>
+
+</product-configuration>
Added: labs/jbosstm/trunk/qa/config/jbossjts-properties.xml
===================================================================
--- labs/jbosstm/trunk/qa/config/jbossjts-properties.xml (rev 0)
+++ labs/jbosstm/trunk/qa/config/jbossjts-properties.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,406 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+
+<!-- This is the jbossts-qa version of the properties file. It should get copied over
+ the top of the default one from the product build by the jbossts-qa build process. -->
+
+<transaction-service>
+ <properties depends="common" name="arjuna">
+ <!--
+ Transaction Reaper Timeout (default is 120000 ms).
+ -->
+ <property
+ name="com.arjuna.ats.arjuna.coordinator.txReaperTimeout" value="1000"/>
+ <property name="com.arjuna.ats.arjuna.coordinator.maintainHeuristics" value="NO"/>
+ <!--
+ Transaction Reaper Mode, can be: NORMAL or DYNAMIC (default is NORMAL).
+ -->
+ <property name="com.arjuna.ats.arjuna.coordinator.txReaperMode" value="NORMAL"/>
+ <!--
+ (default is NO)
+ -->
+ <property name="com.arjuna.ats.arjuna.coordinator.asyncCommit" value="NO"/>
+ <!--
+ (default is NO)
+ -->
+ <property name="com.arjuna.ats.arjuna.coordinator.asyncPrepare" value="NO"/>
+ <!--
+ (default is YES)
+ -->
+ <property
+ name="com.arjuna.ats.arjuna.coordinator.commitOnePhase" value="YES"/>
+ <!--
+ (default is defaultStore)
+ -->
+ <property name="com.arjuna.ats.arjuna.objectstore.localOSRoot" value="defaultStore"/>
+ <!--
+ default is under user.home - must be writeable!)
+ -->
+ <property
+ name="com.arjuna.ats.arjuna.objectstore.objectStoreDir" value="PutObjectStoreDirHere"/>
+ <!--
+ (default is ON)
+ -->
+ <property
+ name="com.arjuna.ats.arjuna.objectstore.objectStoreSync" value="ON"/>
+ <!--
+ (default is ShadowNoFileLockStore)
+ -->
+ <property
+ name="com.arjuna.ats.arjuna.objectstore.objectStoreType" value="ShadowNoFileLockStore"/>
+ <!--
+ (default is 255)
+ -->
+ <property
+ name="com.arjuna.ats.arjuna.objectstore.hashedDirectories" value="255"/>
+ <!--
+ (default is ON)
+ -->
+ <property
+ name="com.arjuna.ats.arjuna.objectstore.transactionSync" value="ON"/>
+ <!--
+ (Must be unique across all Arjuna instances.)
+ -->
+ <property name="com.arjuna.ats.arjuna.xa.nodeIdentifier" value="1"/>
+ <!-- property
+ name="com.arjuna.ats.arjuna.coordinator.actionStore"
+ value="HashedActionStore"
+ value="JDBCActionStore"
+ -->
+ <!-- property
+ name="com.arjuna.ats.arjuna.objectstore.jdbcTxDbAccess"
+ value="JDBCAccess"
+ -->
+ <!-- property
+ name="com.arjuna.ats.arjuna.objectstore.objectStoreType"
+ value="ShadowNoFileLockStore"
+ value="JDBCStore"
+ -->
+ <!-- property
+ name="com.arjuna.ats.arjuna.objectstore.jdbcUserDbAccess"
+ value="JDBCAccess"
+ -->
+ <!-- property
+ name="com.arjuna.ats.arjuna.objectstore.jdbcPoolSizeInitial"
+ value="1"
+ -->
+ <!-- property
+ name="com.arjuna.ats.arjuna.objectstore.jdbcPoolSizeMaximum"
+ value="1"
+ -->
+ <!-- property
+ name="com.arjuna.ats.arjuna.objectstore.jdbcPoolPutConnections"
+ value="false"
+ -->
+ <!-- property
+ name="com.arjuna.ats.arjuna.internal.arjuna.objectstore.cacheStore.size"
+ value=""
+ -->
+ <!-- property
+ name="com.arjuna.ats.arjuna.internal.arjuna.objectstore.cacheStore.period"
+ value=""
+ -->
+ <!--
+ The location for creating temporary files, e.g., Uids.
+ Default is under user.home.
+ IMPORTANT: make sure the directory is lockable, e.g., /tmp on Unix
+ may not be!
+ -->
+ <!--
+ <property
+ name="com.arjuna.ats.arjuna.common.varDir"
+ value="var"/>
+ -->
+ </properties>
+ <properties name="common">
+ <!-- CLF 2.0 properties -->
+ <property name="com.arjuna.common.util.logging.DebugLevel"
+ type="System" value="0x00000000"/>
+ <property name="com.arjuna.common.util.logging.FacilityLevel"
+ type="System" value="0xffffffff"/>
+ <property name="com.arjuna.common.util.logging.VisibilityLevel"
+ type="System" value="0xffffffff"/>
+ <property name="com.arjuna.common.util.logger" type="System" value="log4j"/>
+ </properties>
+ <properties depends="arjuna" name="txoj">
+ <!--
+ (default is LockStore of installation - must be writeable!)
+ -->
+ <!--
+ <property
+ name="com.arjuna.ats.txoj.lockstore.lockStoreDir"
+ value="LockStore"/>
+ -->
+ <!--
+ (default is BasicLockStore)
+ -->
+ <property name="com.arjuna.ats.txoj.lockstore.lockStoreType" value="BasicLockStore"/>
+ <!--
+ (default is NO)
+ -->
+ <property name="com.arjuna.ats.txoj.lockstore.multipleLockStore" value="NO"/>
+ <!--
+ (default is YES)
+ -->
+ <property name="com.arjuna.ats.txoj.lockstore.singleLockStore" value="YES"/>
+ <!--
+ (default is YES)
+ -->
+ <property
+ name="com.arjuna.ats.txoj.lockstore.allowNestedLocking" value="YES"/>
+ </properties>
+ <properties depends="jts" name="jta">
+ <!--
+ Support subtransactions in the JTA layer?
+ Default is NO.
+ -->
+ <property name="com.arjuna.ats.jta.supportSubtransactions" value="NO"/>
+ <property name="com.arjuna.ats.jta.jtaTMImplementation" value="com.arjuna.ats.internal.jta.transaction.jts.TransactionManagerImple"/>
+ <!--
+ com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionManagerImple
+ -->
+ <property name="com.arjuna.ats.jta.jtaUTImplementation" value="com.arjuna.ats.internal.jta.transaction.jts.UserTransactionImple"/>
+ <!--
+ com.arjuna.ats.internal.jta.transaction.arjunacore.UserTransactionImple
+ -->
+ </properties>
+ <properties depends="jta" name="jdbc">
+ <property name="com.arjuna.ats.jdbc.isolationLevel" value="TRANSACTION_READ_COMMITTED"/>
+ <!--
+ property name="com.arjuna.ats.jdbc.isolationLevel" value="TRANSACTION_SERIALIZABLE"/>
+ -->
+ </properties>
+ <properties depends="common" name="orbportability">
+ <property name="com.arjuna.orbportability.bindMechanism" value="CONFIGURATION_FILE"/>
+ <!--
+ The location of initial references file (default is user.home)
+ -->
+ <!--
+ <property
+ name="com.arjuna.orbportability.initialReferencesRoot"
+ value=""/>
+ -->
+ <!--
+ The name of the initial references file (default is CosServices.cfg)
+ -->
+ <property name="com.arjuna.orbportability.initialReferencesFile" value="CosServices.cfg"/>
+ <!--
+ When reading and writing IORs, they can be read/written in this
+ directory. (default is serviceName)
+ -->
+ <!--
+ <property
+ name="com.arjuna.orbportability.fileDir"
+ value=""/>
+ -->
+ <!--
+ Default resolution service for the Transaction Manager Server.
+ ORB specific.
+ -->
+ <!--
+ <property
+ name="com.arjuna.orbportability.resolveService"
+ value=""/>
+ -->
+ <!--
+ Event handlers.
+ -->
+ <!--
+ <property
+ name="com.arjuna.orbportability.eventHandler_0"
+ value=""/>
+ <property
+ name="com.arjuna.orbportability.eventHandler_1"
+ value=""/>
+ -->
+ <!--
+ The ORB implementation class - this defaults to the class which
+ implements support for the first supported ORB in your classpath.
+ -->
+ <!--
+ <property
+ name="com.arjuna.orbportability.orbImplementation"
+ value=""/>
+ -->
+ <!--
+ The OA implementation class - this also defaults to the class which
+ implements support for the first supported ORB in your classpath
+ -->
+ <!--
+ <property
+ name="com.arjuna.orbportability.oaImplementation"
+ value=""/>
+ -->
+ <!--
+ This class handles context propagation issues, and should never
+ be commented out or removed.
+ -->
+ <property name="com.arjuna.orbportability.orb.PreInit1" value="com.arjuna.ats.internal.jts.context.ContextPropagationManager"/>
+ <!--
+ This property ensures the JTS knows which ORB to use and should never
+ be commented out or removed
+ -->
+ <property name="com.arjuna.orbportability.orb.PostInit1" value="com.arjuna.ats.jts.utils.ORBSetup"/>
+ <!--
+ This property ensures the crash recovery is initialised correctly and
+ should never be commented out or removed
+ -->
+ <property name="com.arjuna.orbportability.orb.PostInit2" value="com.arjuna.ats.internal.jts.recovery.RecoveryInit"/>
+ <!--
+ This property ensures the JTS knows which ORB to use and should never
+ be commented out or removed
+ -->
+ <property name="com.arjuna.orbportability.orb.PostSet1" value="com.arjuna.ats.jts.utils.ORBSetup"/>
+ <!--
+ This property ensures the JTS knows which ORB to use and should never
+ be commented out or removed
+ -->
+ <property name="com.arjuna.orbportability.orb.PostSet2" value="com.arjuna.ats.internal.jts.recovery.RecoveryInit"/>
+ <!--
+ This property controls the port on which the Recovery ORB listens
+ -->
+ <property name="com.arjuna.ats.jts.recoveryManagerPort" value="4711"/>
+ </properties>
+ <properties depends="orbportability,arjuna" name="jts">
+ <!--
+ (default is NO)
+ -->
+ <property name="com.arjuna.ats.jts.transactionManager" value="NO"/>
+ <!--
+ (default is NO)
+ -->
+ <property name="com.arjuna.ats.jts.needTranContext" value="NO"/>
+ <!--
+ (default is NO)
+ -->
+ <property name="com.arjuna.ats.jts.alwaysPropagateContext" value="NO"/>
+ <!--
+ (default is NO)
+ -->
+ <property name="com.arjuna.ats.jts.checkedTransactions" value="NO"/>
+ <!--
+ (default is YES)
+ -->
+ <property name="com.arjuna.ats.jts.supportSubtransactions" value="YES"/>
+ <!--
+ (default is YES)
+ -->
+ <property name="com.arjuna.ats.jts.supportRollbackSync" value="YES"/>
+ <!--
+ (default is NO)
+ -->
+ <property
+ name="com.arjuna.ats.jts.supportInterposedSynchronization" value="NO"/>
+ <!--
+ Timeout in seconds to use for top-level transaction if 0 specified.
+ (default is no timeout)
+ -->
+ <!---
+ <property
+ name="com.arjuna.ats.jts.defaultTimeout"
+ value=""/>
+ -->
+ <!--
+ Propagate the context? (default is INTERPOSITION)
+ -->
+ <property name="com.arjuna.ats.jts.contextPropMode" value="INTERPOSITION"/>
+ </properties>
+ <properties depends="arjuna,txoj,jts" name="recoverymanager">
+ <!--
+ Properties used only by the RecoveryManager.
+ -->
+ <!--
+ Periodic recovery settings.
+ Time values in this section are in seconds.
+ -->
+ <!--
+ Interval in seconds between initiating the periodic recovery modules.
+ Default is 120 seconds.
+ -->
+ <property
+ name="com.arjuna.ats.arjuna.recovery.periodicRecoveryPeriod" value="10"/>
+ <!--
+ Interval in seconds between first and second pass of periodic recovery.
+ Default is 10 seconds.
+ -->
+ <property
+ name="com.arjuna.ats.arjuna.recovery.recoveryBackoffPeriod" value="5"/>
+ <!--
+ Periodic recovery modules to use. Invoked in sort-order of names.
+ -->
+ <property
+ name="com.arjuna.ats.arjuna.recovery.recoveryExtension1" value="com.arjuna.ats.internal.arjuna.recovery.AtomicActionRecoveryModule"/>
+ <property
+ name="com.arjuna.ats.arjuna.recovery.recoveryExtension2" value="com.arjuna.ats.internal.txoj.recovery.TORecoveryModule"/>
+ <property
+ name="com.arjuna.ats.arjuna.recovery.recoveryExtension3" value="com.arjuna.ats.internal.jts.recovery.transactions.TopLevelTransactionRecoveryModule"/>
+ <property
+ name="com.arjuna.ats.arjuna.recovery.recoveryExtension4" value="com.arjuna.ats.internal.jts.recovery.transactions.ServerTransactionRecoveryModule"/>
+ <property
+ name="com.arjuna.ats.arjuna.recovery.recoveryExtension5" value="com.arjuna.ats.internal.jta.recovery.arjunacore.XARecoveryModule"/>
+ <property
+ name="com.arjuna.ats.arjuna.recovery.recoveryExtension6" value="com.arjuna.ats.internal.jta.recovery.jts.XARecoveryModule"/>
+ <!--
+ Recovery Activator to use.
+ -->
+ <property
+ name="com.arjuna.ats.arjuna.recovery.recoveryActivator_1" value="com.arjuna.ats.internal.jts.orbspecific.recovery.RecoveryEnablement"/>
+ <!--
+ Expired entry removal
+ -->
+ <!--
+ Expiry scanners to use (order of invocation is random).
+ Names must begin with "com.arjuna.ats.arjuna.recovery.expiryScanner"
+ -->
+ <property
+ name="com.arjuna.ats.arjuna.recovery.expiryScannerTransactionStatusManager" value="com.arjuna.ats.internal.arjuna.recovery.ExpiredTransactionStatusManagerScanner"/>
+ <property
+ name="com.arjuna.ats.arjuna.recovery.expiryScannerContact" value="com.arjuna.ats.internal.jts.recovery.contact.ExpiredContactScanner"/>
+ <property
+ name="com.arjuna.ats.arjuna.recovery.expiryScannerTopLevelTran" value="com.arjuna.ats.internal.jts.recovery.transactions.ExpiredToplevelScanner"/>
+ <property
+ name="com.arjuna.ats.arjuna.recovery.expiryScannerServerTran" value="com.arjuna.ats.internal.jts.recovery.transactions.ExpiredServerScanner"/>
+ <!--
+ Interval, in hours, between running the expiry scanners.
+ This can be quite long. The absolute value determines the interval -
+ if the value is negative, the scan will NOT be run until after one
+ interval has elapsed. If positive the first scan will be immediately
+ after startup. Zero will prevent any scanning.
+ Default = 12 = run immediately, then every 12 hours.
+ -->
+ <property
+ name="com.arjuna.ats.arjuna.recovery.expiryScanInterval" value="12"/>
+ <!--
+ Age, in hours, for removal of transaction status manager item.
+ This should be longer than any ts-using process will remain running.
+ Zero = Never removed. Default is 12.
+ -->
+ <property
+ name="com.arjuna.ats.arjuna.recovery.transactionStatusManagerExpiryTime" value="12"/>
+ <!--
+ Use this to fix the port on which the TransactionStatusManager listens,
+ The default behaviour is to use any free port.
+ -->
+ <property
+ name="com.arjuna.ats.arjuna.recovery.transactionStatusManagerPort" value="0"/>
+ </properties>
+</transaction-service>
Added: labs/jbosstm/trunk/qa/config/jbossts-jta-qa-install.xml
===================================================================
--- labs/jbosstm/trunk/qa/config/jbossts-jta-qa-install.xml (rev 0)
+++ labs/jbosstm/trunk/qa/config/jbossts-jta-qa-install.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,29 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<project name="JBossTS-JTA-QA-installer" default="install">
+ <target name="install">
+ <delete dir="${INSTALL.DIR}"/>
+ <mkdir dir="${INSTALL.DIR}"/>
+ <get src="http://dev31.qa.atl.jboss.com:8080/dtf/productbuilds/jbossts-jta-qa-distribution.zip"
+ dest="${INSTALL.DIR}/jbossts-jta-qa-distribution.zip"/>
+ <unzip src="${INSTALL.DIR}/jbossts-jta-qa-distribution.zip" dest="${INSTALL.DIR}"/>
+ </target>
+</project>
\ No newline at end of file
Added: labs/jbosstm/trunk/qa/config/jbossts-jts-qa-install.xml
===================================================================
--- labs/jbosstm/trunk/qa/config/jbossts-jts-qa-install.xml (rev 0)
+++ labs/jbosstm/trunk/qa/config/jbossts-jts-qa-install.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,31 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<project name="JBossTS-JTS-QA-installer" default="install">
+ <target name="install">
+ <!-- Install location directory is INSTALL.DIR -->
+ <!-- Copy the product and unzip it -->
+ <delete dir="${INSTALL.DIR}"/>
+ <mkdir dir="${INSTALL.DIR}"/>
+ <get src="http://dev31.qa.atl.jboss.com:8080/dtf/productbuilds/jbossts-jts-qa-distribution.zip"
+ dest="${INSTALL.DIR}/jbossts-jts-qa-distribution.zip"/>
+ <unzip src="${INSTALL.DIR}/jbossts-jts-qa-distribution.zip" dest="${INSTALL.DIR}"/>
+ </target>
+</project>
Added: labs/jbosstm/trunk/qa/config/jdbc_profiles/_template/JDBCProfiles
===================================================================
--- labs/jbosstm/trunk/qa/config/jdbc_profiles/_template/JDBCProfiles (rev 0)
+++ labs/jbosstm/trunk/qa/config/jdbc_profiles/_template/JDBCProfiles 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,335 @@
+#
+# JBoss, Home of Professional Open Source
+# Copyright 2006, Red Hat Middleware LLC, and individual contributors
+# as indicated by the @author tags.
+# 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.
+#
+# (C) 2005-2006,
+# @author JBoss Inc.
+
+
+#JDBC profile
+######################################################################
+# Oracle JNDI Pair
+######################################################################
+
+# DB1
+
+DB1_JNDI_NumberOfDrivers=2
+DB1_JNDI_Driver1=com.arjuna.ats.jdbc.TransactionalDriver
+DB1_JNDI_Driver0=com.merant.sequelink.jdbc.SequeLinkDriver
+DB1_JNDI_Binding=merant_oracle_jndi1
+DB1_JNDI_DatabaseURL=jdbc\:arjuna:reuseconnection=true\:merant_oracle_jndi1
+DB1_JNDI_DatabaseUser=VMWARE011
+DB1_JNDI_DatabasePassword=vmware011
+DB1_JNDI_DatabaseName=empay
+DB1_JNDI_Host=xxmerant_oracle_hostxx
+DB1_JNDI_Port=20000
+
+# DB2
+
+DB2_JNDI_NumberOfDrivers=2
+DB2_JNDI_Driver1=com.arjuna.ats.jdbc.TransactionalDriver
+DB2_JNDI_Driver0=com.merant.sequelink.jdbc.SequeLinkDriver
+DB2_JNDI_Binding=merant_oracle_jndi2
+DB2_JNDI_DatabaseURL=jdbc\:arjuna:reuseconnection=true\:merant_oracle_jndi2
+DB2_JNDI_DatabaseUser=VMWARE012
+DB2_JNDI_DatabasePassword=vmware012
+DB2_JNDI_DatabaseName=empay
+DB2_JNDI_Host=xxmerant_oracle_hostxx
+DB2_JNDI_Port=20001
+
+##########################################################################
+# MSSQL Server JNDI Profile
+##########################################################################
+
+DB_SQL_JNDI_NumberOfDrivers=2
+DB_SQL_JNDI_Driver1=com.arjuna.ats.jdbc.TransactionalDriver
+DB_SQL_JNDI_Driver0=com.microsoft.jdbc.sqlserver.SQLServerDriver
+DB_SQL_JNDI_Binding=sqlserver_jndi
+DB_SQL_JNDI_DatabaseURL=jdbc\:arjuna\:sqlserver_jndi
+DB_SQL_JNDI_DatabaseUser=VMWARE011
+DB_SQL_JNDI_DatabasePassword=vmware011
+DB_SQL_JNDI_DatabaseName=dtf
+DB_SQL_JNDI_Host=vmware02
+DB_SQL_JNDI_Port=1433
+
+######################################################################
+# MSSQL Server JNDI Pair
+######################################################################
+
+# DB1
+
+DB_SQL1_JNDI_NumberOfDrivers=2
+DB_SQL1_JNDI_Driver1=com.arjuna.ats.jdbc.TransactionalDriver
+DB_SQL1_JNDI_Driver0=com.microsoft.jdbc.sqlserver.SQLServerDriver
+DB_SQL1_JNDI_Binding=sqlserver_jndi1
+DB_SQL1_JNDI_DatabaseURL=jdbc\:arjuna\:sqlserver_jndi1
+DB_SQL1_JNDI_DatabaseUser=VMWARE011
+DB_SQL1_JNDI_DatabasePassword=vmware011
+DB_SQL1_JNDI_DatabaseName=dtf
+DB_SQL1_JNDI_Host=vmware02
+DB_SQL1_JNDI_Port=1433
+
+# DB2
+
+DB_SQL2_JNDI_NumberOfDrivers=2
+DB_SQL2_JNDI_Driver1=com.arjuna.ats.jdbc.TransactionalDriver
+DB_SQL2_JNDI_Driver0=com.microsoft.jdbc.sqlserver.SQLServerDriver
+DB_SQL2_JNDI_Binding=sqlserver_jndi2
+DB_SQL2_JNDI_DatabaseURL=jdbc\:arjuna\:sqlserver_jndi2
+DB_SQL2_JNDI_DatabaseUser=VMWARE012
+DB_SQL2_JNDI_DatabasePassword=vmware012
+DB_SQL2_JNDI_DatabaseName=dtf
+DB_SQL2_JNDI_Host=vmware02
+DB_SQL2_JNDI_Port=1433
+
+#################### Oracle thin #############################################
+#
+# Single DB
+##########################################################################
+
+THIN_DB_NumberOfDrivers=2
+THIN_DB_Driver0=oracle.jdbc.driver.OracleDriver
+THIN_DB_Driver1=com.arjuna.ats.jdbc.TransactionalDriver
+THIN_DB_DatabaseURL=jdbc:arjuna:oracle:thin:@xxoracle_thin_hostxx:1521:empay
+THIN_DB_DatabaseUser=VMWARE011
+THIN_DB_DatabasePassword=vmware011
+THIN_DB_DatabaseDynamicClass=com.arjuna.JDBC2.drivers.oracle_8_1_6
+
+
+##########################################################################
+# Oracle DB Pair
+##########################################################################
+
+# DB 1
+
+THIN_DB1_NumberOfDrivers=2
+THIN_DB1_Driver0=oracle.jdbc.driver.OracleDriver
+THIN_DB1_Driver1=com.arjuna.ats.jdbc.TransactionalDriver
+THIN_DB1_DatabaseURL=jdbc:arjuna:oracle:thin:@xxoracle_thin_hostxx:1521:empay
+THIN_DB1_DatabaseUser=VMWARE011
+THIN_DB1_DatabasePassword=vmware011
+THIN_DB1_DatabaseDynamicClass=com.arjuna.JDBC2.drivers.oracle_8_1_6
+
+# DB 2
+
+THIN_DB2_NumberOfDrivers=2
+THIN_DB2_Driver0=oracle.jdbc.driver.OracleDriver
+THIN_DB2_Driver1=com.arjuna.ats.jdbc.TransactionalDriver
+THIN_DB2_DatabaseURL=jdbc:arjuna:oracle:thin:@xxoracle_thin_hostxx:1521:empay
+THIN_DB2_DatabaseUser=VMWARE012
+THIN_DB2_DatabasePassword=vmware012
+THIN_DB2_DatabaseDynamicClass=com.arjuna.JDBC2.drivers.oracle_8_1_6
+
+##########################################################################
+# Oracle thin JNDI Profile
+##########################################################################
+
+DB_THIN_JNDI_NumberOfDrivers=2
+DB_THIN_JNDI_Driver0=oracle.jdbc.driver.OracleDriver
+DB_THIN_JNDI_Driver1=com.arjuna.ats.jdbc.TransactionalDriver
+DB_THIN_JNDI_Binding=oracle_thin
+DB_THIN_JNDI_DatabaseURL=jdbc:arjuna:oracle_thin
+DB_THIN_JNDI_DatabaseUser=VMWARE011
+DB_THIN_JNDI_DatabasePassword=vmware011
+DB_THIN_JNDI_DatabaseName=hunnin
+DB_THIN_JNDI_Host=vmware02
+DB_THIN_JNDI_Port=1521
+
+######################################################################
+# Oracle thin JNDI Pair
+######################################################################
+
+# DB1
+
+DB1_THIN_JNDI_NumberOfDrivers=2
+DB1_THIN_JNDI_Driver0=oracle.jdbc.driver.OracleDriver
+DB1_THIN_JNDI_Driver1=com.arjuna.ats.jdbc.TransactionalDriver
+DB1_THIN_JNDI_Binding=oracle_thin1
+DB1_THIN_JNDI_DatabaseURL=jdbc:arjuna:oracle_thin1
+DB1_THIN_JNDI_DatabaseUser=VMWARE011
+DB1_THIN_JNDI_DatabasePassword=vmware011
+DB1_THIN_JNDI_DatabaseName=hunnin
+DB1_THIN_JNDI_Host=vmware02
+DB1_THIN_JNDI_Port=1521
+
+# DB2
+
+DB2_THIN_JNDI_NumberOfDrivers=2
+DB2_THIN_JNDI_Driver0=oracle.jdbc.driver.OracleDriver
+DB2_THIN_JNDI_Driver1=com.arjuna.ats.jdbc.TransactionalDriver
+DB2_THIN_JNDI_Binding=oracle_thin2
+DB2_THIN_JNDI_DatabaseURL=jdbc:arjuna:oracle_thin2
+DB2_THIN_JNDI_DatabaseUser=VMWARE012
+DB2_THIN_JNDI_DatabasePassword=vmware012
+DB2_THIN_JNDI_DatabaseName=hunnin
+DB2_THIN_JNDI_Host=vmware02
+DB2_THIN_JNDI_Port=1521
+
+##########################################################################
+# PostgreSQL JNDI Profile
+##########################################################################
+
+DB_PGSQL_JNDI_NumberOfDrivers=2
+# the 'native' driver must come first. xa not required
+DB_PGSQL_JNDI_Driver0=org.postgresql.Driver
+DB_PGSQL_JNDI_Driver1=com.arjuna.ats.jdbc.TransactionalDriver
+# the uniq JNDI name
+DB_PGSQL_JNDI_Binding=pgsql
+# url is jdbc:arjuna:bindingname
+# the ts looks up bindingname in JNDI,
+# to which it is written by JNDIManager
+# The JNDI manager knows which XA datasource class to use
+# based on the non-xa driver class given above.
+DB_PGSQL_JNDI_DatabaseURL=jdbc:arjuna:pgsql
+# username and pass
+DB_PGSQL_JNDI_DatabaseUser=test1
+DB_PGSQL_JNDI_DatabasePassword=test1
+# datasource properties:
+DB_PGSQL_JNDI_DatabaseName=test
+DB_PGSQL_JNDI_Host=localhost
+##DB_PGSQL_JNDI_Port=1521
+
+######################################################################
+# PostgreSQL JNDI Pair
+######################################################################
+
+DB1_PGSQL_JNDI_NumberOfDrivers=2
+DB1_PGSQL_JNDI_Driver0=org.postgresql.Driver
+DB1_PGSQL_JNDI_Driver1=com.arjuna.ats.jdbc.TransactionalDriver
+DB1_PGSQL_JNDI_Binding=pgsql1
+DB1_PGSQL_JNDI_DatabaseURL=jdbc:arjuna:pgsql1
+DB1_PGSQL_JNDI_DatabaseUser=test1
+DB1_PGSQL_JNDI_DatabasePassword=test1
+DB1_PGSQL_JNDI_DatabaseName=test
+DB1_PGSQL_JNDI_Host=localhost
+
+DB2_PGSQL_JNDI_NumberOfDrivers=2
+DB2_PGSQL_JNDI_Driver0=org.postgresql.Driver
+DB2_PGSQL_JNDI_Driver1=com.arjuna.ats.jdbc.TransactionalDriver
+DB2_PGSQL_JNDI_Binding=pgsql2
+DB2_PGSQL_JNDI_DatabaseURL=jdbc:arjuna:pgsql2
+DB2_PGSQL_JNDI_DatabaseUser=test2
+DB2_PGSQL_JNDI_DatabasePassword=test2
+DB2_PGSQL_JNDI_DatabaseName=test
+DB2_PGSQL_JNDI_Host=localhost
+
+##########################################################################
+# MySQL JNDI Profile
+##########################################################################
+
+DB_MYSQL_JNDI_NumberOfDrivers=2
+DB_MYSQL_JNDI_Driver0=com.mysql.jdbc.Driver
+DB_MYSQL_JNDI_Driver1=com.arjuna.ats.jdbc.TransactionalDriver
+DB_MYSQL_JNDI_Binding=mysql
+DB_MYSQL_JNDI_DatabaseURL=jdbc:arjuna:mysql
+DB_MYSQL_JNDI_DatabaseUser=test1
+DB_MYSQL_JNDI_DatabasePassword=test1
+DB_MYSQL_JNDI_DatabaseName=test
+DB_MYSQL_JNDI_Host=localhost
+##DB_MYSQL_JNDI_Port=1521
+
+######################################################################
+# MySQL JNDI Pair
+######################################################################
+
+DB1_MYSQL_JNDI_NumberOfDrivers=2
+DB1_MYSQL_JNDI_Driver0=com.mysql.jdbc.Driver
+DB1_MYSQL_JNDI_Driver1=com.arjuna.ats.jdbc.TransactionalDriver
+DB1_MYSQL_JNDI_Binding=mysql1
+DB1_MYSQL_JNDI_DatabaseURL=jdbc:arjuna:mysql1
+DB1_MYSQL_JNDI_DatabaseUser=test1
+DB1_MYSQL_JNDI_DatabasePassword=test1
+DB1_MYSQL_JNDI_DatabaseName=test
+DB1_MYSQL_JNDI_Host=localhost
+
+DB2_MYSQL_JNDI_NumberOfDrivers=2
+DB2_MYSQL_JNDI_Driver0=com.mysql.jdbc.Driver
+DB2_MYSQL_JNDI_Driver1=com.arjuna.ats.jdbc.TransactionalDriver
+DB2_MYSQL_JNDI_Binding=mysql2
+DB2_MYSQL_JNDI_DatabaseURL=jdbc:arjuna:mysql2
+DB2_MYSQL_JNDI_DatabaseUser=test2
+DB2_MYSQL_JNDI_DatabasePassword=test2
+DB2_MYSQL_JNDI_DatabaseName=test
+DB2_MYSQL_JNDI_Host=localhost
+
+######################################################################
+
+# Argh! First SQL changes all user names to lower case internally but not
+# when logging in! So, after creating user `FOO', you must login as #`foo'.
+# So, use the password entry for the user name, as that is lower case.
+
+##########################################################################
+# First SQL thin JNDI Profile
+##########################################################################
+
+DB_FSQL_JNDI_NumberOfDrivers=2
+DB_FSQL_JNDI_Driver0=COM.FirstSQL.Dbcp.DbcpXADataSource
+DB_FSQL_JNDI_Driver1=com.arjuna.ats.jdbc.TransactionalDriver
+DB_FSQL_JNDI_Binding=firstsql
+DB_FSQL_JNDI_DatabaseURL=jdbc:arjuna:firstsql
+DB_FSQL_JNDI_DatabaseUser=vmware011
+DB_FSQL_JNDI_DatabasePassword=vmware011
+DB_FSQL_JNDI_Host=bigboy.atl.ncl.ac.uk
+DB_FSQL_JNDI_Port=8000
+
+######################################################################
+# First SQL thin JNDI Pair
+######################################################################
+
+# DB1
+
+DB1_FSQL_JNDI_NumberOfDrivers=2
+DB1_FSQL_JNDI_Driver0=COM.FirstSQL.Dbcp.DbcpXADataSource
+DB1_FSQL_JNDI_Driver1=com.arjuna.ats.jdbc.TransactionalDriver
+DB1_FSQL_JNDI_Binding=firstsql1
+DB1_FSQL_JNDI_DatabaseURL=jdbc:arjuna:firstsql1
+DB1_FSQL_JNDI_DatabaseUser=vmware011
+DB1_FSQL_JNDI_DatabasePassword=vmware011
+DB1_FSQL_JNDI_Host=bigboy.atl.ncl.ac.uk
+DB1_FSQL_JNDI_Port=8000
+
+# DB2
+
+DB2_FSQL_JNDI_NumberOfDrivers=2
+DB2_FSQL_JNDI_Driver0=COM.FirstSQL.Dbcp.DbcpXADataSource
+DB2_FSQL_JNDI_Driver1=com.arjuna.ats.jdbc.TransactionalDriver
+DB2_FSQL_JNDI_Binding=firstsql2
+DB2_FSQL_JNDI_DatabaseURL=jdbc:arjuna:firstsql2
+DB2_FSQL_JNDI_DatabaseUser=vmware012
+DB2_FSQL_JNDI_DatabasePassword=vmware012
+DB2_FSQL_JNDI_Host=bigboy.atl.ncl.ac.uk
+DB2_FSQL_JNDI_Port=8000
+
+################################################################################
+# Object store default settings (oracle)
+################################################################################
+
+OBJECTSTORE_DB_NumberOfDrivers=1
+OBJECTSTORE_DB_Driver0=oracle.jdbc.driver.OracleDriver
+OBJECTSTORE_DB_DatabaseURL=jdbc\:oracle\:thin\:@(description=(address=(host=hunnin)(protocol=tcp)(port=1521))(connect_data=(sid=hunnin)))
+OBJECTSTORE_DB_DatabaseUser=VMWARE011
+OBJECTSTORE_DB_DatabasePassword=vmware011
+
+################################################################################
+# MSSQLServer Object Store
+################################################################################
+
+MSSQL_OBJECTSTORE_DB_NumberOfDrivers=1
+MSSQL_OBJECTSTORE_DB_Driver0=com.microsoft.jdbc.sqlserver.SQLServerDriver
+MSSQL_OBJECTSTORE_DB_Driver1=com.arjuna.ats.jdbc.TransactionalDriver
+MSSQL_OBJECTSTORE_DB_DatabaseURL=jdbc\:microsoft\:sqlserver\://hunnin\:1433
+MSSQL_OBJECTSTORE_DB_DatabaseUser=VMWARE011
+MSSQL_OBJECTSTORE_DB_DatabasePassword=vmware011
Added: labs/jbosstm/trunk/qa/config/jdbc_profiles/vmware01/JDBCProfiles
===================================================================
--- labs/jbosstm/trunk/qa/config/jdbc_profiles/vmware01/JDBCProfiles (rev 0)
+++ labs/jbosstm/trunk/qa/config/jdbc_profiles/vmware01/JDBCProfiles 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,246 @@
+#
+# JBoss, Home of Professional Open Source
+# Copyright 2006, Red Hat Middleware LLC, and individual contributors
+# as indicated by the @author tags.
+# 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.
+#
+# (C) 2005-2006,
+# @author JBoss Inc.
+
+
+#JDBC profile
+######################################################################
+# Oracle JNDI Pair
+######################################################################
+
+# DB1
+
+DB1_JNDI_NumberOfDrivers=2
+DB1_JNDI_Driver1=com.arjuna.ats.jdbc.TransactionalDriver
+DB1_JNDI_Driver0=com.merant.sequelink.jdbc.SequeLinkDriver
+DB1_JNDI_Binding=merant_oracle_jndi1
+DB1_JNDI_DatabaseURL=jdbc\:arjuna:reuseconnection=true\:merant_oracle_jndi1
+DB1_JNDI_DatabaseUser=VMWARE011
+DB1_JNDI_DatabasePassword=vmware011
+DB1_JNDI_DatabaseName=empay
+DB1_JNDI_Host=xxmerant_oracle_hostxx
+DB1_JNDI_Port=20000
+
+# DB2
+
+DB2_JNDI_NumberOfDrivers=2
+DB2_JNDI_Driver1=com.arjuna.ats.jdbc.TransactionalDriver
+DB2_JNDI_Driver0=com.merant.sequelink.jdbc.SequeLinkDriver
+DB2_JNDI_Binding=merant_oracle_jndi2
+DB2_JNDI_DatabaseURL=jdbc\:arjuna:reuseconnection=true\:merant_oracle_jndi2
+DB2_JNDI_DatabaseUser=VMWARE012
+DB2_JNDI_DatabasePassword=vmware012
+DB2_JNDI_DatabaseName=empay
+DB2_JNDI_Host=xxmerant_oracle_hostxx
+DB2_JNDI_Port=20001
+
+##########################################################################
+# MSSQL Server JNDI Profile
+##########################################################################
+
+DB_SQL_JNDI_NumberOfDrivers=2
+DB_SQL_JNDI_Driver1=com.arjuna.ats.jdbc.TransactionalDriver
+DB_SQL_JNDI_Driver0=com.microsoft.jdbc.sqlserver.SQLServerDriver
+DB_SQL_JNDI_Binding=sqlserver_jndi
+DB_SQL_JNDI_DatabaseURL=jdbc\:arjuna\:sqlserver_jndi
+DB_SQL_JNDI_DatabaseUser=VMWARE011
+DB_SQL_JNDI_DatabasePassword=vmware011
+DB_SQL_JNDI_DatabaseName=dtf
+DB_SQL_JNDI_Host=vmware02
+DB_SQL_JNDI_Port=1433
+
+######################################################################
+# MSSQL Server JNDI Pair
+######################################################################
+
+# DB1
+
+DB_SQL1_JNDI_NumberOfDrivers=2
+DB_SQL1_JNDI_Driver1=com.arjuna.ats.jdbc.TransactionalDriver
+DB_SQL1_JNDI_Driver0=com.microsoft.jdbc.sqlserver.SQLServerDriver
+DB_SQL1_JNDI_Binding=sqlserver_jndi1
+DB_SQL1_JNDI_DatabaseURL=jdbc\:arjuna\:sqlserver_jndi1
+DB_SQL1_JNDI_DatabaseUser=VMWARE011
+DB_SQL1_JNDI_DatabasePassword=vmware011
+DB_SQL1_JNDI_DatabaseName=dtf
+DB_SQL1_JNDI_Host=vmware02
+DB_SQL1_JNDI_Port=1433
+
+# DB2
+
+DB_SQL2_JNDI_NumberOfDrivers=2
+DB_SQL2_JNDI_Driver1=com.arjuna.ats.jdbc.TransactionalDriver
+DB_SQL2_JNDI_Driver0=com.microsoft.jdbc.sqlserver.SQLServerDriver
+DB_SQL2_JNDI_Binding=sqlserver_jndi2
+DB_SQL2_JNDI_DatabaseURL=jdbc\:arjuna\:sqlserver_jndi2
+DB_SQL2_JNDI_DatabaseUser=VMWARE012
+DB_SQL2_JNDI_DatabasePassword=vmware012
+DB_SQL2_JNDI_DatabaseName=dtf
+DB_SQL2_JNDI_Host=vmware02
+DB_SQL2_JNDI_Port=1433
+
+#################### Oracle thin #############################################
+#
+# Single DB
+##########################################################################
+
+THIN_DB_NumberOfDrivers=2
+THIN_DB_Driver0=oracle.jdbc.driver.OracleDriver
+THIN_DB_Driver1=com.arjuna.ats.jdbc.TransactionalDriver
+THIN_DB_DatabaseURL=jdbc:arjuna:oracle:thin:@xxoracle_thin_hostxx:1521:empay
+THIN_DB_DatabaseUser=VMWARE011
+THIN_DB_DatabasePassword=vmware011
+THIN_DB_DatabaseDynamicClass=com.arjuna.JDBC2.drivers.oracle_8_1_6
+
+
+##########################################################################
+# Oracle DB Pair
+##########################################################################
+
+# DB 1
+
+THIN_DB1_NumberOfDrivers=2
+THIN_DB1_Driver0=oracle.jdbc.driver.OracleDriver
+THIN_DB1_Driver1=com.arjuna.ats.jdbc.TransactionalDriver
+THIN_DB1_DatabaseURL=jdbc:arjuna:oracle:thin:@xxoracle_thin_hostxx:1521:empay
+THIN_DB1_DatabaseUser=VMWARE011
+THIN_DB1_DatabasePassword=vmware011
+THIN_DB1_DatabaseDynamicClass=com.arjuna.JDBC2.drivers.oracle_8_1_6
+
+# DB 2
+
+THIN_DB2_NumberOfDrivers=2
+THIN_DB2_Driver0=oracle.jdbc.driver.OracleDriver
+THIN_DB2_Driver1=com.arjuna.ats.jdbc.TransactionalDriver
+THIN_DB2_DatabaseURL=jdbc:arjuna:oracle:thin:@xxoracle_thin_hostxx:1521:empay
+THIN_DB2_DatabaseUser=VMWARE012
+THIN_DB2_DatabasePassword=vmware012
+THIN_DB2_DatabaseDynamicClass=com.arjuna.JDBC2.drivers.oracle_8_1_6
+
+##########################################################################
+# Oracle thin JNDI Profile
+##########################################################################
+
+DB_THIN_JNDI_NumberOfDrivers=2
+DB_THIN_JNDI_Driver0=oracle.jdbc.driver.OracleDriver
+DB_THIN_JNDI_Driver1=com.arjuna.ats.jdbc.TransactionalDriver
+DB_THIN_JNDI_Binding=oracle_thin
+DB_THIN_JNDI_DatabaseURL=jdbc:arjuna:oracle_thin
+DB_THIN_JNDI_DatabaseUser=VMWARE011
+DB_THIN_JNDI_DatabasePassword=vmware011
+DB_THIN_JNDI_DatabaseName=hunnin
+DB_THIN_JNDI_Host=vmware02
+DB_THIN_JNDI_Port=1521
+
+######################################################################
+# Oracle thin JNDI Pair
+######################################################################
+
+# DB1
+
+DB1_THIN_JNDI_NumberOfDrivers=2
+DB1_THIN_JNDI_Driver0=oracle.jdbc.driver.OracleDriver
+DB1_THIN_JNDI_Driver1=com.arjuna.ats.jdbc.TransactionalDriver
+DB1_THIN_JNDI_Binding=oracle_thin1
+DB1_THIN_JNDI_DatabaseURL=jdbc:arjuna:oracle_thin1
+DB1_THIN_JNDI_DatabaseUser=VMWARE011
+DB1_THIN_JNDI_DatabasePassword=vmware011
+DB1_THIN_JNDI_DatabaseName=hunnin
+DB1_THIN_JNDI_Host=vmware02
+DB1_THIN_JNDI_Port=1521
+
+# DB2
+
+DB2_THIN_JNDI_NumberOfDrivers=2
+DB2_THIN_JNDI_Driver0=oracle.jdbc.driver.OracleDriver
+DB2_THIN_JNDI_Driver1=com.arjuna.ats.jdbc.TransactionalDriver
+DB2_THIN_JNDI_Binding=oracle_thin2
+DB2_THIN_JNDI_DatabaseURL=jdbc:arjuna:oracle_thin2
+DB2_THIN_JNDI_DatabaseUser=VMWARE012
+DB2_THIN_JNDI_DatabasePassword=vmware012
+DB2_THIN_JNDI_DatabaseName=hunnin
+DB2_THIN_JNDI_Host=vmware02
+DB2_THIN_JNDI_Port=1521
+
+# Argh! First SQL changes all user names to lower case internally but not
+# when logging in! So, after creating user `FOO', you must login as #`foo'.
+# So, use the password entry for the user name, as that is lower case.
+
+##########################################################################
+# First SQL thin JNDI Profile
+##########################################################################
+
+DB_FSQL_JNDI_NumberOfDrivers=2
+DB_FSQL_JNDI_Driver0=COM.FirstSQL.Dbcp.DbcpXADataSource
+DB_FSQL_JNDI_Driver1=com.arjuna.ats.jdbc.TransactionalDriver
+DB_FSQL_JNDI_Binding=firstsql
+DB_FSQL_JNDI_DatabaseURL=jdbc:arjuna:firstsql
+DB_FSQL_JNDI_DatabaseUser=vmware011
+DB_FSQL_JNDI_DatabasePassword=vmware011
+DB_FSQL_JNDI_Host=bigboy.atl.ncl.ac.uk
+DB_FSQL_JNDI_Port=8000
+
+######################################################################
+# First SQL thin JNDI Pair
+######################################################################
+
+# DB1
+
+DB1_FSQL_JNDI_NumberOfDrivers=2
+DB1_FSQL_JNDI_Driver0=COM.FirstSQL.Dbcp.DbcpXADataSource
+DB1_FSQL_JNDI_Driver1=com.arjuna.ats.jdbc.TransactionalDriver
+DB1_FSQL_JNDI_Binding=firstsql1
+DB1_FSQL_JNDI_DatabaseURL=jdbc:arjuna:firstsql1
+DB1_FSQL_JNDI_DatabaseUser=vmware011
+DB1_FSQL_JNDI_DatabasePassword=vmware011
+DB1_FSQL_JNDI_Host=bigboy.atl.ncl.ac.uk
+DB1_FSQL_JNDI_Port=8000
+
+# DB2
+
+DB2_FSQL_JNDI_NumberOfDrivers=2
+DB2_FSQL_JNDI_Driver0=COM.FirstSQL.Dbcp.DbcpXADataSource
+DB2_FSQL_JNDI_Driver1=com.arjuna.ats.jdbc.TransactionalDriver
+DB2_FSQL_JNDI_Binding=firstsql2
+DB2_FSQL_JNDI_DatabaseURL=jdbc:arjuna:firstsql2
+DB2_FSQL_JNDI_DatabaseUser=vmware012
+DB2_FSQL_JNDI_DatabasePassword=vmware012
+DB2_FSQL_JNDI_Host=bigboy.atl.ncl.ac.uk
+DB2_FSQL_JNDI_Port=8000
+
+################################################################################
+# Object store default settings (oracle)
+################################################################################
+
+OBJECTSTORE_DB_NumberOfDrivers=1
+OBJECTSTORE_DB_Driver0=oracle.jdbc.driver.OracleDriver
+OBJECTSTORE_DB_DatabaseURL=jdbc\:oracle\:thin\:@(description=(address=(host=hunnin)(protocol=tcp)(port=1521))(connect_data=(sid=hunnin)))
+OBJECTSTORE_DB_DatabaseUser=VMWARE011
+OBJECTSTORE_DB_DatabasePassword=vmware011
+
+################################################################################
+# MSSQLServer Object Store
+################################################################################
+
+MSSQL_OBJECTSTORE_DB_NumberOfDrivers=1
+MSSQL_OBJECTSTORE_DB_Driver0=com.microsoft.jdbc.sqlserver.SQLServerDriver
+MSSQL_OBJECTSTORE_DB_Driver1=com.arjuna.ats.jdbc.TransactionalDriver
+MSSQL_OBJECTSTORE_DB_DatabaseURL=jdbc\:microsoft\:sqlserver\://hunnin\:1433
+MSSQL_OBJECTSTORE_DB_DatabaseUser=VMWARE011
+MSSQL_OBJECTSTORE_DB_DatabasePassword=vmware011
Added: labs/jbosstm/trunk/qa/config/load-jbossts-qa.sql
===================================================================
--- labs/jbosstm/trunk/qa/config/load-jbossts-qa.sql (rev 0)
+++ labs/jbosstm/trunk/qa/config/load-jbossts-qa.sql 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,125 @@
+-- JBoss, Home of Professional Open Source
+-- Copyright 2008, JBoss Inc., 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.
+--
+-- (C) 2008,
+-- @author JBoss Inc.
+--
+
+
+-- TestId, Name, URL, Description
+INSERT INTO `StoredTestdefs` VALUES (0,'jbossts-qa-ait01_otstransactionmanager-testdefs.xml','http://localhost:8080/dtf/producttests/jbossts-qa-ait01_otstransactionmanager-testdefs.xml','AIT Tests 01 - OTSTransactionManager');
+INSERT INTO `StoredTestdefs` VALUES (1,'jbossts-qa-aitresources01-testdefs.xml','http://localhost:8080/dtf/producttests/jbossts-qa-aitresources01-testdefs.xml','AIT Resources Tests 01');
+INSERT INTO `StoredTestdefs` VALUES (72,'jbossts-qa-crashrecovery01-testdefs.xml','http://localhost:8080/dtf/producttests/jbossts-qa-crashrecovery01-testdefs.xml','Crash Recovery Tests 01');
+INSERT INTO `StoredTestdefs` VALUES (73,'jbossts-qa-crashrecovery02_1-testdefs.xml','http://localhost:8080/dtf/producttests/jbossts-qa-crashrecovery02_1-testdefs.xml','Crash Recovery Tests 02-1');
+INSERT INTO `StoredTestdefs` VALUES (74,'jbossts-qa-crashrecovery02_2-testdefs.xml','http://localhost:8080/dtf/producttests/jbossts-qa-crashrecovery02_2-testdefs.xml','Crash Recovery Tests 02-2');
+INSERT INTO `StoredTestdefs` VALUES (75,'jbossts-qa-crashrecovery03-testdefs.xml','http://localhost:8080/dtf/producttests/jbossts-qa-crashrecovery03-testdefs.xml','Crash Recovery Tests 03');
+INSERT INTO `StoredTestdefs` VALUES (76,'jbossts-qa-crashrecovery04-testdefs.xml','http://localhost:8080/dtf/producttests/jbossts-qa-crashrecovery04-testdefs.xml','Crash Recovery Tests 04');
+INSERT INTO `StoredTestdefs` VALUES (77,'jbossts-qa-crashrecovery05_1-testdefs.xml','http://localhost:8080/dtf/producttests/jbossts-qa-crashrecovery05_1-testdefs.xml','Crash Recovery Tests 05-1');
+INSERT INTO `StoredTestdefs` VALUES (78,'jbossts-qa-crashrecovery05_2-testdefs.xml','http://localhost:8080/dtf/producttests/jbossts-qa-crashrecovery05_2-testdefs.xml','Crash Recovery Tests 05-2');
+INSERT INTO `StoredTestdefs` VALUES (9,'jbossts-qa-crashrecovery06-testdefs.xml','http://localhost:8080/dtf/producttests/jbossts-qa-crashrecovery06-testdefs.xml','Crash Recovery Tests 06');
+INSERT INTO `StoredTestdefs` VALUES (80,'jbossts-qa-crashrecovery07-testdefs.xml','http://localhost:8080/dtf/producttests/jbossts-qa-crashrecovery07-testdefs.xml','Crash Recovery Tests 07');
+INSERT INTO `StoredTestdefs` VALUES (81,'jbossts-qa-crashrecovery08-testdefs.xml','http://localhost:8080/dtf/producttests/jbossts-qa-crashrecovery08-testdefs.xml','Crash Recovery Tests 08');
+INSERT INTO `StoredTestdefs` VALUES (146,'jbossts-qa-crashrecovery12-testdefs.xml','http://localhost:8080/dtf/producttests/jbossts-qa-crashrecovery12-testdefs.xml','Crash Recovery Tests 12');
+INSERT INTO `StoredTestdefs` VALUES (66,'jbossts-qa-currenttests01-testdefs.xml','http://localhost:8080/dtf/producttests/jbossts-qa-currenttests01-testdefs.xml','Current Tests 01');
+INSERT INTO `StoredTestdefs` VALUES (14,'jbossts-qa-jdbclocals01-firstsql_jndi-testdefs.xml','http://localhost:8080/dtf/producttests/jbossts-qa-jdbclocals01-firstsql_jndi-testdefs.xml','JDBC Local Tests 01 - Firstl SQL JNDI');
+INSERT INTO `StoredTestdefs` VALUES (15,'jbossts-qa-jdbclocals01-mssql_jndi-testdefs.xml','http://localhost:8080/dtf/producttests/jbossts-qa-jdbclocals01-mssql_jndi-testdefs.xml','JDBC Local Tests 01 - MS-SQL JNDI');
+INSERT INTO `StoredTestdefs` VALUES (16,'jbossts-qa-jdbclocals01-oracle_jndi-testdefs.xml','http://localhost:8080/dtf/producttests/jbossts-qa-jdbclocals01-oracle_jndi-testdefs.xml','JDBC Local Tests 01 - Oracle JNDI');
+INSERT INTO `StoredTestdefs` VALUES (137,'jbossts-qa-jdbcresources01-firstsql_jndi-testdefs.xml','http://localhost:8080/dtf/producttests/jbossts-qa-jdbcresources01-firstsql_jndi-testdefs.xml','JDBC Resources Tests 01 - First SQL JNDI');
+INSERT INTO `StoredTestdefs` VALUES (119,'jbossts-qa-jdbcresources01_mssqlserver_jndi-testdefs.xml','http://localhost:8080/dtf/producttests/jbossts-qa-jdbcresources01_mssqlserver_jndi-testdefs.xml','JDBC Resources Tests 01 - MSSQL Server JNDI');
+INSERT INTO `StoredTestdefs` VALUES (117,'jbossts-qa-jdbcresources01-oracle_thin_jndi-testdefs.xml','http://localhost:8080/dtf/producttests/jbossts-qa-jdbcresources01-oracle_thin_jndi-testdefs.xml','JDBC Resources Tests 01 - Oracle thin JNDI');
+INSERT INTO `StoredTestdefs` VALUES (141,'jbossts-qa-jdbcresources02-firstsql_jndi-testdefs.xml','http://localhost:8080/dtf/producttests/jbossts-qa-jdbcresources02-firstsql_jndi-testdefs.xml','JDBC Resources Tests 02 - First SQL JNDI');
+INSERT INTO `StoredTestdefs` VALUES (147,'jbossts-qa-jdbcresources02_mssqlserver_jndi-testdefs.xml','http://localhost:8080/dtf/producttests/jbossts-qa-jdbcresources02_mssqlserver_jndi-testdefs.xml','JDBC Resources Tests 02 - MSSQL Server JNDI');
+INSERT INTO `StoredTestdefs` VALUES (85,'jbossts-qa-rawresources01_2-testdefs.xml','http://localhost:8080/dtf/producttests/jbossts-qa-rawresources01_2-testdefs.xml','Raw Resources Tests 01-2');
+INSERT INTO `StoredTestdefs` VALUES (86,'jbossts-qa-rawresources01_3-testdefs.xml','http://localhost:8080/dtf/producttests/jbossts-qa-rawresources01_3-testdefs.xml','Raw Resources Tests 01-3');
+INSERT INTO `StoredTestdefs` VALUES (87,'jbossts-qa-rawresources02_1-testdefs.xml','http://localhost:8080/dtf/producttests/jbossts-qa-rawresources02_1-testdefs.xml','Raw Resources Tests 02-1');
+INSERT INTO `StoredTestdefs` VALUES (88,'jbossts-qa-rawresources02_2-testdefs.xml','http://localhost:8080/dtf/producttests/jbossts-qa-rawresources02_2-testdefs.xml','Raw Resources Tests 02-2');
+INSERT INTO `StoredTestdefs` VALUES (89,'jbossts-qa-rawresources02_3-testdefs.xml','http://localhost:8080/dtf/producttests/jbossts-qa-rawresources02_3-testdefs.xml','Raw Resources Tests 02-3');
+INSERT INTO `StoredTestdefs` VALUES (90,'jbossts-qa-rawsubtransactionawareresources01_1-testdefs.xml','http://localhost:8080/dtf/producttests/jbossts-qa-rawsubtransactionawareresources01_1-testdefs.xml','Raw Subtransaction Aware Resources Tests 01-1');
+INSERT INTO `StoredTestdefs` VALUES (138,'jbossts-qa-jdbcresources02-oracle_thin_jndi-testdefs.xml','http://localhost:8080/dtf/producttests/jbossts-qa-jdbcresources02-oracle_thin_jndi-testdefs.xml','JDBC Resources Tests 02 - Oracle thin JNDI');
+INSERT INTO `StoredTestdefs` VALUES (23,'jbossts-qa-jdbcresources03-firstsql_jndi-testdefs.xml','http://localhost:8080/dtf/producttests/jbossts-qa-jdbcresources03-firstsql_jndi-testdefs.xml','JDBC Resources Tests 03 - First SQL JNDI');
+INSERT INTO `StoredTestdefs` VALUES (24,'jbossts-qa-jdbcresources03-oracle_thin_jndi-testdefs.xml','http://localhost:8080/dtf/producttests/jbossts-qa-jdbcresources03-oracle_thin_jndi-testdefs.xml','JDBC Resources Tests 03 - Oracle thin JNDI');
+INSERT INTO `StoredTestdefs` VALUES (25,'jbossts-qa-jdbcresources04-firstsql_jndi-testdefs.xml','http://localhost:8080/dtf/producttests/jbossts-qa-jdbcresources04-firstsql_jndi-testdefs.xml','JDBC Resources Tests 04 - First SQL JNDI');
+INSERT INTO `StoredTestdefs` VALUES (26,'jbossts-qa-jdbcresources04-oracle_thin_jndi-testdefs.xml','http://localhost:8080/dtf/producttests/jbossts-qa-jdbcresources04-oracle_thin_jndi-testdefs.xml','JDBC Resources Tests 04 - Oracle thin JNDI');
+INSERT INTO `StoredTestdefs` VALUES (70,'jbossts-qa-jtatests01-testdefs.xml','http://localhost:8080/dtf/producttests/jbossts-qa-jtatests01-testdefs.xml','JTA Tests 01');
+INSERT INTO `StoredTestdefs` VALUES (71,'jbossts-qa-otsserver-testdefs.xml','http://localhost:8080/dtf/producttests/jbossts-qa-otsserver-testdefs.xml','OTS Server Tests');
+INSERT INTO `StoredTestdefs` VALUES (29,'jbossts-qa-otsserver-timeout-testdefs.xml','http://localhost:8080/dtf/producttests/jbossts-qa-otsserver-timeout-testdefs.xml','OTS Server Tests');
+INSERT INTO `StoredTestdefs` VALUES (84,'jbossts-qa-rawresources01_1-testdefs.xml','http://localhost:8080/dtf/producttests/jbossts-qa-rawresources01_1-testdefs.xml','Raw Resources Tests 01-1');
+INSERT INTO `StoredTestdefs` VALUES (91,'jbossts-qa-rawsubtransactionawareresources01_2-testdefs.xml','http://localhost:8080/dtf/producttests/jbossts-qa-rawsubtransactionawareresources01_2-testdefs.xml','Raw Subtransaction Aware Resources Tests 01-2');
+INSERT INTO `StoredTestdefs` VALUES (92,'jbossts-qa-rawsubtransactionawareresources01_3-testdefs.xml','http://localhost:8080/dtf/producttests/jbossts-qa-rawsubtransactionawareresources01_3-testdefs.xml','Raw Subtransaction Aware Resources Tests 01-3');
+INSERT INTO `StoredTestdefs` VALUES (93,'jbossts-qa-rawsubtransactionawareresources02_1-testdefs.xml','http://localhost:8080/dtf/producttests/jbossts-qa-rawsubtransactionawareresources02_1-testdefs.xml','Raw Subtransaction Aware Resources Tests 02-1');
+INSERT INTO `StoredTestdefs` VALUES (94,'jbossts-qa-rawsubtransactionawareresources02_2-testdefs.xml','http://localhost:8080/dtf/producttests/jbossts-qa-rawsubtransactionawareresources02_2-testdefs.xml','Raw Subtransaction Aware Resources Tests 02-2');
+INSERT INTO `StoredTestdefs` VALUES (95,'jbossts-qa-rawsubtransactionawareresources02_3-testdefs.xml','http://localhost:8080/dtf/producttests/jbossts-qa-rawsubtransactionawareresources02_3-testdefs.xml','Raw Subtransaction Aware Resources Tests 02-3');
+INSERT INTO `StoredTestdefs` VALUES (42,'jbossts-qa-txcore-testdefs.xml','http://localhost:8080/dtf/producttests/jbossts-qa-txcore-testdefs.xml','Test Definitions merged');
+INSERT INTO `StoredTestdefs` VALUES (43,'jbossts-qa-txoj-testdefs.xml','http://localhost:8080/dtf/producttests/jbossts-qa-txoj-testdefs.xml','TxOJ test definitions.');
+---
+INSERT INTO `StoredTestdefs` VALUES (200,'jbossts-qa-jdbcresources01-ibmdb2_jndi-testdefs.xml','http://localhost:8080/dtf/producttests/jbossts-qa-jdbcresources01-ibmdb2_jndi-testdefs.xml','JDBC Resources Tests 01 - IBM DB2 JNDI');
+INSERT INTO `StoredTestdefs` VALUES (201,'jbossts-qa-jdbcresources01-pgsql_jndi-testdefs.xml','http://localhost:8080/dtf/producttests/jbossts-qa-jdbcresources01-pgsql_jndi-testdefs.xml','JDBC Resources Tests 01 - PostgreSQL JNDI');
+INSERT INTO `StoredTestdefs` VALUES (202,'jbossts-qa-jdbcresources01-mysql_jndi-testdefs.xml','http://localhost:8080/dtf/producttests/jbossts-qa-jdbcresources01-mysql_jndi-testdefs.xml','JDBC Resources Tests 01 - MySQL JNDI');
+INSERT INTO `StoredTestdefs` VALUES (203,'jbossts-qa-jdbcresources01-sybase_jndi-testdefs.xml','http://localhost:8080/dtf/producttests/jbossts-qa-jdbcresources01-sybase_jndi-testdefs.xml','JDBC Resources Tests 01 - Sybase JNDI');
+
+INSERT INTO `StoredTestdefs` VALUES (204,'jbossts-qa-jdbcresources02-ibmdb2_jndi-testdefs.xml','http://localhost:8080/dtf/producttests/jbossts-qa-jdbcresources02-ibmdb2_jndi-testdefs.xml','JDBC Resources Tests 02 - IBM DB2 JNDI');
+INSERT INTO `StoredTestdefs` VALUES (205,'jbossts-qa-jdbcresources02-pgsql_jndi-testdefs.xml','http://localhost:8080/dtf/producttests/jbossts-qa-jdbcresources02-pgsql_jndi-testdefs.xml','JDBC Resources Tests 02 - PostgreSQL JNDI');
+INSERT INTO `StoredTestdefs` VALUES (206,'jbossts-qa-jdbcresources02-mysql_jndi-testdefs.xml','http://localhost:8080/dtf/producttests/jbossts-qa-jdbcresources02-mysql_jndi-testdefs.xml','JDBC Resources Tests 02 - MySQL JNDI');
+INSERT INTO `StoredTestdefs` VALUES (207,'jbossts-qa-jdbcresources02-sybase_jndi-testdefs.xml','http://localhost:8080/dtf/producttests/jbossts-qa-jdbcresources02-sybase_jndi-testdefs.xml','JDBC Resources Tests 02 - Sybase JNDI');
+
+INSERT INTO `StoredTestdefs` VALUES (208,'jbossts-qa-jdbclocals01-ibmdb2_jndi-testdefs.xml','http://localhost:8080/dtf/producttests/jbossts-qa-jdbclocals01-ibmdb2_jndi-testdefs.xml','JDBC Local Tests 01 - IBM DB2 JNDI');
+INSERT INTO `StoredTestdefs` VALUES (209,'jbossts-qa-jdbclocals01-pgsql_jndi-testdefs.xml','http://localhost:8080/dtf/producttests/jbossts-qa-jdbclocals01-pgsql_jndi-testdefs.xml','JDBC Local Tests 01 - PostgreSQL JNDI');
+INSERT INTO `StoredTestdefs` VALUES (210,'jbossts-qa-jdbclocals01-mysql_jndi-testdefs.xml','http://localhost:8080/dtf/producttests/jbossts-qa-jdbclocals01-mysql_jndi-testdefs.xml','JDBC Local Tests 01 - MySQL JNDI');
+INSERT INTO `StoredTestdefs` VALUES (211,'jbossts-qa-jdbclocals01-sybase_jndi-testdefs.xml','http://localhost:8080/dtf/producttests/jbossts-qa-jdbclocals01-sybase_jndi-testdefs.xml','JDBC Local Tests 01 - Sybase JNDI');
+
+-- TODO more here
+---
+UPDATE NextTestId SET NextId=300;
+---
+-- ForTestId, Name, ProductName, URL, Description
+INSERT INTO StoredTestSelections VALUES (117,'AJQ_Linux','JDBCResources01-Oracle_thin_jndi','http://localhost:8080/dtf/producttests/117_AJQ_Linux.xml','AJQ_Linux');
+INSERT INTO StoredTestSelections VALUES (119,'AJQ_Linux','JDBCResources01_MSSQLServer_jndi','http://localhost:8080/dtf/producttests/119_AJQ_Linux.xml','AJQ_Linux');
+INSERT INTO StoredTestSelections VALUES (137,'AJQ_Linux','JDBCResources01-Firstsql_jndi','http://localhost:8080/dtf/producttests/137_AJQ_Linux.xml','AJQ_Linux');
+INSERT INTO StoredTestSelections VALUES (138,'AJQ_Linux','JDBCResources02-Oracle_thin_jndi','http://localhost:8080/dtf/producttests/138_AJQ_Linux.xml','AJQ_Linux');
+INSERT INTO StoredTestSelections VALUES (141,'AJQ_Linux','JDBCResources02-Firstsql_jndi','http://localhost:8080/dtf/producttests/141_AJQ_Linux.xml','AJQ_Linux');
+INSERT INTO StoredTestSelections VALUES (146,'AJQ_Linux','CrashRecovery12','http://localhost:8080/dtf/producttests/146_AJQ_Linux.xml','AJQ_Linux');
+INSERT INTO StoredTestSelections VALUES (147,'AJQ_Linux','JDBCResources02_MSSQLServer_jndi','http://localhost:8080/dtf/producttests/147_AJQ_Linux.xml','AJQ_Linux');
+INSERT INTO StoredTestSelections VALUES (66,'AJQ_Linux','CurrentTests01','http://localhost:8080/dtf/producttests/66_AJQ_Linux.xml','AJQ_Linux');
+INSERT INTO StoredTestSelections VALUES (70,'AJQ_Linux','JTATests01','http://localhost:8080/dtf/producttests/70_AJQ_Linux.xml','AJQ_Linux');
+INSERT INTO StoredTestSelections VALUES (71,'AJQ_Linux','OTSServer','http://localhost:8080/dtf/producttests/71_AJQ_Linux.xml','AJQ_Linux');
+INSERT INTO StoredTestSelections VALUES (72,'AJQ_Linux','CrashRecovery01','http://localhost:8080/dtf/producttests/72_AJQ_Linux.xml','AJQ_Linux');
+INSERT INTO StoredTestSelections VALUES (73,'AJQ_Linux','CrashRecovery02_1','http://localhost:8080/dtf/producttests/73_AJQ_Linux.xml','AJQ_Linux');
+INSERT INTO StoredTestSelections VALUES (74,'AJQ_Linux','CrashRecovery02_2','http://localhost:8080/dtf/producttests/74_AJQ_Linux.xml','AJQ_Linux');
+INSERT INTO StoredTestSelections VALUES (75,'AJQ_Linux','CrashRecovery03','http://localhost:8080/dtf/producttests/75_AJQ_Linux.xml','AJQ_Linux');
+INSERT INTO StoredTestSelections VALUES (76,'AJQ_Linux','CrashRecovery04','http://localhost:8080/dtf/producttests/76_AJQ_Linux.xml','AJQ_Linux');
+INSERT INTO StoredTestSelections VALUES (77,'AJQ_Linux','CrashRecovery05_1','http://localhost:8080/dtf/producttests/77_AJQ_Linux.xml','AJQ_Linux');
+INSERT INTO StoredTestSelections VALUES (78,'AJQ_Linux','CrashRecovery05_2','http://localhost:8080/dtf/producttests/78_AJQ_Linux.xml','AJQ_Linux');
+INSERT INTO StoredTestSelections VALUES (79,'AJQ_Linux','CrashRecovery06','http://localhost:8080/dtf/producttests/79_AJQ_Linux.xml','AJQ_Linux');
+INSERT INTO StoredTestSelections VALUES (80,'AJQ_Linux','CrashRecovery07','http://localhost:8080/dtf/producttests/80_AJQ_Linux.xml','AJQ_Linux');
+INSERT INTO StoredTestSelections VALUES (81,'AJQ_Linux','CrashRecovery08','http://localhost:8080/dtf/producttests/81_AJQ_Linux.xml','AJQ_Linux');
+INSERT INTO StoredTestSelections VALUES (84,'AJQ_Linux','RawResources01_1','http://localhost:8080/dtf/producttests/84_AJQ_Linux.xml','AJQ_Linux');
+INSERT INTO StoredTestSelections VALUES (85,'AJQ_Linux','RawResources01_2','http://localhost:8080/dtf/producttests/85_AJQ_Linux.xml','AJQ_Linux');
+INSERT INTO StoredTestSelections VALUES (86,'AJQ_Linux','RawResources01_3','http://localhost:8080/dtf/producttests/86_AJQ_Linux.xml','AJQ_Linux');
+INSERT INTO StoredTestSelections VALUES (87,'AJQ_Linux','RawResources02_1','http://localhost:8080/dtf/producttests/87_AJQ_Linux.xml','AJQ_Linux');
+INSERT INTO StoredTestSelections VALUES (88,'AJQ_Linux','RawResources02_2','http://localhost:8080/dtf/producttests/88_AJQ_Linux.xml','AJQ_Linux');
+INSERT INTO StoredTestSelections VALUES (89,'AJQ_Linux','RawResources02_3','http://localhost:8080/dtf/producttests/89_AJQ_Linux.xml','AJQ_Linux');
+INSERT INTO StoredTestSelections VALUES (90,'AJQ_Linux','RawSubtransactionAwareResources01_1','http://localhost:8080/dtf/producttests/90_AJQ_Linux.xml','AJQ_Linux');
+INSERT INTO StoredTestSelections VALUES (91,'AJQ_Linux','RawSubtransactionAwareResources01_2','http://localhost:8080/dtf/producttests/91_AJQ_Linux.xml','AJQ_Linux');
+INSERT INTO StoredTestSelections VALUES (92,'AJQ_Linux','RawSubtransactionAwareResources01_3','http://localhost:8080/dtf/producttests/92_AJQ_Linux.xml','AJQ_Linux');
+INSERT INTO StoredTestSelections VALUES (93,'AJQ_Linux','RawSubtransactionAwareResources02_1','http://localhost:8080/dtf/producttests/93_AJQ_Linux.xml','AJQ_Linux');
+INSERT INTO StoredTestSelections VALUES (94,'AJQ_Linux','RawSubtransactionAwareResources02_2','http://localhost:8080/dtf/producttests/94_AJQ_Linux.xml','AJQ_Linux');
+INSERT INTO StoredTestSelections VALUES (95,'AJQ_Linux','RawSubtransactionAwareResources02_3','http://localhost:8080/dtf/producttests/95_AJQ_Linux.xml','AJQ_Linux');
+
+INSERT INTO StoredTestSelections VALUES (43,'JTAQ_Linux','RawSubtransactionAwareResources02_3','http://localhost:8080/dtf/producttests/43_JTAQ_Linux.xml','JTAQ_Linux');
+INSERT INTO StoredTestSelections VALUES (70,'JTAQ_Linux','RawSubtransactionAwareResources02_3','http://localhost:8080/dtf/producttests/70_JTAQ_Linux.xml','JTAQ_Linux');
+INSERT INTO StoredTestSelections VALUES (131,'JTAQ_Linux','RawSubtransactionAwareResources02_3','http://localhost:8080/dtf/producttests/131_JTAQ_Linux.xml','JTAQ_Linux');
+INSERT INTO StoredTestSelections VALUES (132,'JTAQ_Linux','RawSubtransactionAwareResources02_3','http://localhost:8080/dtf/producttests/132_JTAQ_Linux.xml','JTAQ_Linux');
+INSERT INTO StoredTestSelections VALUES (144,'JTAQ_Linux','RawSubtransactionAwareResources02_3','http://localhost:8080/dtf/producttests/144_JTAQ_Linux.xml','JTAQ_Linux');
Added: labs/jbosstm/trunk/qa/config/memory_profiles/MemoryTestProfile
===================================================================
--- labs/jbosstm/trunk/qa/config/memory_profiles/MemoryTestProfile (rev 0)
+++ labs/jbosstm/trunk/qa/config/memory_profiles/MemoryTestProfile 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,43 @@
+#######################################################################################
+#
+# JBoss, Home of Professional Open Source
+# Copyright 2008, JBoss Inc., 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.
+#
+# (C) 2008,
+# @author JBoss Inc.
+#
+#######################################################################################
+#
+# Copyright (C) 2001, HP Bluestone Arjuna.
+#
+# File : MemoryTestProfile
+#
+# Description : This file contains default values for the JTS memory tests.
+#
+# Author : M Buckingham
+#
+# History : 1.0 30 April 2001 M Buckingham Creation.
+#
+######################################################################################
+
+# If threshold is set to this value then use default.
+NoThresholdValue=999
+
+# For thresholds 0.01 = 1% increase.
+DefaultClientIncreaseThreshold=0.025
+DefaultServerIncreaseThreshold=0.025
+
+############# END OF FILE ############################################################
Added: labs/jbosstm/trunk/qa/config/memory_profiles/MemoryTestProfile_template
===================================================================
--- labs/jbosstm/trunk/qa/config/memory_profiles/MemoryTestProfile_template (rev 0)
+++ labs/jbosstm/trunk/qa/config/memory_profiles/MemoryTestProfile_template 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,43 @@
+#######################################################################################
+#
+# JBoss, Home of Professional Open Source
+# Copyright 2008, JBoss Inc., 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.
+#
+# (C) 2008,
+# @author JBoss Inc.
+#
+#######################################################################################
+#
+# Copyright (C) 2001, HP Bluestone Arjuna.
+#
+# File : MemoryTestProfile
+#
+# Description : This file contains default values for the JTS memory tests.
+#
+# Author : M Buckingham
+#
+# History : 1.0 30 April 2001 M Buckingham Creation.
+#
+######################################################################################
+
+# If threshold is set to this value then use default.
+NoThresholdValue=999
+
+# For thresholds 0.01 = 1% increase.
+DefaultClientIncreaseThreshold=0.025
+DefaultServerIncreaseThreshold=0.025
+
+############# END OF FILE ############################################################
Added: labs/jbosstm/trunk/qa/config/run-qa.xml
===================================================================
--- labs/jbosstm/trunk/qa/config/run-qa.xml (rev 0)
+++ labs/jbosstm/trunk/qa/config/run-qa.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,2972 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<project name="RunQA" default="kick.off.run">
+
+ <!-- Changeable properties -->
+ <property name="cvs.tag" value=""/>
+ <property name="jdk.version" value=""/> <!-- "14" for JDK 1.4.x -->
+ <property name="use.jdbcstores" value=""/>
+ <property name="orb.name" value="JacORB"/>
+ <property name="distribution.list" value="jonathan.halliday at redhat.com"/>
+ <property name="testdefs.baseurl" value="http://localhost:8080/dtf/producttests"/>
+ <property name="testselections.baseurl" value="http://localhost:8080/dtf/producttests"/>
+ <property name="nameservice.uri" value="//localhost:1099/NameService"/>
+
+ <!-- Set these properties to select a subset of the available tests,
+ otherwise all the tests are run. Note that the tests that run
+ are the intersection of "basic", "jdbc", "crashrecovery",
+ "rawresources" and the OS's.
+ property name="tests.basic"
+ property name="tests.jdbc"
+ property name="tests.crashrecovery"
+ property name="tests.rawresources"
+ property name="tests.hpux"
+ property name="tests.linux"
+ property name="tests.sunos"
+ property name="tests.win2k"
+ -->
+
+ <target name="kick.off.run" depends="setup.run, tests.basic, tests.jdbc, tests.crashrecovery, tests.rawresources">
+
+ </target>
+
+ <!-- Setup targets -->
+ <target name="setup.run">
+ <!-- Run all if nothing selected -->
+ <condition property="internal.run.all" value="yes">
+ <not>
+ <or>
+ <isset property="tests.basic"/>
+ <isset property="tests.jdbc"/>
+ <isset property="tests.crashrecovery"/>
+ <isset property="tests.rawresources"/>
+ <isset property="tests.hpux"/>
+ <isset property="tests.linux"/>
+ <isset property="tests.sunos"/>
+ <isset property="tests.win2k"/>
+ </or>
+ </not>
+ </condition>
+
+ <!-- Select groups to run -->
+ <condition property="internal.run.basic.sunos" value="yes">
+ <or>
+ <isset property="internal.run.all"/>
+ <and>
+ <isset property="tests.basic"/>
+ <isset property="tests.sunos"/>
+ </and>
+ </or>
+ </condition>
+ <condition property="internal.run.basic.hpux" value="yes">
+ <or>
+ <isset property="internal.run.all"/>
+ <and>
+ <isset property="tests.basic"/>
+ <isset property="tests.hpux"/>
+ </and>
+ </or>
+ </condition>
+ <condition property="internal.run.basic.linux" value="yes">
+ <or>
+ <isset property="internal.run.all"/>
+ <and>
+ <isset property="tests.basic"/>
+ <isset property="tests.linux"/>
+ </and>
+ </or>
+ </condition>
+ <condition property="internal.run.basic.win2k" value="yes">
+ <or>
+ <isset property="internal.run.all"/>
+ <and>
+ <isset property="tests.basic"/>
+ <isset property="tests.win2k"/>
+ </and>
+ </or>
+ </condition>
+
+ <condition property="internal.run.jdbc.sunos" value="yes">
+ <or>
+ <isset property="internal.run.all"/>
+ <and>
+ <isset property="tests.jdbc"/>
+ <isset property="tests.sunos"/>
+ </and>
+ </or>
+ </condition>
+ <condition property="internal.run.jdbc.hpux" value="yes">
+ <or>
+ <isset property="internal.run.all"/>
+ <and>
+ <isset property="tests.jdbc"/>
+ <isset property="tests.hpux"/>
+ </and>
+ </or>
+ </condition>
+ <condition property="internal.run.jdbc.linux" value="yes">
+ <or>
+ <isset property="internal.run.all"/>
+ <and>
+ <isset property="tests.jdbc"/>
+ <isset property="tests.linux"/>
+ </and>
+ </or>
+ </condition>
+ <condition property="internal.run.jdbc.win2k" value="yes">
+ <or>
+ <isset property="internal.run.all"/>
+ <and>
+ <isset property="tests.jdbc"/>
+ <isset property="tests.win2k"/>
+ </and>
+ </or>
+ </condition>
+
+ <condition property="internal.run.crashrecovery.sunos" value="yes">
+ <or>
+ <isset property="internal.run.all"/>
+ <and>
+ <isset property="tests.crashrecovery"/>
+ <isset property="tests.sunos"/>
+ </and>
+ </or>
+ </condition>
+ <condition property="internal.run.crashrecovery.hpux" value="yes">
+ <or>
+ <isset property="internal.run.all"/>
+ <and>
+ <isset property="tests.crashrecovery"/>
+ <isset property="tests.hpux"/>
+ </and>
+ </or>
+ </condition>
+ <condition property="internal.run.crashrecovery.linux" value="yes">
+ <or>
+ <isset property="internal.run.all"/>
+ <and>
+ <isset property="tests.crashrecovery"/>
+ <isset property="tests.linux"/>
+ </and>
+ </or>
+ </condition>
+ <condition property="internal.run.crashrecovery.win2k" value="yes">
+ <or>
+ <isset property="internal.run.all"/>
+ <and>
+ <isset property="tests.crashrecovery"/>
+ <isset property="tests.win2k"/>
+ </and>
+ </or>
+ </condition>
+
+ <condition property="internal.run.rawresources.sunos" value="yes">
+ <or>
+ <isset property="internal.run.all"/>
+ <and>
+ <isset property="tests.rawresources"/>
+ <isset property="tests.sunos"/>
+ </and>
+ </or>
+ </condition>
+ <condition property="internal.run.rawresources.hpux" value="yes">
+ <or>
+ <isset property="internal.run.all"/>
+ <and>
+ <isset property="tests.rawresources"/>
+ <isset property="tests.hpux"/>
+ </and>
+ </or>
+ </condition>
+ <condition property="internal.run.rawresources.linux" value="yes">
+ <or>
+ <isset property="internal.run.all"/>
+ <and>
+ <isset property="tests.rawresources"/>
+ <isset property="tests.linux"/>
+ </and>
+ </or>
+ </condition>
+ <condition property="internal.run.rawresources.win2k" value="yes">
+ <or>
+ <isset property="internal.run.all"/>
+ <and>
+ <isset property="tests.rawresources"/>
+ <isset property="tests.win2k"/>
+ </and>
+ </or>
+ </condition>
+
+ <condition property="deploy.name" value="AJQM">
+ <and>
+ <or>
+ <equals arg1="${use.jdbcstores}" arg2="MSSQLServer"/>
+ <equals arg1="${use.jdbcstores}" arg2="mssqlserver"/>
+ </or>
+ <or>
+ <equals arg1="${orb.name}" arg2="JacORB"/>
+ <equals arg1="${orb.name}" arg2="jacorb"/>
+ </or>
+ </and>
+ </condition>
+ <condition property="deploy.name" value="AJQO">
+ <and>
+ <or>
+ <equals arg1="${use.jdbcstores}" arg2="Oracle"/>
+ <equals arg1="${use.jdbcstores}" arg2="oracle"/>
+ </or>
+ <or>
+ <equals arg1="${orb.name}" arg2="JacORB"/>
+ <equals arg1="${orb.name}" arg2="jacorb"/>
+ </or>
+ </and>
+ </condition>
+ <condition property="deploy.name" value="AJQ">
+ <or>
+ <equals arg1="${orb.name}" arg2="JacORB"/>
+ <equals arg1="${orb.name}" arg2="jacorb"/>
+ </or>
+ </condition>
+
+ <condition property="software.version" value="ATS_${orb.name}_MSSQLServer${jdk.version}-${cvs.tag}">
+ <equals arg1="${deploy.name}" arg2="AJQM"/>
+ </condition>
+ <condition property="software.version" value="ATS_${orb.name}_Oracle${jdk.version}-${cvs.tag}">
+ <equals arg1="${deploy.name}" arg2="AJQO"/>
+ </condition>
+ <!-- <property name="software.version" value="ATS_${orb.name}_QA${jdk.version}-${cvs.tag}"/> -->
+ <property name="software.version" value="JBossTS_JTS_${orb.name}_QA"/>
+
+ <property name="url.version" value="${deploy.name}${jdk.version}"/>
+
+ <taskdef name="schedule" classname="tools.scheduletask.ScheduleTask"
+ classpath="DTF/lib/DTFTools.jar;DTF/lib/TestingFramework.jar"/>
+
+ <echo message="Software version: ${software.version}"/>
+ <echo message="URL version : ${url.version}"/>
+ </target>
+
+ <!-- Test group targets that run the tests one OS at a time -->
+
+ <target name="tests.basic" depends="tests.basic.sunos.current, tests.basic.hpux.current, tests.basic.linux.current, tests.basic.win2k.current, tests.basic.sunos.jta, tests.basic.hpux.jta, tests.basic.linux.jta, tests.basic.win2k.jta, tests.basic.sunos.otsserver, tests.basic.hpux.otsserver, tests.basic.linux.otsserver, tests.basic.win2k.otsserver">
+
+ </target>
+
+ <target name="tests.jdbc" depends="tests.jdbc.sunos.jdbcres.01-firstsql, tests.jdbc.hpux.jdbcres.01-firstsql, tests.jdbc.linux.jdbcres.01-firstsql, tests.jdbc.win2k.jdbcres.01-firstsql, tests.jdbc.sunos.jdbcres.01-oracle, tests.jdbc.hpux.jdbcres.01-oracle, tests.jdbc.linux.jdbcres.01-oracle, tests.jdbc.win2k.jdbcres.01-oracle, tests.jdbc.sunos.jdbcres.01-mssql, tests.jdbc.hpux.jdbcres.01-mssql, tests.jdbc.linux.jdbcres.01-mssql, tests.jdbc.win2k.jdbcres.01-mssql, tests.jdbc.sunos.jdbcres.02-firstsql, tests.jdbc.hpux.jdbcres.02-firstsql, tests.jdbc.linux.jdbcres.02-firstsql, tests.jdbc.win2k.jdbcres.02-firstsql, tests.jdbc.sunos.jdbcres.02-oracle, tests.jdbc.hpux.jdbcres.02-oracle, tests.jdbc.linux.jdbcres.02-oracle, tests.jdbc.win2k.jdbcres.02-oracle, tests.jdbc.sunos.jdbcres.02-mssql, tests.jdbc.hpux.jdbcres.02-mssql, tests.jdbc.linux.jdbcres.02-mssql, tests.jdbc.win2k.jdbcres.02-mssql">
+
+ </target>
+ <target name="tests.crashrecovery" depends="tests.crashrec.sunos.01, tests.crashrec.hpux.01, tests.crashrec.linux.01, tests.crashrec.win2k.01, tests.crashrec.sunos.02_1, tests.crashrec.hpux.02_1, tests.crashrec.linux.02_1, tests.crashrec.win2k.02_1, tests.crashrec.sunos.02_2, tests.crashrec.hpux.02_2, tests.crashrec.linux.02_2, tests.crashrec.win2k.02_2, tests.crashrec.sunos.03, tests.crashrec.hpux.03, tests.crashrec.linux.03, tests.crashrec.win2k.03, tests.crashrec.sunos.04, tests.crashrec.hpux.04, tests.crashrec.linux.04, tests.crashrec.win2k.04, tests.crashrec.sunos.05_1, tests.crashrec.hpux.05_1, tests.crashrec.linux.05_1, tests.crashrec.win2k.05_1, tests.crashrec.sunos.05_2, tests.crashrec.hpux.05_2, tests.crashrec.linux.05_2, tests.crashrec.win2k.05_2, tests.crashrec.sunos.06, tests.crashrec.hpux.06, tests.crashrec.linux.06, tests.crashrec.win2k.06, tests.crashrec.sunos.07, tests.crashrec.hpux.07, tests.crashrec.linux.07, tests.crashrec.win2k.07, tests.crashrec.su!
nos.08, tests.crashrec.hpux.08, tests.crashrec.linux.08, tests.crashrec.win2k.08, tests.crashrec.sunos.12, tests.crashrec.hpux.12, tests.crashrec.linux.12, tests.crashrec.win2k.12">
+ </target>
+
+ <target name="tests.rawresources" depends="tests.rawres.sunos.01_1, tests.rawres.hpux.01_1, tests.rawres.linux.01_1, tests.rawres.win2k.01_1, tests.rawres.sunos.01_2, tests.rawres.hpux.01_2, tests.rawres.linux.01_2, tests.rawres.win2k.01_2, tests.rawres.sunos.01_3, tests.rawres.hpux.01_3, tests.rawres.linux.01_3, tests.rawres.win2k.01_3, tests.rawres.sunos.02_1, tests.rawres.hpux.02_1, tests.rawres.linux.02_1, tests.rawres.win2k.02_1, tests.rawres.sunos.02_2, tests.rawres.hpux.02_2, tests.rawres.linux.02_2, tests.rawres.win2k.02_2, tests.rawres.sunos.02_3, tests.rawres.hpux.02_3, tests.rawres.linux.02_3, tests.rawres.win2k.02_3, tests.rawsubres.sunos.01_1, tests.rawsubres.hpux.01_1, tests.rawsubres.linux.01_1, tests.rawsubres.win2k.01_1, tests.rawsubres.sunos.01_2, tests.rawsubres.hpux.01_2, tests.rawsubres.linux.01_2, tests.rawsubres.win2k.01_2, tests.rawsubres.sunos.01_3, tests.rawsubres.hpux.01_3, tests.rawsubres.linux.01_3, tests.rawsubres.win2k.01_3, tests.rawsubre!
s.sunos.02_1, tests.rawsubres.hpux.02_1, tests.rawsubres.linux.02_1, tests.rawsubres.win2k.02_1, tests.rawsubres.sunos.02_2, tests.rawsubres.hpux.02_2, tests.rawsubres.linux.02_2, tests.rawsubres.win2k.02_2, tests.rawsubres.sunos.02_3, tests.rawsubres.hpux.02_3, tests.rawsubres.linux.02_3, tests.rawsubres.win2k.02_3">
+ </target>
+
+ <!-- Individual tests targets -->
+
+ <target name="tests.basic.sunos.current" if="internal.run.basic.sunos">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: current tests on SunOS"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-currenttests01-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/66_${url.version}_SunOS.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.basic.hpux.current" if="internal.run.basic.hpux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: current tests on HPUX"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-currenttests01-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/66_${url.version}_HPUX.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.basic.linux.current" if="internal.run.basic.linux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: current tests on Linux"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-currenttests01-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/66_${url.version}_Linux.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.basic.win2k.current" if="internal.run.basic.win2k">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: current tests on Win2K"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-currenttests01-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/66_${url.version}_Win2K.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.basic.sunos.jta" if="internal.run.basic.sunos">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: JTA tests on SunOS"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-jtatests01-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/70_${url.version}_SunOS.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.basic.hpux.jta" if="internal.run.basic.hpux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: JTA tests on HPUX"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-jtatests01-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/70_${url.version}_HPUX.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.basic.linux.jta" if="internal.run.basic.linux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: JTA tests on Linux"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-jtatests01-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/70_${url.version}_Linux.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.basic.win2k.jta" if="internal.run.basic.win2k">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: JTA tests on Win2K"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-jtatests01-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/70_${url.version}_Win2K.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.basic.sunos.otsserver" if="internal.run.basic.sunos">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: OTS server on SunOS"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-otsserver-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/71_${url.version}_SunOS.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.basic.hpux.otsserver" if="internal.run.basic.hpux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: OTS server on HPUX"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-otsserver-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/71_${url.version}_HPUX.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.basic.linux.otsserver" if="internal.run.basic.linux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: OTS server on Linux"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-otsserver-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/71_${url.version}_Linux.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.basic.win2k.otsserver" if="internal.run.basic.win2k">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: OTS server on Win2K"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-otsserver-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/71_${url.version}_Win2K.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.jdbc.sunos.jdbcres.01-firstsql" if="internal.run.jdbc.sunos">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: JDBC resouces 01 - First SQL tests on SunOS"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-jdbcresources01-firstsql_jndi-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/137_${url.version}_SunOS.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.jdbc.hpux.jdbcres.01-firstsql" if="internal.run.jdbc.hpux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: JDBC resouces 01 - First SQL tests on HPUX"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-jdbcresources01-firstsql_jndi-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/137_${url.version}_HPUX.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.jdbc.linux.jdbcres.01-firstsql" if="internal.run.jdbc.linux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: JDBC resouces 01 - First SQL tests on Linux"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-jdbcresources01-firstsql_jndi-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/137_${url.version}_Linux.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.jdbc.win2k.jdbcres.01-firstsql" if="internal.run.jdbc.win2k">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: JDBC resouces 01 - First SQL tests on Win2K"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-jdbcresources01-firstsql_jndi-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/137_${url.version}_Win2K.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.jdbc.sunos.jdbcres.01-oracle" if="internal.run.jdbc.sunos">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: JDBC resouces 01 - Oracle tests on SunOS"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-jdbcresources01-oracle_thin_jndi-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/117_${url.version}_SunOS.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.jdbc.hpux.jdbcres.01-oracle" if="internal.run.jdbc.hpux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: JDBC resouces 01 - Oracle tests on HPUX"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-jdbcresources01-oracle_thin_jndi-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/117_${url.version}_HPUX.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.jdbc.linux.jdbcres.01-oracle" if="internal.run.jdbc.linux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: JDBC resouces 01 - Oracle tests on Linux"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-jdbcresources01-oracle_thin_jndi-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/117_${url.version}_Linux.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.jdbc.win2k.jdbcres.01-oracle" if="internal.run.jdbc.win2k">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: JDBC resouces 01 - Oracle tests on Win2K"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-jdbcresources01-oracle_thin_jndi-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/117_${url.version}_Win2K.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.jdbc.sunos.jdbcres.01-mssql" if="internal.run.jdbc.sunos">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: JDBC resouces 01 - MS SQL tests on SunOS"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-jdbcresources01_mssqlserver_jndi-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/119_${url.version}_SunOS.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.jdbc.hpux.jdbcres.01-mssql" if="internal.run.jdbc.hpux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: JDBC resouces 01 - MS SQL tests on HPUX"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-jdbcresources01_mssqlserver_jndi-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/119_${url.version}_HPUX.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.jdbc.linux.jdbcres.01-mssql" if="internal.run.jdbc.linux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: JDBC resouces 01 - MS SQL tests on Linux"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-jdbcresources01_mssqlserver_jndi-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/119_${url.version}_Linux.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.jdbc.win2k.jdbcres.01-mssql" if="internal.run.jdbc.win2k">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: JDBC resouces 01 - MS SQL tests on Win2K"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-jdbcresources01_mssqlserver_jndi-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/119_${url.version}_Win2K.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.jdbc.sunos.jdbcres.02-firstsql" if="internal.run.jdbc.sunos">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: JDBC resouces 02 - First SQL tests on SunOS"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-jdbcresources02-firstsql_jndi-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/141_${url.version}_SunOS.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.jdbc.hpux.jdbcres.02-firstsql" if="internal.run.jdbc.hpux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: JDBC resouces 02 - First SQL tests on HPUX"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-jdbcresources02-firstsql_jndi-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/141_${url.version}_HPUX.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.jdbc.linux.jdbcres.02-firstsql" if="internal.run.jdbc.linux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: JDBC resouces 02 - First SQL tests on Linux"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-jdbcresources02-firstsql_jndi-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/141_${url.version}_Linux.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.jdbc.win2k.jdbcres.02-firstsql" if="internal.run.jdbc.win2k">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: JDBC resouces 02 - First SQL tests on Win2K"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-jdbcresources02-firstsql_jndi-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/141_${url.version}_Win2K.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.jdbc.sunos.jdbcres.02-oracle" if="internal.run.jdbc.sunos">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: JDBC resouces 02 - Oracle tests on SunOS"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-jdbcresources02-oracle_thin_jndi-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/138_${url.version}_SunOS.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.jdbc.hpux.jdbcres.02-oracle" if="internal.run.jdbc.hpux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: JDBC resouces 02 - Oracle tests on HPUX"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-jdbcresources02-oracle_thin_jndi-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/138_${url.version}_HPUX.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.jdbc.linux.jdbcres.02-oracle" if="internal.run.jdbc.linux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: JDBC resouces 02 - Oracle tests on Linux"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-jdbcresources02-oracle_thin_jndi-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/138_${url.version}_Linux.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.jdbc.win2k.jdbcres.02-oracle" if="internal.run.jdbc.win2k">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: JDBC resouces 02 - Oracle tests on Win2K"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-jdbcresources02-oracle_thin_jndi-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/138_${url.version}_Win2K.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.jdbc.sunos.jdbcres.02-mssql" if="internal.run.jdbc.sunos">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: JDBC resouces 02 - MS SQL tests on SunOS"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-jdbcresources02_mssqlserver_jndi-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/147_${url.version}_SunOS.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.jdbc.hpux.jdbcres.02-mssql" if="internal.run.jdbc.hpux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: JDBC resouces 02 - MS SQL tests on HPUX"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-jdbcresources02_mssqlserver_jndi-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/147_${url.version}_HPUX.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.jdbc.linux.jdbcres.02-mssql" if="internal.run.jdbc.linux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: JDBC resouces 02 - MS SQL tests on Linux"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-jdbcresources02_mssqlserver_jndi-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/147_${url.version}_Linux.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.jdbc.win2k.jdbcres.02-mssql" if="internal.run.jdbc.win2k">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: JDBC resouces 02 - MS SQL tests on Win2K"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-jdbcresources02_mssqlserver_jndi-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/147_${url.version}_Win2K.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.crashrec.sunos.01" if="internal.run.crashrecovery.sunos">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: crash recovery 01 on SunOS"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-crashrecovery01-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/72_${url.version}_SunOS.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.crashrec.hpux.01" if="internal.run.crashrecovery.hpux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: crash recovery 01 on HPUX"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-crashrecovery01-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/72_${url.version}_HPUX.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.crashrec.linux.01" if="internal.run.crashrecovery.linux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: crash recovery 01 on Linux"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-crashrecovery01-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/72_${url.version}_Linux.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.crashrec.win2k.01" if="internal.run.crashrecovery.win2k">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: crash recovery 01 on Win2K"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-crashrecovery01-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/72_${url.version}_Win2K.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.crashrec.sunos.02_1" if="internal.run.crashrecovery.sunos">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: crash recovery 02_1 on SunOS"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-crashrecovery02_1-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/73_${url.version}_SunOS.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.crashrec.hpux.02_1" if="internal.run.crashrecovery.hpux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: crash recovery 02_1 on HPUX"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-crashrecovery02_1-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/73_${url.version}_HPUX.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.crashrec.linux.02_1" if="internal.run.crashrecovery.linux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: crash recovery 02_1 on Linux"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-crashrecovery02_1-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/73_${url.version}_Linux.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.crashrec.win2k.02_1" if="internal.run.crashrecovery.win2k">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: crash recovery 02_1 on Win2K"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-crashrecovery02_1-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/73_${url.version}_Win2K.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.crashrec.sunos.02_2" if="internal.run.crashrecovery.sunos">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: crash recovery 02_2 on SunOS"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-crashrecovery02_2-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/74_${url.version}_SunOS.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.crashrec.hpux.02_2" if="internal.run.crashrecovery.hpux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: crash recovery 02_2 on HPUX"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-crashrecovery02_2-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/74_${url.version}_HPUX.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.crashrec.linux.02_2" if="internal.run.crashrecovery.linux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: crash recovery 02_2 on Linux"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-crashrecovery02_2-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/74_${url.version}_Linux.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.crashrec.win2k.02_2" if="internal.run.crashrecovery.win2k">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: crash recovery 02_2 on Win2K"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-crashrecovery02_2-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/74_${url.version}_Win2K.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.crashrec.sunos.03" if="internal.run.crashrecovery.sunos">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: crash recovery 03 on SunOS"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-crashrecovery03-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/75_${url.version}_SunOS.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.crashrec.hpux.03" if="internal.run.crashrecovery.hpux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: crash recovery 03 on HPUX"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-crashrecovery03-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/75_${url.version}_HPUX.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.crashrec.linux.03" if="internal.run.crashrecovery.linux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: crash recovery 03 on Linux"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-crashrecovery03-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/75_${url.version}_Linux.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.crashrec.win2k.03" if="internal.run.crashrecovery.win2k">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: crash recovery 03 on Win2K"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-crashrecovery03-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/75_${url.version}_Win2K.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.crashrec.sunos.04" if="internal.run.crashrecovery.sunos">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: crash recovery 04 on SunOS"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-crashrecovery04-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/76_${url.version}_SunOS.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.crashrec.hpux.04" if="internal.run.crashrecovery.hpux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: crash recovery 04 on HPUX"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-crashrecovery04-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/76_${url.version}_HPUX.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.crashrec.linux.04" if="internal.run.crashrecovery.linux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: crash recovery 04 on Linux"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-crashrecovery04-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/76_${url.version}_Linux.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.crashrec.win2k.04" if="internal.run.crashrecovery.win2k">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: crash recovery 04 on Win2K"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-crashrecovery04-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/76_${url.version}_Win2K.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.crashrec.sunos.05_1" if="internal.run.crashrecovery.sunos">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: crash recovery 05_1 on SunOS"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-crashrecovery05_1-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/77_${url.version}_SunOS.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.crashrec.hpux.05_1" if="internal.run.crashrecovery.hpux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: crash recovery 05_1 on HPUX"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-crashrecovery05_1-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/77_${url.version}_HPUX.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.crashrec.linux.05_1" if="internal.run.crashrecovery.linux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: crash recovery 05_1 on Linux"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-crashrecovery05_1-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/77_${url.version}_Linux.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.crashrec.win2k.05_1" if="internal.run.crashrecovery.win2k">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: crash recovery 05_1 on Win2K"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-crashrecovery05_1-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/77_${url.version}_Win2K.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.crashrec.sunos.05_2" if="internal.run.crashrecovery.sunos">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: crash recovery 05_2 on SunOS"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-crashrecovery05_2-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/78_${url.version}_SunOS.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.crashrec.hpux.05_2" if="internal.run.crashrecovery.hpux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: crash recovery 05_2 on HPUX"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-crashrecovery05_2-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/78_${url.version}_HPUX.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.crashrec.linux.05_2" if="internal.run.crashrecovery.linux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: crash recovery 05_2 on Linux"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-crashrecovery05_2-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/78_${url.version}_Linux.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.crashrec.win2k.05_2" if="internal.run.crashrecovery.win2k">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: crash recovery 05_2 on Win2K"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-crashrecovery05_2-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/78_${url.version}_Win2K.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.crashrec.sunos.06" if="internal.run.crashrecovery.sunos">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: crash recovery 06 on SunOS"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-crashrecovery06-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/79_${url.version}_SunOS.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.crashrec.hpux.06" if="internal.run.crashrecovery.hpux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: crash recovery 06 on HPUX"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-crashrecovery06-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/79_${url.version}_HPUX.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.crashrec.linux.06" if="internal.run.crashrecovery.linux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: crash recovery 06 on Linux"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-crashrecovery06-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/79_${url.version}_Linux.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.crashrec.win2k.06" if="internal.run.crashrecovery.win2k">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: crash recovery 06 on Win2K"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-crashrecovery06-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/79_${url.version}_Win2K.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.crashrec.sunos.07" if="internal.run.crashrecovery.sunos">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: crash recovery 07 on SunOS"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-crashrecovery07-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/80_${url.version}_SunOS.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.crashrec.hpux.07" if="internal.run.crashrecovery.hpux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: crash recovery 07 on HPUX"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-crashrecovery07-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/80_${url.version}_HPUX.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.crashrec.linux.07" if="internal.run.crashrecovery.linux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: crash recovery 07 on Linux"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-crashrecovery07-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/80_${url.version}_Linux.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.crashrec.win2k.07" if="internal.run.crashrecovery.win2k">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: crash recovery 07 on Win2K"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-crashrecovery07-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/80_${url.version}_Win2K.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.crashrec.sunos.08" if="internal.run.crashrecovery.sunos">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: crash recovery 08 on SunOS"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-crashrecovery08-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/81_${url.version}_SunOS.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.crashrec.hpux.08" if="internal.run.crashrecovery.hpux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: crash recovery 08 on HPUX"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-crashrecovery08-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/81_${url.version}_HPUX.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.crashrec.linux.08" if="internal.run.crashrecovery.linux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: crash recovery 08 on Linux"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-crashrecovery08-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/81_${url.version}_Linux.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.crashrec.win2k.08" if="internal.run.crashrecovery.win2k">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: crash recovery 08 on Win2K"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-crashrecovery08-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/81_${url.version}_Win2K.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.crashrec.sunos.12" if="internal.run.crashrecovery.sunos">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: crash recovery 12 on SunOS"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-crashrecovery12-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/146_${url.version}_SunOS.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.crashrec.hpux.12" if="internal.run.crashrecovery.hpux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: crash recovery 12 on HPUX"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-crashrecovery12-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/146_${url.version}_HPUX.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.crashrec.linux.12" if="internal.run.crashrecovery.linux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: crash recovery 12 on Linux"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-crashrecovery12-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/146_${url.version}_Linux.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.crashrec.win2k.12" if="internal.run.crashrecovery.win2k">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: crash recovery 12 on Win2K"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-crashrecovery12-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/146_${url.version}_Win2K.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.rawres.sunos.01_1" if="internal.run.rawresources.sunos">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: raw resources 01_1 on SunOS"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-rawresources01_1-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/84_${url.version}_SunOS.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.rawres.hpux.01_1" if="internal.run.rawresources.hpux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: raw resources 01_1 on HPUX"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-rawresources01_1-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/84_${url.version}_HPUX.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.rawres.linux.01_1" if="internal.run.rawresources.linux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: raw resources 01_1 on Linux"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-rawresources01_1-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/84_${url.version}_Linux.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.rawres.win2k.01_1" if="internal.run.rawresources.win2k">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: raw resources 01_1 on Win2K"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-rawresources01_1-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/84_${url.version}_Win2K.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.rawres.sunos.01_2" if="internal.run.rawresources.sunos">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: raw resources 01_2 on SunOS"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-rawresources01_2-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/85_${url.version}_SunOS.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.rawres.hpux.01_2" if="internal.run.rawresources.hpux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: raw resources 01_2 on HPUX"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-rawresources01_2-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/85_${url.version}_HPUX.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.rawres.linux.01_2" if="internal.run.rawresources.linux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: raw resources 01_2 on Linux"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-rawresources01_2-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/85_${url.version}_Linux.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.rawres.win2k.01_2" if="internal.run.rawresources.win2k">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: raw resources 01_2 on Win2K"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-rawresources01_2-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/85_${url.version}_Win2K.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.rawres.sunos.01_3" if="internal.run.rawresources.sunos">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: raw resources 01_3 on SunOS"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-rawresources01_3-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/86_${url.version}_SunOS.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.rawres.hpux.01_3" if="internal.run.rawresources.hpux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: raw resources 01_3 on HPUX"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-rawresources01_3-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/86_${url.version}_HPUX.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.rawres.linux.01_3" if="internal.run.rawresources.linux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: raw resources 01_3 on Linux"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-rawresources01_3-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/86_${url.version}_Linux.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.rawres.win2k.01_3" if="internal.run.rawresources.win2k">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: raw resources 01_3 on Win2K"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-rawresources01_3-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/86_${url.version}_Win2K.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.rawres.sunos.02_1" if="internal.run.rawresources.sunos">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: raw resources 02_1 on SunOS"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-rawresources02_1-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/87_${url.version}_SunOS.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.rawres.hpux.02_1" if="internal.run.rawresources.hpux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: raw resources 02_1 on HPUX"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-rawresources02_1-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/87_${url.version}_HPUX.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.rawres.linux.02_1" if="internal.run.rawresources.linux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: raw resources 02_1 on Linux"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-rawresources02_1-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/87_${url.version}_Linux.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.rawres.win2k.02_1" if="internal.run.rawresources.win2k">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: raw resources 02_1 on Win2K"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-rawresources02_1-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/87_${url.version}_Win2K.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.rawres.sunos.02_2" if="internal.run.rawresources.sunos">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: raw resources 02_2 on SunOS"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-rawresources02_2-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/88_${url.version}_SunOS.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.rawres.hpux.02_2" if="internal.run.rawresources.hpux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: raw resources 02_2 on HPUX"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-rawresources02_2-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/88_${url.version}_HPUX.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.rawres.linux.02_2" if="internal.run.rawresources.linux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: raw resources 02_2 on Linux"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-rawresources02_2-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/88_${url.version}_Linux.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.rawres.win2k.02_2" if="internal.run.rawresources.win2k">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: raw resources 02_2 on Win2K"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-rawresources02_2-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/88_${url.version}_Win2K.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.rawres.sunos.02_3" if="internal.run.rawresources.sunos">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: raw resources 02_3 on SunOS"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-rawresources02_3-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/89_${url.version}_SunOS.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.rawres.hpux.02_3" if="internal.run.rawresources.hpux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: raw resources 02_3 on HPUX"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-rawresources02_3-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/89_${url.version}_HPUX.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.rawres.linux.02_3" if="internal.run.rawresources.linux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: raw resources 02_3 on Linux"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-rawresources02_3-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/89_${url.version}_Linux.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.rawres.win2k.02_3" if="internal.run.rawresources.win2k">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: raw resources 02_3 on Win2K"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-rawresources02_3-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/89_${url.version}_Win2K.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.rawsubres.sunos.01_1" if="internal.run.rawresources.sunos">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: raw sub-transaction aware resources 01_1 on SunOS"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-rawsubtransactionawareresources01_1-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/90_${url.version}_SunOS.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.rawsubres.hpux.01_1" if="internal.run.rawresources.hpux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: raw sub-transaction aware resources 01_1 on HPUX"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-rawsubtransactionawareresources01_1-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/90_${url.version}_HPUX.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.rawsubres.linux.01_1" if="internal.run.rawresources.linux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: raw sub-transaction aware resources 01_1 on Linux"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-rawsubtransactionawareresources01_1-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/90_${url.version}_Linux.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.rawsubres.win2k.01_1" if="internal.run.rawresources.win2k">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: raw sub-transaction aware resources 01_1 on Win2K"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-rawsubtransactionawareresources01_1-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/90_${url.version}_Win2K.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.rawsubres.sunos.01_2" if="internal.run.rawresources.sunos">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: raw sub-transaction aware resources 01_2 on SunOS"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-rawsubtransactionawareresources01_2-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/91_${url.version}_SunOS.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.rawsubres.hpux.01_2" if="internal.run.rawresources.hpux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: raw sub-transaction aware resources 01_2 on HPUX"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-rawsubtransactionawareresources01_2-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/91_${url.version}_HPUX.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.rawsubres.linux.01_2" if="internal.run.rawresources.linux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: raw sub-transaction aware resources 01_2 on Linux"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-rawsubtransactionawareresources01_2-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/91_${url.version}_Linux.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.rawsubres.win2k.01_2" if="internal.run.rawresources.win2k">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: raw sub-transaction aware resources 01_2 on Win2K"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-rawsubtransactionawareresources01_2-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/91_${url.version}_Win2K.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.rawsubres.sunos.01_3" if="internal.run.rawresources.sunos">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: raw sub-transaction aware resources 01_3 on SunOS"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-rawsubtransactionawareresources01_3-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/92_${url.version}_SunOS.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.rawsubres.hpux.01_3" if="internal.run.rawresources.hpux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: raw sub-transaction aware resources 01_3 on HPUX"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-rawsubtransactionawareresources01_3-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/92_${url.version}_HPUX.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.rawsubres.linux.01_3" if="internal.run.rawresources.linux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: raw sub-transaction aware resources 01_3 on Linux"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-rawsubtransactionawareresources01_3-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/92_${url.version}_Linux.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.rawsubres.win2k.01_3" if="internal.run.rawresources.win2k">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: raw sub-transaction aware resources 01_3 on Win2K"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-rawsubtransactionawareresources01_3-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/92_${url.version}_Win2K.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.rawsubres.sunos.02_1" if="internal.run.rawresources.sunos">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: raw sub-transaction aware resources 02_1 on SunOS"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-rawsubtransactionawareresources02_1-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/93_${url.version}_SunOS.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.rawsubres.hpux.02_1" if="internal.run.rawresources.hpux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: raw sub-transaction aware resources 02_1 on HPUX"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-rawsubtransactionawareresources02_1-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/93_${url.version}_HPUX.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.rawsubres.linux.02_1" if="internal.run.rawresources.linux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: raw sub-transaction aware resources 02_1 on Linux"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-rawsubtransactionawareresources02_1-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/93_${url.version}_Linux.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.rawsubres.win2k.02_1" if="internal.run.rawresources.win2k">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: raw sub-transaction aware resources 02_1 on Win2K"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-rawsubtransactionawareresources02_1-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/93_${url.version}_Win2K.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.rawsubres.sunos.02_2" if="internal.run.rawresources.sunos">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: raw sub-transaction aware resources 02_2 on SunOS"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-rawsubtransactionawareresources02_2-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/94_${url.version}_SunOS.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.rawsubres.hpux.02_2" if="internal.run.rawresources.hpux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: raw sub-transaction aware resources 02_2 on HPUX"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-rawsubtransactionawareresources02_2-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/94_${url.version}_HPUX.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.rawsubres.linux.02_2" if="internal.run.rawresources.linux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: raw sub-transaction aware resources 02_2 on Linux"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-rawsubtransactionawareresources02_2-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/94_${url.version}_Linux.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.rawsubres.win2k.02_2" if="internal.run.rawresources.win2k">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: raw sub-transaction aware resources 02_2 on Win2K"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-rawsubtransactionawareresources02_2-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/94_${url.version}_Win2K.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.rawsubres.sunos.02_3" if="internal.run.rawresources.sunos">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: raw sub-transaction aware resources 02_3 on SunOS"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-rawsubtransactionawareresources02_3-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/95_${url.version}_SunOS.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.rawsubres.hpux.02_3" if="internal.run.rawresources.hpux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: raw sub-transaction aware resources 02_3 on HPUX"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-rawsubtransactionawareresources02_3-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/95_${url.version}_HPUX.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.rawsubres.linux.02_3" if="internal.run.rawresources.linux">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: raw sub-transaction aware resources 02_3 on Linux"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-rawsubtransactionawareresources02_3-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/95_${url.version}_Linux.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+ <target name="tests.rawsubres.win2k.02_3" if="internal.run.rawresources.win2k">
+
+ <sleep seconds="1"/>
+
+ <echo message="Scheduling test run: raw sub-transaction aware resources 02_3 on Win2K"/>
+
+ <schedule nameserviceuri="${nameservice.uri}">
+
+ <runwhenpossible>
+
+ <testrun testdefsurl="${testdefs.baseurl}/jbossts-qa-rawsubtransactionawareresources02_3-testdefs.xml"
+ testselectionsurl="${testselections.baseurl}/95_${url.version}_Win2K.xml"
+ distributionlist="${distribution.list}"
+ softwareversion="${software.version}"/>
+
+ </runwhenpossible>
+
+ </schedule>
+
+ </target>
+
+</project>
Added: labs/jbosstm/trunk/qa/config/run-tests.sh
===================================================================
--- labs/jbosstm/trunk/qa/config/run-tests.sh (rev 0)
+++ labs/jbosstm/trunk/qa/config/run-tests.sh 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,59 @@
+#
+# JBoss, Home of Professional Open Source
+# Copyright 2007, Red Hat Middleware LLC, and individual contributors
+# as indicated by the @author tags.
+# 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.
+#
+# (C) 2005-2006,
+# @author JBoss Inc.
+#
+#!/bin/bash
+
+(
+function waitUntilComplete()
+{
+ echo "Waiting for tests to finish at `date`"
+ sleep 120
+ while [ `GET http://dtf/dtf/summary.jsp` -gt 0 ]
+ do
+ sleep 30
+ done
+ echo "Tests finished at `date`, restarting all testnodes and pausing"
+ GET 'http://dtf/dtf/default.jsp?page=nodemanager&function=restartall' >/dev/null
+ sleep 30
+ echo "Testnodes started at `date`, restarting coordinator and pausing"
+ GET 'http://dtf/dtf/default.jsp?page=nodemanager&function=restartcoordinator' >/dev/null
+ sleep 30
+ echo "Continuing test run at `date`"
+}
+
+export ANT_HOME=/usr/local/ant-1.5.3/
+export JAVA_HOME=/opt/j2sdk1.4.2/
+
+export PATH=${JAVA_HOME}/bin:${ANT_HOME}/bin:${PATH}
+
+ant -Dcvs.tag=ATS_4_0_2_RC1 -Dtests.linux=yes -Dtests.sunos=yes -Dtests.win2k=yes -f run-qa.xml -Dtests.basic=yes
+
+waitUntilComplete
+
+ant -Dcvs.tag=ATS_4_0_2_RC1 -Dtests.linux=yes -Dtests.sunos=yes -Dtests.win2k=yes -f run-qa.xml -Dtests.rawresources=yes
+
+waitUntilComplete
+
+ant -Dcvs.tag=ATS_4_0_2_RC1 -Dtests.linux=yes -Dtests.sunos=yes -Dtests.win2k=yes -f run-qa.xml -Dtests.crashrecovery=yes
+
+waitUntilComplete
+
+ant -Dcvs.tag=ATS_4_0_2_RC1 -Dtests.linux=yes -Dtests.sunos=yes -Dtests.win2k=yes -f run-qa.xml -Dtests.jdbc=yes
+) > run-tests.out 2>run-tests.err </dev/null &
Property changes on: labs/jbosstm/trunk/qa/config/run-tests.sh
___________________________________________________________________
Name: svn:executable
+ *
Added: labs/jbosstm/trunk/qa/testdefs/jbossts-qa-ait01_otstransactionmanager-testdefs.xml
===================================================================
--- labs/jbosstm/trunk/qa/testdefs/jbossts-qa-ait01_otstransactionmanager-testdefs.xml (rev 0)
+++ labs/jbosstm/trunk/qa/testdefs/jbossts-qa-ait01_otstransactionmanager-testdefs.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,1640 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<test_set>
+ <default_timeout value="480"/>
+ <description>AIT Tests 01 - OTSTransactionManager</description>
+
+
+ <test_group name="AIT01_OTSTransactionManager">
+ <task_declaration>
+
+ <task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" classname="org.jboss.jbossts.qa.Utils.RegisterOTSServer"
+ runner="UnitTestRunner" type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" classname="org.jboss.jbossts.qa.Utils.SetupOTSServer"
+ runner="UnitTestRunner" type="expect_ready"/>
+
+ <task id="com.arjuna.ats.arjuna.recovery.RecoveryManager"
+ classname="com.arjuna.ats.arjuna.recovery.RecoveryManager" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="com.arjuna.ats.jts.TransactionServer" classname="com.arjuna.ats.jts.TransactionServer"
+ runner="JavaTaskRunner" type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.AITResources01Servers.Server01"
+ classname="org.jboss.jbossts.qa.AITResources01Servers.Server01" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.AITResources01Clients.Client01"
+ classname="org.jboss.jbossts.qa.AITResources01Clients.Client01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" classname="org.jboss.jbossts.qa.Utils.EmptyObjectStore"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore"
+ classname="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.AITResources01Servers.Server02"
+ classname="org.jboss.jbossts.qa.AITResources01Servers.Server02" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.AITResources01Servers.Server03"
+ classname="org.jboss.jbossts.qa.AITResources01Servers.Server03" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.AITResources01Servers.Server04"
+ classname="org.jboss.jbossts.qa.AITResources01Servers.Server04" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.AITResources01Servers.Server05"
+ classname="org.jboss.jbossts.qa.AITResources01Servers.Server05" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.AITResources01Servers.Server06"
+ classname="org.jboss.jbossts.qa.AITResources01Servers.Server06" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.AITResources01Clients.Client02"
+ classname="org.jboss.jbossts.qa.AITResources01Clients.Client02" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ </task_declaration>
+ <test_declaration id="AIT01_OTS_TransactionManager_Test001_(F)" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AIT01 OTS_TransactionManager Test001 (F)'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="com.arjuna.ats.jts.TransactionServer" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" location="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </perform_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <jvm_param>-DOTS_TRANSACTION_MANAGER=YES</jvm_param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AIT01_OTS_TransactionManager_Test002_(F)" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AIT01 OTS_TransactionManager Test002 (F)'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="com.arjuna.ats.jts.TransactionServer" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" location="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </perform_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <jvm_param>-DOTS_TRANSACTION_MANAGER=YES</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <jvm_param>-DOTS_TRANSACTION_MANAGER=YES</jvm_param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AIT01_OTS_TransactionManager_Test003_(F)" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AIT01 OTS_TransactionManager Test003 (F)'
+ </description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="com.arjuna.ats.jts.TransactionServer" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" location="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </perform_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server01" runtime_id="server4">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <jvm_param>-DOTS_TRANSACTION_MANAGER=YES</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <jvm_param>-DOTS_TRANSACTION_MANAGER=YES</jvm_param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AIT01_OTS_TransactionManager_Test004_(F)" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AIT01 OTS_TransactionManager Test004 (F)'
+ </description>
+ <configuration names_required="4"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="com.arjuna.ats.jts.TransactionServer" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" location="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </perform_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server01" runtime_id="server4">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server01" runtime_id="server5">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <jvm_param>-DOTS_TRANSACTION_MANAGER=YES</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <jvm_param>-DOTS_TRANSACTION_MANAGER=YES</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <jvm_param>-DOTS_TRANSACTION_MANAGER=YES</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(4)</param>
+ <jvm_param>-DOTS_TRANSACTION_MANAGER=YES</jvm_param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <wait_for_task runtime_id="client3"/>
+ <terminate_task runtime_id="server5"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AIT01_OTS_TransactionManager_Test005_(F)" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AIT01 OTS_TransactionManager Test005 (F)'
+ </description>
+ <configuration names_required="4"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="com.arjuna.ats.jts.TransactionServer" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" location="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </perform_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <jvm_param>-DOTS_TRANSACTION_MANAGER=YES</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <jvm_param>-DOTS_TRANSACTION_MANAGER=YES</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <jvm_param>-DOTS_TRANSACTION_MANAGER=YES</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(4)</param>
+ <jvm_param>-DOTS_TRANSACTION_MANAGER=YES</jvm_param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <wait_for_task runtime_id="client3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AIT01_OTS_TransactionManager_Test006_(F)" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AIT01 OTS_TransactionManager Test006 (F)'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="com.arjuna.ats.jts.TransactionServer" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" location="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </perform_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server03" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <jvm_param>-DOTS_TRANSACTION_MANAGER=YES</jvm_param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AIT01_OTS_TransactionManager_Test007_(F)" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AIT01 OTS_TransactionManager Test007 (F)'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="com.arjuna.ats.jts.TransactionServer" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" location="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </perform_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server03" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server03" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <jvm_param>-DOTS_TRANSACTION_MANAGER=YES</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <jvm_param>-DOTS_TRANSACTION_MANAGER=YES</jvm_param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AIT01_OTS_TransactionManager_Test008_(F)" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AIT01 OTS_TransactionManager Test008 (F)'
+ </description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="com.arjuna.ats.jts.TransactionServer" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" location="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </perform_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server03" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server03" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server03" runtime_id="server4">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <jvm_param>-DOTS_TRANSACTION_MANAGER=YES</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <jvm_param>-DOTS_TRANSACTION_MANAGER=YES</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <jvm_param>-DOTS_TRANSACTION_MANAGER=YES</jvm_param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AIT01_OTS_TransactionManager_Test009_(F)" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AIT01 OTS_TransactionManager Test009 (F)'
+ </description>
+ <configuration names_required="4"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="com.arjuna.ats.jts.TransactionServer" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" location="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </perform_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server03" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server03" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server03" runtime_id="server4">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server03" runtime_id="server5">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <jvm_param>-DOTS_TRANSACTION_MANAGER=YES</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <jvm_param>-DOTS_TRANSACTION_MANAGER=YES</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <jvm_param>-DOTS_TRANSACTION_MANAGER=YES</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(4)</param>
+ <jvm_param>-DOTS_TRANSACTION_MANAGER=YES</jvm_param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <wait_for_task runtime_id="client3"/>
+ <terminate_task runtime_id="server5"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AIT01_OTS_TransactionManager_Test010_(F)" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AIT01 OTS_TransactionManager Test010 (F)'
+ </description>
+ <configuration names_required="4"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="com.arjuna.ats.jts.TransactionServer" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" location="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </perform_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server04" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <jvm_param>-DOTS_TRANSACTION_MANAGER=YES</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <jvm_param>-DOTS_TRANSACTION_MANAGER=YES</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <jvm_param>-DOTS_TRANSACTION_MANAGER=YES</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(4)</param>
+ <jvm_param>-DOTS_TRANSACTION_MANAGER=YES</jvm_param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <wait_for_task runtime_id="client3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AIT01_OTS_TransactionManager_Test011_(F)" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AIT01 OTS_TransactionManager Test011 (F)'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="com.arjuna.ats.jts.TransactionServer" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" location="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </perform_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server05" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <jvm_param>-DOTS_TRANSACTION_MANAGER=YES</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <jvm_param>-DOTS_TRANSACTION_MANAGER=YES</jvm_param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AIT01_OTS_TransactionManager_Test012_(F)" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AIT01 OTS_TransactionManager Test012 (F)'
+ </description>
+ <configuration names_required="4"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="com.arjuna.ats.jts.TransactionServer" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" location="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </perform_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server06" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <jvm_param>-DOTS_TRANSACTION_MANAGER=YES</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <jvm_param>-DOTS_TRANSACTION_MANAGER=YES</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <jvm_param>-DOTS_TRANSACTION_MANAGER=YES</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(4)</param>
+ <jvm_param>-DOTS_TRANSACTION_MANAGER=YES</jvm_param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <wait_for_task runtime_id="client3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AIT01_OTS_TransactionManager_Test013_(F)" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AIT01 OTS_TransactionManager Test013 (F)'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="com.arjuna.ats.jts.TransactionServer" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" location="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </perform_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <jvm_param>-DOTS_TRANSACTION_MANAGER=YES</jvm_param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AIT01_OTS_TransactionManager_Test014_(F)" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AIT01 OTS_TransactionManager Test014 (F)'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="com.arjuna.ats.jts.TransactionServer" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" location="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </perform_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <jvm_param>-DOTS_TRANSACTION_MANAGER=YES</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <jvm_param>-DOTS_TRANSACTION_MANAGER=YES</jvm_param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AIT01_OTS_TransactionManager_Test015_(F)" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AIT01 OTS_TransactionManager Test015 (F)'
+ </description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="com.arjuna.ats.jts.TransactionServer" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" location="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </perform_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server01" runtime_id="server4">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <jvm_param>-DOTS_TRANSACTION_MANAGER=YES</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <jvm_param>-DOTS_TRANSACTION_MANAGER=YES</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <jvm_param>-DOTS_TRANSACTION_MANAGER=YES</jvm_param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AIT01_OTS_TransactionManager_Test016_(F)" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AIT01 OTS_TransactionManager Test016 (F)'
+ </description>
+ <configuration names_required="4"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="com.arjuna.ats.jts.TransactionServer" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" location="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </perform_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server01" runtime_id="server4">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server01" runtime_id="server5">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <jvm_param>-DOTS_TRANSACTION_MANAGER=YES</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <jvm_param>-DOTS_TRANSACTION_MANAGER=YES</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <jvm_param>-DOTS_TRANSACTION_MANAGER=YES</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(4)</param>
+ <jvm_param>-DOTS_TRANSACTION_MANAGER=YES</jvm_param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <wait_for_task runtime_id="client3"/>
+ <terminate_task runtime_id="server5"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AIT01_OTS_TransactionManager_Test017_(F)" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AIT01 OTS_TransactionManager Test017 (F)'
+ </description>
+ <configuration names_required="4"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="com.arjuna.ats.jts.TransactionServer" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" location="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </perform_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <jvm_param>-DOTS_TRANSACTION_MANAGER=YES</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <jvm_param>-DOTS_TRANSACTION_MANAGER=YES</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <jvm_param>-DOTS_TRANSACTION_MANAGER=YES</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(4)</param>
+ <jvm_param>-DOTS_TRANSACTION_MANAGER=YES</jvm_param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <wait_for_task runtime_id="client3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AIT01_OTS_TransactionManager_Test018_(F)" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AIT01 OTS_TransactionManager Test018 (F)'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="com.arjuna.ats.jts.TransactionServer" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" location="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </perform_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server03" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <jvm_param>-DOTS_TRANSACTION_MANAGER=YES</jvm_param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AIT01_OTS_TransactionManager_Test019_(F)" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AIT01 OTS_TransactionManager Test019 (F)'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="com.arjuna.ats.jts.TransactionServer" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" location="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </perform_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server03" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server03" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <jvm_param>-DOTS_TRANSACTION_MANAGER=YES</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <jvm_param>-DOTS_TRANSACTION_MANAGER=YES</jvm_param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AIT01_OTS_TransactionManager_Test020_(F)" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AIT01 OTS_TransactionManager Test020 (F)'
+ </description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="com.arjuna.ats.jts.TransactionServer" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" location="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </perform_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server03" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server03" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server03" runtime_id="server4">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <jvm_param>-DOTS_TRANSACTION_MANAGER=YES</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <jvm_param>-DOTS_TRANSACTION_MANAGER=YES</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <jvm_param>-DOTS_TRANSACTION_MANAGER=YES</jvm_param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AIT01_OTS_TransactionManager_Test021_(F)" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AIT01 OTS_TransactionManager Test021 (F)'
+ </description>
+ <configuration names_required="4"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="com.arjuna.ats.jts.TransactionServer" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" location="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </perform_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server03" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server03" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server03" runtime_id="server4">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server03" runtime_id="server5">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <jvm_param>-DOTS_TRANSACTION_MANAGER=YES</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <jvm_param>-DOTS_TRANSACTION_MANAGER=YES</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <jvm_param>-DOTS_TRANSACTION_MANAGER=YES</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(4)</param>
+ <jvm_param>-DOTS_TRANSACTION_MANAGER=YES</jvm_param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <wait_for_task runtime_id="client3"/>
+ <terminate_task runtime_id="server5"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AIT01_OTS_TransactionManager_Test022_(F)" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AIT01 OTS_TransactionManager Test022 (F)'
+ </description>
+ <configuration names_required="4"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="com.arjuna.ats.jts.TransactionServer" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" location="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </perform_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server04" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <jvm_param>-DOTS_TRANSACTION_MANAGER=YES</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <jvm_param>-DOTS_TRANSACTION_MANAGER=YES</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <jvm_param>-DOTS_TRANSACTION_MANAGER=YES</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(4)</param>
+ <jvm_param>-DOTS_TRANSACTION_MANAGER=YES</jvm_param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <wait_for_task runtime_id="client3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+</test_set>
Added: labs/jbosstm/trunk/qa/testdefs/jbossts-qa-aitresources01-testdefs.xml
===================================================================
--- labs/jbosstm/trunk/qa/testdefs/jbossts-qa-aitresources01-testdefs.xml (rev 0)
+++ labs/jbosstm/trunk/qa/testdefs/jbossts-qa-aitresources01-testdefs.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,2735 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<test_set>
+ <default_timeout value="480"/>
+ <description>AIT Resources Tests 01</description>
+
+
+ <test_group name="AITResources01">
+ <task_declaration>
+ <task id="com.arjuna.ats.arjuna.recovery.RecoveryManager"
+ classname="com.arjuna.ats.arjuna.recovery.RecoveryManager" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.AITResources01Servers.Server01"
+ classname="org.jboss.jbossts.qa.AITResources01Servers.Server01" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.AITResources01Clients.Client01"
+ classname="org.jboss.jbossts.qa.AITResources01Clients.Client01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" classname="org.jboss.jbossts.qa.Utils.EmptyObjectStore"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore"
+ classname="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.AITResources01Servers.Server02"
+ classname="org.jboss.jbossts.qa.AITResources01Servers.Server02" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.AITResources01Servers.Server03"
+ classname="org.jboss.jbossts.qa.AITResources01Servers.Server03" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.AITResources01Servers.Server04"
+ classname="org.jboss.jbossts.qa.AITResources01Servers.Server04" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.AITResources01Servers.Server05"
+ classname="org.jboss.jbossts.qa.AITResources01Servers.Server05" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.AITResources01Servers.Server06"
+ classname="org.jboss.jbossts.qa.AITResources01Servers.Server06" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.AITResources01Clients.Client02"
+ classname="org.jboss.jbossts.qa.AITResources01Clients.Client02" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.AITResources01Clients.Client03"
+ classname="org.jboss.jbossts.qa.AITResources01Clients.Client03" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.AITResources01Clients.Client04"
+ classname="org.jboss.jbossts.qa.AITResources01Clients.Client04" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.AITResources01Servers.Server07"
+ classname="org.jboss.jbossts.qa.AITResources01Servers.Server07" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.AITResources01Clients.Client05"
+ classname="org.jboss.jbossts.qa.AITResources01Clients.Client05" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.AITResources01Clients.Client06"
+ classname="org.jboss.jbossts.qa.AITResources01Clients.Client06" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.AITResources01Servers.Server08"
+ classname="org.jboss.jbossts.qa.AITResources01Servers.Server08" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.AITResources01Clients.Client07"
+ classname="org.jboss.jbossts.qa.AITResources01Clients.Client07" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.AITResources01Clients.Client08"
+ classname="org.jboss.jbossts.qa.AITResources01Clients.Client08" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.AITResources01Clients.Client09"
+ classname="org.jboss.jbossts.qa.AITResources01Clients.Client09" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.AITResources01Outcomes.Outcome01"
+ classname="org.jboss.jbossts.qa.AITResources01Outcomes.Outcome01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.AITResources01Outcomes.Outcome02"
+ classname="org.jboss.jbossts.qa.AITResources01Outcomes.Outcome02" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.AITResources01Clients.Client10"
+ classname="org.jboss.jbossts.qa.AITResources01Clients.Client10" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.AITResources01Clients.Client11"
+ classname="org.jboss.jbossts.qa.AITResources01Clients.Client11" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.AITResources01Clients.Client12"
+ classname="org.jboss.jbossts.qa.AITResources01Clients.Client12" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.AITResources01Clients.Client13"
+ classname="org.jboss.jbossts.qa.AITResources01Clients.Client13" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.AITResources01Servers.Server09"
+ classname="org.jboss.jbossts.qa.AITResources01Servers.Server09" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.AITResources01Servers.Server10"
+ classname="org.jboss.jbossts.qa.AITResources01Servers.Server10" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.AITResources01Clients.Client14"
+ classname="org.jboss.jbossts.qa.AITResources01Clients.Client14" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.AITResources01Clients.Client15"
+ classname="org.jboss.jbossts.qa.AITResources01Clients.Client15" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.AITResources01Clients.Client16"
+ classname="org.jboss.jbossts.qa.AITResources01Clients.Client16" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.AITResources01Clients.Client17"
+ classname="org.jboss.jbossts.qa.AITResources01Clients.Client17" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.AITResources01Servers.Server11"
+ classname="org.jboss.jbossts.qa.AITResources01Servers.Server11" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.AITResources01Clients.Client19"
+ classname="org.jboss.jbossts.qa.AITResources01Clients.Client19" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ </task_declaration>
+ <test_declaration id="AITResources01_Test001_(F)" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AITResources01 Test001 (F)'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AITResources01_Test002_(F)" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AITResources01 Test002 (F)'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AITResources01_Test003_(F)" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AITResources01 Test003 (F)'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AITResources01_Test004_(F)" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AITResources01 Test004 (F)'</description>
+ <configuration names_required="4"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server01" runtime_id="server4">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <wait_for_task runtime_id="client3"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AITResources01_Test005_(F)" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AITResources01 Test005 (F)'</description>
+ <configuration names_required="4"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <wait_for_task runtime_id="client3"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AITResources01_Test006_(F)" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AITResources01 Test006 (F)'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AITResources01_Test007_(F)" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AITResources01 Test007 (F)'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server03" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AITResources01_Test008_(F)" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AITResources01 Test008 (F)'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server03" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server03" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AITResources01_Test009_(F)" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AITResources01 Test009 (F)'</description>
+ <configuration names_required="4"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server03" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server03" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server03" runtime_id="server4">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <wait_for_task runtime_id="client3"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AITResources01_Test010_(F)" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AITResources01 Test010 (F)'</description>
+ <configuration names_required="4"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server04" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <wait_for_task runtime_id="client3"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AITResources01_Test011_(F)" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AITResources01 Test011 (F)'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server05" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AITResources01_Test012_(F)" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AITResources01 Test012 (F)'</description>
+ <configuration names_required="4"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server06" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client01" runtime_id="client3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <wait_for_task runtime_id="client3"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AITResources01_Test013_(F)" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AITResources01 Test013 (F)'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AITResources01_Test014_(F)" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AITResources01 Test014 (F)'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AITResources01_Test015_(F)" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AITResources01 Test015 (F)'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AITResources01_Test016_(F)" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AITResources01 Test016 (F)'</description>
+ <configuration names_required="4"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server01" runtime_id="server4">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <wait_for_task runtime_id="client3"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AITResources01_Test017_(F)" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AITResources01 Test017 (F)'</description>
+ <configuration names_required="4"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <wait_for_task runtime_id="client3"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AITResources01_Test018_(F)" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AITResources01 Test018 (F)'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AITResources01_Test019_(F)" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AITResources01 Test019 (F)'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server03" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AITResources01_Test020_(F)" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AITResources01 Test020 (F)'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server03" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server03" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AITResources01_Test021_(F)" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AITResources01 Test021 (F)'</description>
+ <configuration names_required="4"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server03" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server03" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server03" runtime_id="server4">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <wait_for_task runtime_id="client3"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AITResources01_Test022_(F)" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AITResources01 Test022 (F)'</description>
+ <configuration names_required="4"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server04" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <wait_for_task runtime_id="client3"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AITResources01_Test023_(F)" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AITResources01 Test023 (F)'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server05" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AITResources01_Test024_(F)" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AITResources01 Test024 (F)'</description>
+ <configuration names_required="4"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server06" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <wait_for_task runtime_id="client3"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AITResources01_Test025_(M)" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AITResources01 Test025 (M)'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client03" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>1000</param>
+ <param>999</param>
+ <param>999</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AITResources01_Test026_(M)" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AITResources01 Test026 (M)'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client04" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>1000</param>
+ <param>999</param>
+ <param>999</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AITResources01_Test027_(F)" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AITResources01 Test027 (F)'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server07" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client05" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AITResources01_Test028_(F)" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AITResources01 Test028 (F)'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server07" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server07" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client06" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AITResources01_Test029_(F)" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AITResources01 Test029 (F)'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server08" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client06" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AITResources01_Test030_(M)" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AITResources01 Test030 (M)'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server07" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client07" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>10</param>
+ <param>999</param>
+ <param>999</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AITResources01_Test031_(M)" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AITResources01 Test031 (M)'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server07" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server07" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client08" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>10</param>
+ <param>999</param>
+ <param>999</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AITResources01_Test032_(M)" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AITResources01 Test032 (M)'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server08" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client08" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>10</param>
+ <param>999</param>
+ <param>999</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AITResources01_Test033_(F)" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AITResources01 Test033 (F)'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client09" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client09" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <perform_task id="org.jboss.jbossts.qa.AITResources01Outcomes.Outcome01">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>2000</param>
+ <param>$(1)</param>
+ </perform_task>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AITResources01_Test034_(F)" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AITResources01 Test034 (F)'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client09" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client09" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client09" runtime_id="client2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client09" runtime_id="client3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <wait_for_task runtime_id="client3"/>
+ <perform_task id="org.jboss.jbossts.qa.AITResources01Outcomes.Outcome01">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4000</param>
+ <param>$(1)</param>
+ </perform_task>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AITResources01_Test035_(F)" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AITResources01 Test035 (F)'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client09" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client09" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client09" runtime_id="client2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client09" runtime_id="client3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <wait_for_task runtime_id="client3"/>
+ <perform_task id="org.jboss.jbossts.qa.AITResources01Outcomes.Outcome02">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>2000</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AITResources01_Test036_(F)" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AITResources01 Test036 (F)'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server05" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client09" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client09" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client09" runtime_id="client2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client09" runtime_id="client3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <wait_for_task runtime_id="client3"/>
+ <perform_task id="org.jboss.jbossts.qa.AITResources01Outcomes.Outcome02">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>2000</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AITResources01_Test037_(F)" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AITResources01 Test037 (F)'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server07" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client10" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AITResources01_Test038_(F)" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AITResources01 Test038 (F)'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server07" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server07" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client11" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AITResources01_Test039_(F)" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AITResources01 Test039 (F)'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server08" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client11" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AITResources01_Test040_(M)" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AITResources01 Test040 (M)'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server07" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client12" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>10</param>
+ <param>999</param>
+ <param>999</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AITResources01_Test041_(M)" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AITResources01 Test041 (M)'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server07" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server07" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client13" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>10</param>
+ <param>999</param>
+ <param>999</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AITResources01_Test042_(M)" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AITResources01 Test042 (M)'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server08" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client13" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>10</param>
+ <param>999</param>
+ <param>999</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AITResources01_Test043_(F)" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AITResources01 Test043 (F)'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server09" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AITResources01_Test044_(F)" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AITResources01 Test044 (F)'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server09" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server09" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AITResources01_Test045_(F)" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AITResources01 Test045 (F)'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server09" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server09" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server09" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AITResources01_Test046_(F)" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AITResources01 Test046 (F)'</description>
+ <configuration names_required="4"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server09" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server09" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server09" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server09" runtime_id="server4">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <wait_for_task runtime_id="client3"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AITResources01_Test047_(F)" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AITResources01 Test047 (F)'</description>
+ <configuration names_required="4"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server10" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <wait_for_task runtime_id="client3"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AITResources01_Test048_(M)" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AITResources01 Test048 (M)'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server09" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client04" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>1000</param>
+ <param>999</param>
+ <param>999</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AITResources01_Test049_(F)" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AITResources01 Test049 (F)'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client14" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>4</param>
+ <param>250</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AITResources01_Test050_(M)" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AITResources01 Test050 (M)'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client15" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>4</param>
+ <param>250</param>
+ <param>999</param>
+ <param>999</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AITResources01_Test051_(F)" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AITResources01 Test051 (F)'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client14" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>4</param>
+ <param>250</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AITResources01_Test052_(M)" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AITResources01 Test052 (M)'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client15" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>4</param>
+ <param>250</param>
+ <param>999</param>
+ <param>999</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AITResources01_Test053_(F)" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AITResources01 Test053 (F)'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client16" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>4</param>
+ <param>250</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AITResources01_Test054_(M)" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AITResources01 Test054 (M)'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client17" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>4</param>
+ <param>250</param>
+ <param>999</param>
+ <param>999</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AITResources01_Test055_(F)" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AITResources01 Test055 (F)'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client16" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>4</param>
+ <param>250</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AITResources01_Test056_(M)" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AITResources01 Test056 (M)'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client17" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>4</param>
+ <param>250</param>
+ <param>999</param>
+ <param>999</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AITResources01_Test057_(F)" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AITResources01 Test057 (F)'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server09" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client16" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>4</param>
+ <param>250</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AITResources01_Test058_(M)" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AITResources01 Test058 (M)'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server09" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client17" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>4</param>
+ <param>250</param>
+ <param>999</param>
+ <param>999</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AITResources01_Test059_(F)" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AITResources01 Test059 (F)'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server11" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client02" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AITResources01_Test060_(F)" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AITResources01 Test060 (F)'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.AITResources01Clients.Client19" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+</test_set>
Added: labs/jbosstm/trunk/qa/testdefs/jbossts-qa-crashrecovery01-testdefs.xml
===================================================================
--- labs/jbosstm/trunk/qa/testdefs/jbossts-qa-crashrecovery01-testdefs.xml (rev 0)
+++ labs/jbosstm/trunk/qa/testdefs/jbossts-qa-crashrecovery01-testdefs.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,923 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<test_set>
+ <default_timeout value="480"/>
+ <description>Crash Recovery Tests 01</description>
+
+
+ <test_group name="CrashRecovery01">
+ <task_declaration>
+ <task id="com.arjuna.ats.arjuna.recovery.RecoveryManager"
+ classname="com.arjuna.ats.arjuna.recovery.RecoveryManager" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery01Servers.Server01"
+ classname="org.jboss.jbossts.qa.CrashRecovery01Servers.Server01" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery01Clients.Client01"
+ classname="org.jboss.jbossts.qa.CrashRecovery01Clients.Client01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore"
+ classname="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" classname="org.jboss.jbossts.qa.Utils.EmptyObjectStore"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery01Servers.Server02"
+ classname="org.jboss.jbossts.qa.CrashRecovery01Servers.Server02" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery01Clients.Client02"
+ classname="org.jboss.jbossts.qa.CrashRecovery01Clients.Client02" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery01Clients.Client03"
+ classname="org.jboss.jbossts.qa.CrashRecovery01Clients.Client03" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery01Servers.Server03"
+ classname="org.jboss.jbossts.qa.CrashRecovery01Servers.Server03" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery01Clients.Client04"
+ classname="org.jboss.jbossts.qa.CrashRecovery01Clients.Client04" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery01Clients.Client05"
+ classname="org.jboss.jbossts.qa.CrashRecovery01Clients.Client05" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery01Clients.Client06"
+ classname="org.jboss.jbossts.qa.CrashRecovery01Clients.Client06" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery01Clients.Client07"
+ classname="org.jboss.jbossts.qa.CrashRecovery01Clients.Client07" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery01Clients.Client08"
+ classname="org.jboss.jbossts.qa.CrashRecovery01Clients.Client08" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery01Clients.Client09"
+ classname="org.jboss.jbossts.qa.CrashRecovery01Clients.Client09" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery01Clients.Client10"
+ classname="org.jboss.jbossts.qa.CrashRecovery01Clients.Client10" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery01Clients.Client11"
+ classname="org.jboss.jbossts.qa.CrashRecovery01Clients.Client11" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery01Clients.Client12"
+ classname="org.jboss.jbossts.qa.CrashRecovery01Clients.Client12" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery01Clients.Client13"
+ classname="org.jboss.jbossts.qa.CrashRecovery01Clients.Client13" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery01Clients.Client14"
+ classname="org.jboss.jbossts.qa.CrashRecovery01Clients.Client14" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery01Clients.Client15"
+ classname="org.jboss.jbossts.qa.CrashRecovery01Clients.Client15" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery01Clients.Client16"
+ classname="org.jboss.jbossts.qa.CrashRecovery01Clients.Client16" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery01Clients.Client17"
+ classname="org.jboss.jbossts.qa.CrashRecovery01Clients.Client17" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery01Clients.Client18"
+ classname="org.jboss.jbossts.qa.CrashRecovery01Clients.Client18" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery01Servers.Server04"
+ classname="org.jboss.jbossts.qa.CrashRecovery01Servers.Server04" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery01Servers.Server05"
+ classname="org.jboss.jbossts.qa.CrashRecovery01Servers.Server05" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery01Servers.Server06"
+ classname="org.jboss.jbossts.qa.CrashRecovery01Servers.Server06" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ </task_declaration>
+ <test_declaration id="CrashRecovery01_Test01" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery01 Test01'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery01Clients.Client01" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery01_Test02" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery01 Test02'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery01Clients.Client02" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery01_Test03" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery01 Test03'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery01Clients.Client03" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery01_Test04" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery01 Test04'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery01Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery01Clients.Client04" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery01_Test05" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery01 Test05'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery01Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery01Clients.Client05" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery01_Test06" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery01 Test06'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery01Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery01Clients.Client06" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery01_Test07" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery01 Test07'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery01Clients.Client07" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery01_Test08" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery01 Test08'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery01Clients.Client08" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery01_Test09" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery01 Test09'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery01Clients.Client09" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery01_Test10" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery01 Test10'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery01Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery01Clients.Client10" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery01_Test11" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery01 Test11'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery01Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery01Clients.Client11" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery01_Test12" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery01 Test12'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery01Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery01Clients.Client12" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery01_Test13" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery01 Test13'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery01Clients.Client13" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery01_Test14" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery01 Test14'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery01Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery01Clients.Client14" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery01_Test15" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery01 Test15'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery01Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery01Clients.Client15" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery01_Test16" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery01 Test16'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery01Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery01Servers.Server03" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery01Clients.Client16" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery01_Test17" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery01 Test17'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery01Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery01Servers.Server03" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery01Clients.Client17" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery01_Test18" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery01 Test18'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery01Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery01Servers.Server03" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery01Clients.Client18" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery01_Test19" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery01 Test19'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery01Servers.Server04" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery01Clients.Client13" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery01_Test20" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery01 Test20'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery01Servers.Server05" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery01Clients.Client14" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery01_Test21" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery01 Test21'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery01Servers.Server05" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery01Clients.Client15" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery01_Test22" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery01 Test22'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery01Servers.Server06" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery01Clients.Client16" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery01_Test23" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery01 Test23'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery01Servers.Server06" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery01Clients.Client17" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery01_Test24" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery01 Test24'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery01Servers.Server06" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery01Clients.Client18" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+</test_set>
Added: labs/jbosstm/trunk/qa/testdefs/jbossts-qa-crashrecovery02_1-testdefs.xml
===================================================================
--- labs/jbosstm/trunk/qa/testdefs/jbossts-qa-crashrecovery02_1-testdefs.xml (rev 0)
+++ labs/jbosstm/trunk/qa/testdefs/jbossts-qa-crashrecovery02_1-testdefs.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,319 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<test_set>
+ <default_timeout value="480"/>
+ <description>Crash Recovery Tests 02-1</description>
+
+
+ <test_group name="CrashRecovery02_1">
+ <task_declaration>
+ <task id="com.arjuna.ats.arjuna.recovery.RecoveryManager"
+ classname="com.arjuna.ats.arjuna.recovery.RecoveryManager" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server01"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Servers.Server01" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server02"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Servers.Server02" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Clients1.Client01b"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Clients1.Client01b" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Clients1.Client01a"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Clients1.Client01a" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore"
+ classname="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" classname="org.jboss.jbossts.qa.Utils.EmptyObjectStore"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Clients1.Client02b"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Clients1.Client02b" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Clients1.Client02a"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Clients1.Client02a" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Clients1.Client03b"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Clients1.Client03b" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Clients1.Client03a"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Clients1.Client03a" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Clients1.Client04b"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Clients1.Client04b" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Clients1.Client04a"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Clients1.Client04a" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Clients1.Client05b"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Clients1.Client05b" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Clients1.Client05a"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Clients1.Client05a" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ </task_declaration>
+ <test_declaration id="CrashRecovery02_1_Test01" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery02_1 Test01'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients1.Client01b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients1.Client01a" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery02_1_Test02" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery02_1 Test02'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients1.Client02b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients1.Client02a" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery02_1_Test03" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery02_1 Test03'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients1.Client03b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients1.Client03a" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery02_1_Test04" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery02_1 Test04'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients1.Client04b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients1.Client04a" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery02_1_Test05" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery02_1 Test05'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients1.Client05b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients1.Client05a" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+</test_set>
Added: labs/jbosstm/trunk/qa/testdefs/jbossts-qa-crashrecovery02_2-testdefs.xml
===================================================================
--- labs/jbosstm/trunk/qa/testdefs/jbossts-qa-crashrecovery02_2-testdefs.xml (rev 0)
+++ labs/jbosstm/trunk/qa/testdefs/jbossts-qa-crashrecovery02_2-testdefs.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,3182 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<test_set>
+ <default_timeout value="480"/>
+ <description>Crash Recovery Tests 02-2</description>
+
+
+ <test_group name="CrashRecovery02_2">
+ <task_declaration>
+ <task id="com.arjuna.ats.arjuna.recovery.RecoveryManager"
+ classname="com.arjuna.ats.arjuna.recovery.RecoveryManager" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server03"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Servers.Server03" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server04"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Servers.Server04" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client01b"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client01b" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client01a"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client01a" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore"
+ classname="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" classname="org.jboss.jbossts.qa.Utils.EmptyObjectStore"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client02b"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client02b" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client02a"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client02a" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client03b"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client03b" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client03a"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client03a" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client04b"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client04b" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client04a"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client04a" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client05b"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client05b" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client05a"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client05a" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client06b"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client06b" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client06a"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client06a" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client07b"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client07b" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client07a"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client07a" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client08b"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client08b" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client08a"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client08a" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client09b"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client09b" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client09a"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client09a" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client10b"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client10b" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client10a"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client10a" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client11b"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client11b" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client11a"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client11a" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client12b"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client12b" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client12a"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client12a" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client13b"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client13b" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client13a"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client13a" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client14b"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client14b" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client14a"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client14a" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client15b"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client15b" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client15a"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client15a" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client16b"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client16b" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client16a"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client16a" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client17b"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client17b" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client17a"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client17a" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client18b"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client18b" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client18a"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client18a" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client19b"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client19b" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client19a"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client19a" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client20b"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client20b" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client20a"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client20a" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client21b"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client21b" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client21a"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client21a" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client22b"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client22b" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client22a"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client22a" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client23b"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client23b" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client23a"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client23a" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client24b"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client24b" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client24a"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client24a" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client25b"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client25b" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client25a"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client25a" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server01"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Servers.Server01" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server02"
+ classname="org.jboss.jbossts.qa.CrashRecovery02Servers.Server02" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ </task_declaration>
+ <test_declaration id="CrashRecovery02_2_Test01" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery02_2 Test01'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client01b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server04" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client01a" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery02_2_Test02" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery02_2 Test02'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client02b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server04" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client02a" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery02_2_Test03" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery02_2 Test03'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client03b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server04" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client03a" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery02_2_Test04" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery02_2 Test04'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client04b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server04" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client04a" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery02_2_Test05" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery02_2 Test05'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client05b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server04" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client05a" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery02_2_Test06" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery02_2 Test06'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client06b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server04" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client06a" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery02_2_Test07" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery02_2 Test07'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client07b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server04" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client07a" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery02_2_Test08" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery02_2 Test08'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client08b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server04" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client08a" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery02_2_Test09" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery02_2 Test09'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client09b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server04" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client09a" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery02_2_Test10" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery02_2 Test10'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client10b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server04" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client10a" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery02_2_Test11" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery02_2 Test11'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client11b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server04" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client11a" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery02_2_Test12" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery02_2 Test12'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client12b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server04" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client12a" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery02_2_Test13" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery02_2 Test13'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client13b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server04" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client13a" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery02_2_Test14" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery02_2 Test14'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client14b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server04" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client14a" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery02_2_Test15" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery02_2 Test15'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client15b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server04" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client15a" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery02_2_Test16" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery02_2 Test16'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client16b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server04" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client16a" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery02_2_Test17" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery02_2 Test17'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client17b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server04" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client17a" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery02_2_Test18" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery02_2 Test18'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client18b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server04" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client18a" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery02_2_Test19" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery02_2 Test19'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client19b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server04" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client19a" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery02_2_Test20" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery02_2 Test20'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client20b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server04" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client20a" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery02_2_Test21" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery02_2 Test21'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client21b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server04" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client21a" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery02_2_Test22" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery02_2 Test22'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client22b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server04" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client22a" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery02_2_Test23" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery02_2 Test23'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client23b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server04" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client23a" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery02_2_Test24" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery02_2 Test24'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client24b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server04" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client24a" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery02_2_Test25" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery02_2 Test25'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client25b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server04" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client25a" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery02_2_Test26" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery02_2 Test26'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client01b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server02" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server02" runtime_id="server4">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client01a" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery02_2_Test27" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery02_2 Test27'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client02b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server02" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server02" runtime_id="server4">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client02a" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery02_2_Test28" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery02_2 Test28'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client03b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server02" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server02" runtime_id="server4">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client03a" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery02_2_Test29" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery02_2 Test29'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client04b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server02" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server02" runtime_id="server4">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client04a" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery02_2_Test30" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery02_2 Test30'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client05b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server02" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server02" runtime_id="server4">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client05a" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery02_2_Test31" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery02_2 Test31'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client06b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server02" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server02" runtime_id="server4">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client06a" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery02_2_Test32" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery02_2 Test32'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client07b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server02" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server02" runtime_id="server4">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client07a" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery02_2_Test33" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery02_2 Test33'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client08b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server02" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server02" runtime_id="server4">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client08a" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery02_2_Test34" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery02_2 Test34'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client09b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server02" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server02" runtime_id="server4">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client09a" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery02_2_Test35" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery02_2 Test35'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client10b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server02" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server02" runtime_id="server4">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client10a" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery02_2_Test36" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery02_2 Test36'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client11b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server02" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server02" runtime_id="server4">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client11a" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery02_2_Test37" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery02_2 Test37'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client12b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server02" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server02" runtime_id="server4">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client12a" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery02_2_Test38" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery02_2 Test38'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client13b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server02" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server02" runtime_id="server4">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client13a" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery02_2_Test39" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery02_2 Test39'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client14b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server02" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server02" runtime_id="server4">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client14a" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery02_2_Test40" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery02_2 Test40'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client15b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server02" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server02" runtime_id="server4">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client15a" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery02_2_Test41" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery02_2 Test41'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client16b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server02" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server02" runtime_id="server4">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client16a" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery02_2_Test42" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery02_2 Test42'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client17b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server02" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server02" runtime_id="server4">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client17a" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery02_2_Test43" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery02_2 Test43'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client18b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server02" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server02" runtime_id="server4">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client18a" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery02_2_Test44" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery02_2 Test44'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client19b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server02" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server02" runtime_id="server4">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client19a" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery02_2_Test45" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery02_2 Test45'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client20b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server02" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server02" runtime_id="server4">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client20a" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery02_2_Test46" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery02_2 Test46'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client21b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server02" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server02" runtime_id="server4">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client21a" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery02_2_Test47" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery02_2 Test47'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client22b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server02" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server02" runtime_id="server4">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client22a" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery02_2_Test48" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery02_2 Test48'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client23b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server02" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server02" runtime_id="server4">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client23a" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery02_2_Test49" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery02_2 Test49'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client24b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server02" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server02" runtime_id="server4">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client24a" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery02_2_Test50" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery02_2 Test50'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client25b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server02" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Servers.Server02" runtime_id="server4">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery02Clients2.Client25a" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+</test_set>
Added: labs/jbosstm/trunk/qa/testdefs/jbossts-qa-crashrecovery03-testdefs.xml
===================================================================
--- labs/jbosstm/trunk/qa/testdefs/jbossts-qa-crashrecovery03-testdefs.xml (rev 0)
+++ labs/jbosstm/trunk/qa/testdefs/jbossts-qa-crashrecovery03-testdefs.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,79 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<test_set>
+ <default_timeout value="480"/>
+ <description>Crash Recovery Tests 03</description>
+
+
+ <test_group name="CrashRecovery03">
+ <task_declaration>
+ <task id="com.arjuna.ats.arjuna.recovery.RecoveryManager"
+ classname="com.arjuna.ats.arjuna.recovery.RecoveryManager" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery03Servers.Server01"
+ classname="org.jboss.jbossts.qa.CrashRecovery03Servers.Server01" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery03Clients.Client01"
+ classname="org.jboss.jbossts.qa.CrashRecovery03Clients.Client01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore"
+ classname="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" classname="org.jboss.jbossts.qa.Utils.EmptyObjectStore"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ </task_declaration>
+ <test_declaration id="CrashRecovery03_Test01" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery03 Test01'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery03Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery03Clients.Client01" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+</test_set>
Added: labs/jbosstm/trunk/qa/testdefs/jbossts-qa-crashrecovery04-testdefs.xml
===================================================================
--- labs/jbosstm/trunk/qa/testdefs/jbossts-qa-crashrecovery04-testdefs.xml (rev 0)
+++ labs/jbosstm/trunk/qa/testdefs/jbossts-qa-crashrecovery04-testdefs.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,1733 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<test_set>
+ <default_timeout value="480"/>
+ <description>Crash Recovery Tests 04</description>
+
+
+ <test_group name="CrashRecovery04">
+ <task_declaration>
+ <task id="com.arjuna.ats.arjuna.recovery.RecoveryManager"
+ classname="com.arjuna.ats.arjuna.recovery.RecoveryManager" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server01"
+ classname="org.jboss.jbossts.qa.CrashRecovery04Servers.Server01" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client01"
+ classname="org.jboss.jbossts.qa.CrashRecovery04Clients.Client01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore"
+ classname="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" classname="org.jboss.jbossts.qa.Utils.EmptyObjectStore"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server02"
+ classname="org.jboss.jbossts.qa.CrashRecovery04Servers.Server02" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client02"
+ classname="org.jboss.jbossts.qa.CrashRecovery04Clients.Client02" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client03"
+ classname="org.jboss.jbossts.qa.CrashRecovery04Clients.Client03" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server03"
+ classname="org.jboss.jbossts.qa.CrashRecovery04Servers.Server03" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client04"
+ classname="org.jboss.jbossts.qa.CrashRecovery04Clients.Client04" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client05"
+ classname="org.jboss.jbossts.qa.CrashRecovery04Clients.Client05" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client06"
+ classname="org.jboss.jbossts.qa.CrashRecovery04Clients.Client06" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client07"
+ classname="org.jboss.jbossts.qa.CrashRecovery04Clients.Client07" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client08"
+ classname="org.jboss.jbossts.qa.CrashRecovery04Clients.Client08" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client09"
+ classname="org.jboss.jbossts.qa.CrashRecovery04Clients.Client09" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client10"
+ classname="org.jboss.jbossts.qa.CrashRecovery04Clients.Client10" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client11"
+ classname="org.jboss.jbossts.qa.CrashRecovery04Clients.Client11" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client12"
+ classname="org.jboss.jbossts.qa.CrashRecovery04Clients.Client12" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client13"
+ classname="org.jboss.jbossts.qa.CrashRecovery04Clients.Client13" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client14"
+ classname="org.jboss.jbossts.qa.CrashRecovery04Clients.Client14" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client15"
+ classname="org.jboss.jbossts.qa.CrashRecovery04Clients.Client15" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client16"
+ classname="org.jboss.jbossts.qa.CrashRecovery04Clients.Client16" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client17"
+ classname="org.jboss.jbossts.qa.CrashRecovery04Clients.Client17" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client18"
+ classname="org.jboss.jbossts.qa.CrashRecovery04Clients.Client18" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server04"
+ classname="org.jboss.jbossts.qa.CrashRecovery04Servers.Server04" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server05"
+ classname="org.jboss.jbossts.qa.CrashRecovery04Servers.Server05" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server06"
+ classname="org.jboss.jbossts.qa.CrashRecovery04Servers.Server06" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server07"
+ classname="org.jboss.jbossts.qa.CrashRecovery04Servers.Server07" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server08"
+ classname="org.jboss.jbossts.qa.CrashRecovery04Servers.Server08" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server09"
+ classname="org.jboss.jbossts.qa.CrashRecovery04Servers.Server09" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server10"
+ classname="org.jboss.jbossts.qa.CrashRecovery04Servers.Server10" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server11"
+ classname="org.jboss.jbossts.qa.CrashRecovery04Servers.Server11" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server12"
+ classname="org.jboss.jbossts.qa.CrashRecovery04Servers.Server12" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ </task_declaration>
+ <test_declaration id="CrashRecovery04_Test01" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery04 Test01'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client01" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery04_Test02" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery04 Test02'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client02" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery04_Test03" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery04 Test03'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client03" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery04_Test04" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery04 Test04'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client04" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery04_Test05" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery04 Test05'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client05" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery04_Test06" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery04 Test06'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client06" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery04_Test07" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery04 Test07'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client07" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery04_Test08" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery04 Test08'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client08" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery04_Test09" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery04 Test09'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client09" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery04_Test10" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery04 Test10'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client10" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery04_Test11" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery04 Test11'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client11" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery04_Test12" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery04 Test12'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client12" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery04_Test13" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery04 Test13'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client13" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery04_Test14" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery04 Test14'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client14" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery04_Test15" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery04 Test15'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client15" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery04_Test16" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery04 Test16'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server03" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client16" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery04_Test17" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery04 Test17'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server03" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client17" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery04_Test18" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery04 Test18'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server03" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client18" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery04_Test19" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery04 Test19'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server04" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client13" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery04_Test20" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery04 Test20'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server05" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client14" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery04_Test21" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery04 Test21'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server05" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client15" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery04_Test22" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery04 Test22'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server06" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client16" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery04_Test23" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery04 Test23'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server06" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client17" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery04_Test24" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery04 Test24'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server06" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client18" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery04_Test25" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery04 Test25'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server07" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client01" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery04_Test26" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery04 Test26'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server08" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client02" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery04_Test27" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery04 Test27'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server08" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client03" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery04_Test28" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery04 Test28'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server09" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client04" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery04_Test29" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery04 Test29'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server09" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client05" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery04_Test30" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery04 Test30'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server09" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client06" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery04_Test31" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery04 Test31'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server07" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client07" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery04_Test32" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery04 Test32'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server08" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client08" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery04_Test33" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery04 Test33'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server08" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client09" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery04_Test34" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery04 Test34'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server09" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client10" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery04_Test35" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery04 Test35'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server09" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client11" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery04_Test36" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery04 Test36'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server09" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client12" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery04_Test37" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery04 Test37'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server07" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server07" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client13" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery04_Test38" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery04 Test38'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server08" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server08" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client14" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery04_Test39" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery04 Test39'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server08" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server08" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client15" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery04_Test40" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery04 Test40'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server09" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server09" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client16" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery04_Test41" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery04 Test41'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server09" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server09" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client17" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery04_Test42" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery04 Test42'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server09" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server09" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client18" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery04_Test43" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery04 Test43'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server10" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client13" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery04_Test44" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery04 Test44'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server11" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client14" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery04_Test45" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery04 Test45'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server11" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client15" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery04_Test46" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery04 Test46'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server12" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client16" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery04_Test47" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery04 Test47'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server12" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client17" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery04_Test48" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery04 Test48'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Servers.Server12" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery04Clients.Client18" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+</test_set>
Added: labs/jbosstm/trunk/qa/testdefs/jbossts-qa-crashrecovery05_1-testdefs.xml
===================================================================
--- labs/jbosstm/trunk/qa/testdefs/jbossts-qa-crashrecovery05_1-testdefs.xml (rev 0)
+++ labs/jbosstm/trunk/qa/testdefs/jbossts-qa-crashrecovery05_1-testdefs.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,457 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<test_set>
+ <default_timeout value="480"/>
+ <description>Crash Recovery Tests 05-1</description>
+
+
+ <test_group name="CrashRecovery05_1">
+ <task_declaration>
+ <task id="com.arjuna.ats.arjuna.recovery.RecoveryManager"
+ classname="com.arjuna.ats.arjuna.recovery.RecoveryManager" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server01"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Servers.Server01" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server02"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Servers.Server02" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Clients1.Client01b"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Clients1.Client01b" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Clients1.Client01a"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Clients1.Client01a" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore"
+ classname="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" classname="org.jboss.jbossts.qa.Utils.EmptyObjectStore"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Clients1.Client02b"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Clients1.Client02b" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Clients1.Client02a"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Clients1.Client02a" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Clients1.Client03b"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Clients1.Client03b" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Clients1.Client03a"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Clients1.Client03a" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Clients1.Client04b"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Clients1.Client04b" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Clients1.Client04a"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Clients1.Client04a" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Clients1.Client05b"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Clients1.Client05b" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Clients1.Client05a"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Clients1.Client05a" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server05"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Servers.Server05" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server06"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Servers.Server06" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ </task_declaration>
+ <test_declaration id="CrashRecovery05_1_Test01" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_1 Test01'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server01" runtime_id="server1">
+ <param>$(3)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients1.Client01b" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server02" runtime_id="server2">
+ <param>$(3)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients1.Client01a" runtime_id="client1">
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_1_Test02" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_1 Test02'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server01" runtime_id="server1">
+ <param>$(3)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients1.Client02b" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server02" runtime_id="server2">
+ <param>$(3)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients1.Client02a" runtime_id="client1">
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_1_Test03" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_1 Test03'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server01" runtime_id="server1">
+ <param>$(3)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients1.Client03b" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server02" runtime_id="server2">
+ <param>$(3)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients1.Client03a" runtime_id="client1">
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_1_Test04" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_1 Test04'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server01" runtime_id="server1">
+ <param>$(3)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients1.Client04b" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server02" runtime_id="server2">
+ <param>$(3)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients1.Client04a" runtime_id="client1">
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_1_Test05" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_1 Test05'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server01" runtime_id="server1">
+ <param>$(3)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients1.Client05b" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server02" runtime_id="server2">
+ <param>$(3)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients1.Client05a" runtime_id="client1">
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_1_Test06" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_1 Test06'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server05" runtime_id="server1">
+ <param>$(3)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients1.Client01b" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server06" runtime_id="server2">
+ <param>$(3)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients1.Client01a" runtime_id="client1">
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_1_Test07" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_1 Test07'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server05" runtime_id="server1">
+ <param>$(3)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients1.Client02b" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server06" runtime_id="server2">
+ <param>$(3)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients1.Client02a" runtime_id="client1">
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_1_Test08" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_1 Test08'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server05" runtime_id="server1">
+ <param>$(3)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients1.Client03b" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server06" runtime_id="server2">
+ <param>$(3)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients1.Client03a" runtime_id="client1">
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_1_Test09" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_1 Test09'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server05" runtime_id="server1">
+ <param>$(3)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients1.Client04b" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server06" runtime_id="server2">
+ <param>$(3)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients1.Client04a" runtime_id="client1">
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_1_Test10" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_1 Test10'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server05" runtime_id="server1">
+ <param>$(3)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients1.Client05b" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server06" runtime_id="server2">
+ <param>$(3)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients1.Client05a" runtime_id="client1">
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+</test_set>
Added: labs/jbosstm/trunk/qa/testdefs/jbossts-qa-crashrecovery05_2-testdefs.xml
===================================================================
--- labs/jbosstm/trunk/qa/testdefs/jbossts-qa-crashrecovery05_2-testdefs.xml (rev 0)
+++ labs/jbosstm/trunk/qa/testdefs/jbossts-qa-crashrecovery05_2-testdefs.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,4923 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<test_set>
+ <default_timeout value="480"/>
+ <description>Crash Recovery Tests 05-2</description>
+
+
+ <test_group name="CrashRecovery05_2">
+ <task_declaration>
+ <task id="com.arjuna.ats.arjuna.recovery.RecoveryManager"
+ classname="com.arjuna.ats.arjuna.recovery.RecoveryManager" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server03"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Servers.Server03" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server04"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Servers.Server04" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client01b"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client01b" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client01a"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client01a" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore"
+ classname="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" classname="org.jboss.jbossts.qa.Utils.EmptyObjectStore"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client02b"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client02b" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client02a"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client02a" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client03b"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client03b" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client03a"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client03a" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client04b"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client04b" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client04a"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client04a" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client05b"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client05b" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client05a"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client05a" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client06b"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client06b" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client06a"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client06a" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client07b"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client07b" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client07a"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client07a" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client08b"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client08b" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client08a"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client08a" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client09b"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client09b" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client09a"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client09a" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client10b"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client10b" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client10a"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client10a" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client11b"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client11b" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client11a"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client11a" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client12b"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client12b" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client12a"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client12a" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client13b"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client13b" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client13a"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client13a" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client14b"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client14b" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client14a"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client14a" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client15b"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client15b" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client15a"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client15a" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client16b"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client16b" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client16a"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client16a" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client17b"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client17b" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client17a"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client17a" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client18b"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client18b" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client18a"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client18a" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client19b"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client19b" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client19a"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client19a" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client20b"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client20b" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client20a"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client20a" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client21b"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client21b" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client21a"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client21a" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client22b"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client22b" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client22a"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client22a" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client23b"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client23b" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client23a"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client23a" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client24b"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client24b" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client24a"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client24a" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client25b"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client25b" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client25a"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client25a" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server01"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Servers.Server01" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server02"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Servers.Server02" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server07"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Servers.Server07" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server08"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Servers.Server08" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server05"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Servers.Server05" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server06"
+ classname="org.jboss.jbossts.qa.CrashRecovery05Servers.Server06" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ </task_declaration>
+ <test_declaration id="CrashRecovery05_2_Test001" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test001'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server03" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client01b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server04" runtime_id="server2">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client01a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test002" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test002'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server03" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client02b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server04" runtime_id="server2">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client02a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test003" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test003'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server03" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client03b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server04" runtime_id="server2">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client03a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test004" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test004'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server03" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client04b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server04" runtime_id="server2">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client04a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test005" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test005'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server03" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client05b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server04" runtime_id="server2">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client05a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test006" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test006'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server03" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client06b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server04" runtime_id="server2">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client06a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test007" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test007'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server03" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client07b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server04" runtime_id="server2">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client07a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test008" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test008'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server03" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client08b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server04" runtime_id="server2">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client08a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test009" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test009'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server03" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client09b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server04" runtime_id="server2">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client09a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test010" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test010'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server03" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client10b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server04" runtime_id="server2">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client10a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test011" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test011'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server03" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client11b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server04" runtime_id="server2">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client11a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test012" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test012'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server03" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client12b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server04" runtime_id="server2">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client12a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test013" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test013'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server03" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client13b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server04" runtime_id="server2">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client13a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test014" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test014'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server03" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client14b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server04" runtime_id="server2">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client14a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test015" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test015'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server03" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client15b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server04" runtime_id="server2">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client15a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test016" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test016'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server03" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client16b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server04" runtime_id="server2">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client16a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test017" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test017'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server03" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client17b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server04" runtime_id="server2">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client17a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test018" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test018'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server03" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client18b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server04" runtime_id="server2">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client18a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test019" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test019'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server03" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client19b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server04" runtime_id="server2">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client19a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test020" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test020'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server03" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client20b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server04" runtime_id="server2">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client20a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test021" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test021'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server03" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client21b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server04" runtime_id="server2">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client21a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test022" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test022'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server03" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client22b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server04" runtime_id="server2">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client22a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test023" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test023'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server03" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client23b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server04" runtime_id="server2">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client23a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test024" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test024'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server03" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client24b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server04" runtime_id="server2">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client24a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test025" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test025'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server03" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client25b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server04" runtime_id="server2">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client25a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test026" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test026'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server01" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server01" runtime_id="server2">
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client01b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server02" runtime_id="server3">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server02" runtime_id="server4">
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client01a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test027" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test027'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server01" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server01" runtime_id="server2">
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client02b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server02" runtime_id="server3">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server02" runtime_id="server4">
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client02a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test028" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test028'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server01" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server01" runtime_id="server2">
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client03b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server02" runtime_id="server3">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server02" runtime_id="server4">
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client03a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test029" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test029'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server01" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server01" runtime_id="server2">
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client04b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server02" runtime_id="server3">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server02" runtime_id="server4">
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client04a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test030" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test030'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server01" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server01" runtime_id="server2">
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client05b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server02" runtime_id="server3">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server02" runtime_id="server4">
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client05a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test031" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test031'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server01" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server01" runtime_id="server2">
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client06b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server02" runtime_id="server3">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server02" runtime_id="server4">
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client06a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test032" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test032'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server01" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server01" runtime_id="server2">
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client07b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server02" runtime_id="server3">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server02" runtime_id="server4">
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client07a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test033" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test033'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server01" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server01" runtime_id="server2">
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client08b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server02" runtime_id="server3">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server02" runtime_id="server4">
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client08a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test034" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test034'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server01" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server01" runtime_id="server2">
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client09b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server02" runtime_id="server3">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server02" runtime_id="server4">
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client09a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test035" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test035'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server01" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server01" runtime_id="server2">
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client10b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server02" runtime_id="server3">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server02" runtime_id="server4">
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client10a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test036" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test036'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server01" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server01" runtime_id="server2">
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client11b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server02" runtime_id="server3">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server02" runtime_id="server4">
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client11a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test037" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test037'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server01" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server01" runtime_id="server2">
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client12b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server02" runtime_id="server3">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server02" runtime_id="server4">
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client12a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test038" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test038'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server01" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server01" runtime_id="server2">
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client13b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server02" runtime_id="server3">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server02" runtime_id="server4">
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client13a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test039" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test039'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server01" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server01" runtime_id="server2">
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client14b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server02" runtime_id="server3">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server02" runtime_id="server4">
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client14a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test040" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test040'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server01" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server01" runtime_id="server2">
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client15b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server02" runtime_id="server3">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server02" runtime_id="server4">
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client15a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test041" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test041'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server01" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server01" runtime_id="server2">
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client16b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server02" runtime_id="server3">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server02" runtime_id="server4">
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client16a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test042" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test042'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server01" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server01" runtime_id="server2">
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client17b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server02" runtime_id="server3">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server02" runtime_id="server4">
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client17a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test043" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test043'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server01" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server01" runtime_id="server2">
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client18b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server02" runtime_id="server3">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server02" runtime_id="server4">
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client18a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test044" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test044'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server01" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server01" runtime_id="server2">
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client19b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server02" runtime_id="server3">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server02" runtime_id="server4">
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client19a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test045" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test045'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server01" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server01" runtime_id="server2">
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client20b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server02" runtime_id="server3">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server02" runtime_id="server4">
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client20a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test046" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test046'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server01" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server01" runtime_id="server2">
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client21b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server02" runtime_id="server3">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server02" runtime_id="server4">
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client21a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test047" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test047'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server01" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server01" runtime_id="server2">
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client22b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server02" runtime_id="server3">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server02" runtime_id="server4">
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client22a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test048" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test048'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server01" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server01" runtime_id="server2">
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client23b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server02" runtime_id="server3">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server02" runtime_id="server4">
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client23a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test049" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test049'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server01" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server01" runtime_id="server2">
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client24b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server02" runtime_id="server3">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server02" runtime_id="server4">
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client24a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test050" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test050'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server01" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server01" runtime_id="server2">
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client25b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server02" runtime_id="server3">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server02" runtime_id="server4">
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client25a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test051" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test051'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server07" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client01b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server08" runtime_id="server2">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client01a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test052" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test052'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server07" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client02b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server08" runtime_id="server2">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client02a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test053" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test053'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server07" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client03b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server08" runtime_id="server2">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client03a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test054" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test054'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server07" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client04b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server08" runtime_id="server2">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client04a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test055" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test055'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server07" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client05b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server08" runtime_id="server2">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client05a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test056" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test056'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server07" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client06b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server08" runtime_id="server2">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client06a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test057" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test057'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server07" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client07b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server08" runtime_id="server2">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client07a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test058" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test058'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server07" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client08b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server08" runtime_id="server2">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client08a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test059" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test059'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server07" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client09b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server08" runtime_id="server2">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client09a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test060" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test060'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server07" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client10b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server08" runtime_id="server2">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client10a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test061" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test061'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server07" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client11b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server08" runtime_id="server2">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client11a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test062" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test062'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server07" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client12b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server08" runtime_id="server2">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client12a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test063" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test063'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server07" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client13b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server08" runtime_id="server2">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client13a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test064" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test064'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server07" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client14b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server08" runtime_id="server2">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client14a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test065" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test065'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server07" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client15b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server08" runtime_id="server2">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client15a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test066" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test066'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server07" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client16b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server08" runtime_id="server2">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client16a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test067" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test067'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server07" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client17b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server08" runtime_id="server2">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client17a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test068" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test068'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server07" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client18b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server08" runtime_id="server2">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client18a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test069" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test069'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server07" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client19b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server08" runtime_id="server2">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client19a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test070" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test070'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server07" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client20b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server08" runtime_id="server2">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client20a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test071" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test071'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server07" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client21b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server08" runtime_id="server2">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client21a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test072" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test072'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server07" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client22b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server08" runtime_id="server2">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client22a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test073" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test073'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server07" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client23b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server08" runtime_id="server2">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client23a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test074" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test074'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server07" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client24b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server08" runtime_id="server2">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client24a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test075" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test075'</description>
+ <configuration names_required="5"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server07" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client25b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server08" runtime_id="server2">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client25a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test076" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test076'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server05" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server05" runtime_id="server2">
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client01b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server06" runtime_id="server3">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server06" runtime_id="server4">
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client01a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test077" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test077'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server05" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server05" runtime_id="server2">
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client02b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server06" runtime_id="server3">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server06" runtime_id="server4">
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client02a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test078" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test078'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server05" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server05" runtime_id="server2">
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client03b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server06" runtime_id="server3">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server06" runtime_id="server4">
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client03a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test079" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test079'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server05" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server05" runtime_id="server2">
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client04b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server06" runtime_id="server3">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server06" runtime_id="server4">
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client04a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test080" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test080'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server05" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server05" runtime_id="server2">
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client05b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server06" runtime_id="server3">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server06" runtime_id="server4">
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client05a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test081" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test081'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server05" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server05" runtime_id="server2">
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client06b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server06" runtime_id="server3">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server06" runtime_id="server4">
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client06a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test082" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test082'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server05" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server05" runtime_id="server2">
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client07b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server06" runtime_id="server3">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server06" runtime_id="server4">
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client07a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test083" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test083'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server05" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server05" runtime_id="server2">
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client08b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server06" runtime_id="server3">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server06" runtime_id="server4">
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client08a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test084" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test084'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server05" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server05" runtime_id="server2">
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client09b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server06" runtime_id="server3">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server06" runtime_id="server4">
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client09a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test085" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test085'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server05" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server05" runtime_id="server2">
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client10b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server06" runtime_id="server3">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server06" runtime_id="server4">
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client10a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test086" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test086'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server05" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server05" runtime_id="server2">
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client11b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server06" runtime_id="server3">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server06" runtime_id="server4">
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client11a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test087" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test087'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server05" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server05" runtime_id="server2">
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client12b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server06" runtime_id="server3">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server06" runtime_id="server4">
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client12a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test088" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test088'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server05" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server05" runtime_id="server2">
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client13b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server06" runtime_id="server3">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server06" runtime_id="server4">
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client13a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test089" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test089'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server05" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server05" runtime_id="server2">
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client14b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server06" runtime_id="server3">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server06" runtime_id="server4">
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client14a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test090" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test090'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server05" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server05" runtime_id="server2">
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client15b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server06" runtime_id="server3">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server06" runtime_id="server4">
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client15a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test091" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test091'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server05" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server05" runtime_id="server2">
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client16b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server06" runtime_id="server3">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server06" runtime_id="server4">
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client16a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test092" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test092'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server05" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server05" runtime_id="server2">
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client17b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server06" runtime_id="server3">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server06" runtime_id="server4">
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client17a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test093" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test093'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server05" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server05" runtime_id="server2">
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client18b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server06" runtime_id="server3">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server06" runtime_id="server4">
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client18a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test094" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test094'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server05" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server05" runtime_id="server2">
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client19b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server06" runtime_id="server3">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server06" runtime_id="server4">
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client19a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test095" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test095'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server05" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server05" runtime_id="server2">
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client20b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server06" runtime_id="server3">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server06" runtime_id="server4">
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client20a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test096" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test096'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server05" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server05" runtime_id="server2">
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client21b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server06" runtime_id="server3">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server06" runtime_id="server4">
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client21a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test097" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test097'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server05" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server05" runtime_id="server2">
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client22b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server06" runtime_id="server3">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server06" runtime_id="server4">
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client22a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test098" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test098'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server05" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server05" runtime_id="server2">
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client23b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server06" runtime_id="server3">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server06" runtime_id="server4">
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client23a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test099" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test099'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server05" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server05" runtime_id="server2">
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client24b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server06" runtime_id="server3">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server06" runtime_id="server4">
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client24a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery05_2_Test100" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery05_2 Test100'</description>
+ <configuration names_required="6"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server05" runtime_id="server1">
+ <param>$(5)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server05" runtime_id="server2">
+ <param>$(6)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client25b" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server06" runtime_id="server3">
+ <param>$(5)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Servers.Server06" runtime_id="server4">
+ <param>$(6)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery05Clients2.Client25a" runtime_id="client1">
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ <param>$(5)</param>
+ <param>$(6)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+</test_set>
Added: labs/jbosstm/trunk/qa/testdefs/jbossts-qa-crashrecovery06-testdefs.xml
===================================================================
--- labs/jbosstm/trunk/qa/testdefs/jbossts-qa-crashrecovery06-testdefs.xml (rev 0)
+++ labs/jbosstm/trunk/qa/testdefs/jbossts-qa-crashrecovery06-testdefs.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,113 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<test_set>
+ <default_timeout value="480"/>
+ <description>Crash Recovery Tests 06</description>
+
+
+ <test_group name="CrashRecovery06">
+ <task_declaration>
+ <task id="com.arjuna.ats.arjuna.recovery.RecoveryManager"
+ classname="com.arjuna.ats.arjuna.recovery.RecoveryManager" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery06Servers.Server01"
+ classname="org.jboss.jbossts.qa.CrashRecovery06Servers.Server01" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery06Clients.Client01"
+ classname="org.jboss.jbossts.qa.CrashRecovery06Clients.Client01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore"
+ classname="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" classname="org.jboss.jbossts.qa.Utils.EmptyObjectStore"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery06Servers.Server02"
+ classname="org.jboss.jbossts.qa.CrashRecovery06Servers.Server02" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ </task_declaration>
+ <test_declaration id="CrashRecovery06_Test01" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery06 Test01'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery06Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery06Clients.Client01" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery06_Test02" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery06 Test02'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery06Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery06Clients.Client01" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+</test_set>
Added: labs/jbosstm/trunk/qa/testdefs/jbossts-qa-crashrecovery07-testdefs.xml
===================================================================
--- labs/jbosstm/trunk/qa/testdefs/jbossts-qa-crashrecovery07-testdefs.xml (rev 0)
+++ labs/jbosstm/trunk/qa/testdefs/jbossts-qa-crashrecovery07-testdefs.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,1205 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<test_set>
+ <default_timeout value="960"/>
+ <description>Crash Recovery Tests 07</description>
+
+
+ <test_group name="CrashRecovery07">
+ <task_declaration>
+ <task id="com.arjuna.ats.arjuna.recovery.RecoveryManager"
+ classname="com.arjuna.ats.arjuna.recovery.RecoveryManager" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery07Servers.Server01"
+ classname="org.jboss.jbossts.qa.CrashRecovery07Servers.Server01" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01b"
+ classname="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01b" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01a"
+ classname="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01a" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore"
+ classname="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" classname="org.jboss.jbossts.qa.Utils.EmptyObjectStore"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ </task_declaration>
+ <test_declaration id="CrashRecovery07_Test01" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery07 Test01'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>1</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01a" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>1</param>
+ <param>1</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery07_Test02" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery07 Test02'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>1</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01b" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>1</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01a" runtime_id="client2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>2</param>
+ <param>1</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01a" runtime_id="client3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>2</param>
+ <param>1</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client2"/>
+ <wait_for_task runtime_id="client3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery07_Test03" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery07 Test03'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>1</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01b" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>1</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01b" runtime_id="client2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>1</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01a" runtime_id="client3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>3</param>
+ <param>1</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01a" runtime_id="client4">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>3</param>
+ <param>1</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01a" runtime_id="client5">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>3</param>
+ <param>1</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client3"/>
+ <wait_for_task runtime_id="client4"/>
+ <wait_for_task runtime_id="client5"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery07_Test04" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery07 Test04'</description>
+ <configuration names_required="4"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Servers.Server01" runtime_id="server4">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>1</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01b" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>1</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01b" runtime_id="client2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>1</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01b" runtime_id="client3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>1</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <wait_for_task runtime_id="client3"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01a" runtime_id="client4">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>1</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01a" runtime_id="client5">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>1</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01a" runtime_id="client6">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>1</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01a" runtime_id="client7">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>1</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client4"/>
+ <wait_for_task runtime_id="client5"/>
+ <wait_for_task runtime_id="client6"/>
+ <wait_for_task runtime_id="client7"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery07_Test05" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery07 Test05'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>2</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01a" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>1</param>
+ <param>2</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery07_Test06" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery07 Test06'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>2</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01b" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>2</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01a" runtime_id="client2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>2</param>
+ <param>2</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01a" runtime_id="client3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>2</param>
+ <param>2</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client2"/>
+ <wait_for_task runtime_id="client3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery07_Test07" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery07 Test07'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>2</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01b" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>2</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01b" runtime_id="client2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>2</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01a" runtime_id="client3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>3</param>
+ <param>2</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01a" runtime_id="client4">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>3</param>
+ <param>2</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01a" runtime_id="client5">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>3</param>
+ <param>2</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client3"/>
+ <wait_for_task runtime_id="client4"/>
+ <wait_for_task runtime_id="client5"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery07_Test08" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery07 Test08'</description>
+ <configuration names_required="4"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Servers.Server01" runtime_id="server4">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>2</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01b" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>2</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01b" runtime_id="client2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>2</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01b" runtime_id="client3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>2</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <wait_for_task runtime_id="client3"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01a" runtime_id="client4">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>2</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01a" runtime_id="client5">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>2</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01a" runtime_id="client6">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>2</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01a" runtime_id="client7">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>2</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client4"/>
+ <wait_for_task runtime_id="client5"/>
+ <wait_for_task runtime_id="client6"/>
+ <wait_for_task runtime_id="client7"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery07_Test09" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery07 Test09'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>3</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01a" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>1</param>
+ <param>3</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery07_Test10" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery07 Test10'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>3</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01b" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>3</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01a" runtime_id="client2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>2</param>
+ <param>3</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01a" runtime_id="client3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>2</param>
+ <param>3</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client2"/>
+ <wait_for_task runtime_id="client3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery07_Test11" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery07 Test11'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>3</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01b" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>3</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01b" runtime_id="client2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>3</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01a" runtime_id="client3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>3</param>
+ <param>3</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01a" runtime_id="client4">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>3</param>
+ <param>3</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01a" runtime_id="client5">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>3</param>
+ <param>3</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client3"/>
+ <wait_for_task runtime_id="client4"/>
+ <wait_for_task runtime_id="client5"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery07_Test12" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery07 Test12'</description>
+ <configuration names_required="4"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Servers.Server01" runtime_id="server4">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>3</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01b" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>3</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01b" runtime_id="client2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>3</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01b" runtime_id="client3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>3</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <wait_for_task runtime_id="client3"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01a" runtime_id="client4">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>3</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01a" runtime_id="client5">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>3</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01a" runtime_id="client6">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>3</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01a" runtime_id="client7">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>3</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client4"/>
+ <wait_for_task runtime_id="client5"/>
+ <wait_for_task runtime_id="client6"/>
+ <wait_for_task runtime_id="client7"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery07_Test13" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery07 Test13'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01a" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>1</param>
+ <param>4</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery07_Test14" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery07 Test14'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01b" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01a" runtime_id="client2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>2</param>
+ <param>4</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01a" runtime_id="client3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>2</param>
+ <param>4</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client2"/>
+ <wait_for_task runtime_id="client3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery07_Test15" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery07 Test15'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01b" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01b" runtime_id="client2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01a" runtime_id="client3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>3</param>
+ <param>4</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01a" runtime_id="client4">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>3</param>
+ <param>4</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01a" runtime_id="client5">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>3</param>
+ <param>4</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client3"/>
+ <wait_for_task runtime_id="client4"/>
+ <wait_for_task runtime_id="client5"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery07_Test16" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery07 Test16'</description>
+ <configuration names_required="4"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Servers.Server01" runtime_id="server4">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01b" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01b" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01b" runtime_id="client2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01b" runtime_id="client3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <wait_for_task runtime_id="client3"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01a" runtime_id="client4">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>4</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01a" runtime_id="client5">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>4</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01a" runtime_id="client6">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>4</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery07Clients.Client01a" runtime_id="client7">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>4</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client4"/>
+ <wait_for_task runtime_id="client5"/>
+ <wait_for_task runtime_id="client6"/>
+ <wait_for_task runtime_id="client7"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+</test_set>
Added: labs/jbosstm/trunk/qa/testdefs/jbossts-qa-crashrecovery08-testdefs.xml
===================================================================
--- labs/jbosstm/trunk/qa/testdefs/jbossts-qa-crashrecovery08-testdefs.xml (rev 0)
+++ labs/jbosstm/trunk/qa/testdefs/jbossts-qa-crashrecovery08-testdefs.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,1817 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<test_set>
+ <default_timeout value="960"/>
+ <description>Crash Recovery Tests 08</description>
+
+
+ <test_group name="CrashRecovery08">
+ <task_declaration>
+ <task id="com.arjuna.ats.arjuna.recovery.RecoveryManager"
+ classname="com.arjuna.ats.arjuna.recovery.RecoveryManager" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server01"
+ classname="org.jboss.jbossts.qa.CrashRecovery08Servers.Server01" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b"
+ classname="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a"
+ classname="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore"
+ classname="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" classname="org.jboss.jbossts.qa.Utils.EmptyObjectStore"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server02"
+ classname="org.jboss.jbossts.qa.CrashRecovery08Servers.Server02" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ </task_declaration>
+ <test_declaration id="CrashRecovery08_Test01" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery08 Test01'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server01" runtime_id="server1">
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client0">
+ <param>1</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client1">
+ <param>1</param>
+ <param>1</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery08_Test02" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery08 Test02'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server01" runtime_id="server1">
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server01" runtime_id="server2">
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client0">
+ <param>1</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client1">
+ <param>1</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client2">
+ <param>2</param>
+ <param>1</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client3">
+ <param>2</param>
+ <param>1</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client2"/>
+ <wait_for_task runtime_id="client3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery08_Test03" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery08 Test03'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server01" runtime_id="server1">
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server01" runtime_id="server2">
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server01" runtime_id="server3">
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client0">
+ <param>1</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client1">
+ <param>1</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client2">
+ <param>1</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client3">
+ <param>3</param>
+ <param>1</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client4">
+ <param>3</param>
+ <param>1</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client5">
+ <param>3</param>
+ <param>1</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client3"/>
+ <wait_for_task runtime_id="client4"/>
+ <wait_for_task runtime_id="client5"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery08_Test04" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery08 Test04'</description>
+ <configuration names_required="4"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server01" runtime_id="server1">
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server01" runtime_id="server2">
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server01" runtime_id="server3">
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server01" runtime_id="server4">
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client0">
+ <param>1</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client1">
+ <param>1</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client2">
+ <param>1</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client3">
+ <param>1</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <wait_for_task runtime_id="client3"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client4">
+ <param>4</param>
+ <param>1</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client5">
+ <param>4</param>
+ <param>1</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client6">
+ <param>4</param>
+ <param>1</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client7">
+ <param>4</param>
+ <param>1</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client4"/>
+ <wait_for_task runtime_id="client5"/>
+ <wait_for_task runtime_id="client6"/>
+ <wait_for_task runtime_id="client7"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery08_Test05" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery08 Test05'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server01" runtime_id="server1">
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client0">
+ <param>2</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client1">
+ <param>1</param>
+ <param>2</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery08_Test06" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery08 Test06'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server01" runtime_id="server1">
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server01" runtime_id="server2">
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client0">
+ <param>2</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client1">
+ <param>2</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client2">
+ <param>2</param>
+ <param>2</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client3">
+ <param>2</param>
+ <param>2</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client2"/>
+ <wait_for_task runtime_id="client3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery08_Test07" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery08 Test07'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server01" runtime_id="server1">
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server01" runtime_id="server2">
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server01" runtime_id="server3">
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client0">
+ <param>2</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client1">
+ <param>2</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client2">
+ <param>2</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client3">
+ <param>3</param>
+ <param>2</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client4">
+ <param>3</param>
+ <param>2</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client5">
+ <param>3</param>
+ <param>2</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client3"/>
+ <wait_for_task runtime_id="client4"/>
+ <wait_for_task runtime_id="client5"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery08_Test08" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery08 Test08'</description>
+ <configuration names_required="4"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server01" runtime_id="server1">
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server01" runtime_id="server2">
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server01" runtime_id="server3">
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server01" runtime_id="server4">
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client0">
+ <param>2</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client1">
+ <param>2</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client2">
+ <param>2</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client3">
+ <param>2</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <wait_for_task runtime_id="client3"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client4">
+ <param>4</param>
+ <param>2</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client5">
+ <param>4</param>
+ <param>2</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client6">
+ <param>4</param>
+ <param>2</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client7">
+ <param>4</param>
+ <param>2</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client4"/>
+ <wait_for_task runtime_id="client5"/>
+ <wait_for_task runtime_id="client6"/>
+ <wait_for_task runtime_id="client7"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery08_Test09" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery08 Test09'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server01" runtime_id="server1">
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client0">
+ <param>3</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client1">
+ <param>1</param>
+ <param>3</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery08_Test10" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery08 Test10'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server01" runtime_id="server1">
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server01" runtime_id="server2">
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client0">
+ <param>3</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client1">
+ <param>3</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client2">
+ <param>2</param>
+ <param>3</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client3">
+ <param>2</param>
+ <param>3</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client2"/>
+ <wait_for_task runtime_id="client3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery08_Test11" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery08 Test11'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server01" runtime_id="server1">
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server01" runtime_id="server2">
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server01" runtime_id="server3">
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client0">
+ <param>3</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client1">
+ <param>3</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client2">
+ <param>3</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client3">
+ <param>3</param>
+ <param>3</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client4">
+ <param>3</param>
+ <param>3</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client5">
+ <param>3</param>
+ <param>3</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client3"/>
+ <wait_for_task runtime_id="client4"/>
+ <wait_for_task runtime_id="client5"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery08_Test12" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery08 Test12'</description>
+ <configuration names_required="4"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server01" runtime_id="server1">
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server01" runtime_id="server2">
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server01" runtime_id="server3">
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server01" runtime_id="server4">
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client0">
+ <param>3</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client1">
+ <param>3</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client2">
+ <param>3</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client3">
+ <param>3</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <wait_for_task runtime_id="client3"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client4">
+ <param>4</param>
+ <param>3</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client5">
+ <param>4</param>
+ <param>3</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client6">
+ <param>4</param>
+ <param>3</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client7">
+ <param>4</param>
+ <param>3</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client4"/>
+ <wait_for_task runtime_id="client5"/>
+ <wait_for_task runtime_id="client6"/>
+ <wait_for_task runtime_id="client7"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery08_Test13" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery08 Test13'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server01" runtime_id="server1">
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client0">
+ <param>4</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client1">
+ <param>1</param>
+ <param>4</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery08_Test14" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery08 Test14'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server01" runtime_id="server1">
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server01" runtime_id="server2">
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client0">
+ <param>4</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client1">
+ <param>4</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client2">
+ <param>2</param>
+ <param>4</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client3">
+ <param>2</param>
+ <param>4</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client2"/>
+ <wait_for_task runtime_id="client3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery08_Test15" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery08 Test15'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server01" runtime_id="server1">
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server01" runtime_id="server2">
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server01" runtime_id="server3">
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client0">
+ <param>4</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client1">
+ <param>4</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client2">
+ <param>4</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client3">
+ <param>3</param>
+ <param>4</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client4">
+ <param>3</param>
+ <param>4</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client5">
+ <param>3</param>
+ <param>4</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client3"/>
+ <wait_for_task runtime_id="client4"/>
+ <wait_for_task runtime_id="client5"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery08_Test16" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery08 Test16'</description>
+ <configuration names_required="4"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server01" runtime_id="server1">
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server01" runtime_id="server2">
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server01" runtime_id="server3">
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server01" runtime_id="server4">
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client0">
+ <param>4</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client1">
+ <param>4</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client2">
+ <param>4</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client3">
+ <param>4</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <wait_for_task runtime_id="client3"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client4">
+ <param>4</param>
+ <param>4</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client5">
+ <param>4</param>
+ <param>4</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client6">
+ <param>4</param>
+ <param>4</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client7">
+ <param>4</param>
+ <param>4</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client4"/>
+ <wait_for_task runtime_id="client5"/>
+ <wait_for_task runtime_id="client6"/>
+ <wait_for_task runtime_id="client7"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery08_Test17" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery08 Test17'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server02" runtime_id="server1">
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client0">
+ <param>1</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client1">
+ <param>1</param>
+ <param>1</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery08_Test18" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery08 Test18'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server02" runtime_id="server1">
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server02" runtime_id="server2">
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client0">
+ <param>1</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client1">
+ <param>1</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client2">
+ <param>2</param>
+ <param>1</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client3">
+ <param>2</param>
+ <param>1</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client2"/>
+ <wait_for_task runtime_id="client3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery08_Test19" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery08 Test19'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server02" runtime_id="server1">
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server02" runtime_id="server2">
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server02" runtime_id="server3">
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client0">
+ <param>1</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client1">
+ <param>1</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client2">
+ <param>1</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client3">
+ <param>3</param>
+ <param>1</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client4">
+ <param>3</param>
+ <param>1</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client5">
+ <param>3</param>
+ <param>1</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client3"/>
+ <wait_for_task runtime_id="client4"/>
+ <wait_for_task runtime_id="client5"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery08_Test20" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery08 Test20'</description>
+ <configuration names_required="4"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server02" runtime_id="server1">
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server02" runtime_id="server2">
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server02" runtime_id="server3">
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server02" runtime_id="server4">
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client0">
+ <param>1</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client1">
+ <param>1</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client2">
+ <param>1</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client3">
+ <param>1</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <wait_for_task runtime_id="client3"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client4">
+ <param>4</param>
+ <param>1</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client5">
+ <param>4</param>
+ <param>1</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client6">
+ <param>4</param>
+ <param>1</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client7">
+ <param>4</param>
+ <param>1</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client4"/>
+ <wait_for_task runtime_id="client5"/>
+ <wait_for_task runtime_id="client6"/>
+ <wait_for_task runtime_id="client7"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery08_Test21" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery08 Test21'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server02" runtime_id="server1">
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client0">
+ <param>2</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client1">
+ <param>1</param>
+ <param>2</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery08_Test22" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery08 Test22'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server02" runtime_id="server1">
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server02" runtime_id="server2">
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client0">
+ <param>2</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client1">
+ <param>2</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client2">
+ <param>2</param>
+ <param>2</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client3">
+ <param>2</param>
+ <param>2</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client2"/>
+ <wait_for_task runtime_id="client3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery08_Test23" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery08 Test23'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server02" runtime_id="server1">
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server02" runtime_id="server2">
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server02" runtime_id="server3">
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client0">
+ <param>2</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client1">
+ <param>2</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client2">
+ <param>2</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client3">
+ <param>3</param>
+ <param>2</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client4">
+ <param>3</param>
+ <param>2</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client5">
+ <param>3</param>
+ <param>2</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client3"/>
+ <wait_for_task runtime_id="client4"/>
+ <wait_for_task runtime_id="client5"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery08_Test24" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery08 Test24'</description>
+ <configuration names_required="4"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server02" runtime_id="server1">
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server02" runtime_id="server2">
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server02" runtime_id="server3">
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server02" runtime_id="server4">
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client0">
+ <param>2</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client1">
+ <param>2</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client2">
+ <param>2</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client3">
+ <param>2</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <wait_for_task runtime_id="client3"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client4">
+ <param>4</param>
+ <param>2</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client5">
+ <param>4</param>
+ <param>2</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client6">
+ <param>4</param>
+ <param>2</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client7">
+ <param>4</param>
+ <param>2</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client4"/>
+ <wait_for_task runtime_id="client5"/>
+ <wait_for_task runtime_id="client6"/>
+ <wait_for_task runtime_id="client7"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery08_Test25" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery08 Test25'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server02" runtime_id="server1">
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client0">
+ <param>3</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client1">
+ <param>1</param>
+ <param>3</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery08_Test26" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery08 Test26'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server02" runtime_id="server1">
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server02" runtime_id="server2">
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client0">
+ <param>3</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client1">
+ <param>3</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client2">
+ <param>2</param>
+ <param>3</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client3">
+ <param>2</param>
+ <param>3</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client2"/>
+ <wait_for_task runtime_id="client3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery08_Test27" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery08 Test27'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server02" runtime_id="server1">
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server02" runtime_id="server2">
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server02" runtime_id="server3">
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client0">
+ <param>3</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client1">
+ <param>3</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client2">
+ <param>3</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client3">
+ <param>3</param>
+ <param>3</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client4">
+ <param>3</param>
+ <param>3</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client5">
+ <param>3</param>
+ <param>3</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client3"/>
+ <wait_for_task runtime_id="client4"/>
+ <wait_for_task runtime_id="client5"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery08_Test28" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery08 Test28'</description>
+ <configuration names_required="4"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server02" runtime_id="server1">
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server02" runtime_id="server2">
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server02" runtime_id="server3">
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server02" runtime_id="server4">
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client0">
+ <param>3</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client1">
+ <param>3</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client2">
+ <param>3</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client3">
+ <param>3</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <wait_for_task runtime_id="client3"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client4">
+ <param>4</param>
+ <param>3</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client5">
+ <param>4</param>
+ <param>3</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client6">
+ <param>4</param>
+ <param>3</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client7">
+ <param>4</param>
+ <param>3</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client4"/>
+ <wait_for_task runtime_id="client5"/>
+ <wait_for_task runtime_id="client6"/>
+ <wait_for_task runtime_id="client7"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery08_Test29" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery08 Test29'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server02" runtime_id="server1">
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client0">
+ <param>4</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client1">
+ <param>1</param>
+ <param>4</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery08_Test30" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery08 Test30'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server02" runtime_id="server1">
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server02" runtime_id="server2">
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client0">
+ <param>4</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client1">
+ <param>4</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client2">
+ <param>2</param>
+ <param>4</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client3">
+ <param>2</param>
+ <param>4</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client2"/>
+ <wait_for_task runtime_id="client3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery08_Test31" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery08 Test31'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server02" runtime_id="server1">
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server02" runtime_id="server2">
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server02" runtime_id="server3">
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client0">
+ <param>4</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client1">
+ <param>4</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client2">
+ <param>4</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client3">
+ <param>3</param>
+ <param>4</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client4">
+ <param>3</param>
+ <param>4</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client5">
+ <param>3</param>
+ <param>4</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client3"/>
+ <wait_for_task runtime_id="client4"/>
+ <wait_for_task runtime_id="client5"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery08_Test32" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CrashRecovery08 Test32'</description>
+ <configuration names_required="4"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server02" runtime_id="server1">
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server02" runtime_id="server2">
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server02" runtime_id="server3">
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Servers.Server02" runtime_id="server4">
+ <param>$(4)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client0">
+ <param>4</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client1">
+ <param>4</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client2">
+ <param>4</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01b" runtime_id="client3">
+ <param>4</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <wait_for_task runtime_id="client3"/>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client4">
+ <param>4</param>
+ <param>4</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client5">
+ <param>4</param>
+ <param>4</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client6">
+ <param>4</param>
+ <param>4</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery08Clients.Client01a" runtime_id="client7">
+ <param>4</param>
+ <param>4</param>
+ <param>$(4)</param>
+ </start_task>
+ <wait_for_task runtime_id="client4"/>
+ <wait_for_task runtime_id="client5"/>
+ <wait_for_task runtime_id="client6"/>
+ <wait_for_task runtime_id="client7"/>
+ <terminate_task runtime_id="server4"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ <param>$(4)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+</test_set>
Added: labs/jbosstm/trunk/qa/testdefs/jbossts-qa-crashrecovery12-testdefs.xml
===================================================================
--- labs/jbosstm/trunk/qa/testdefs/jbossts-qa-crashrecovery12-testdefs.xml (rev 0)
+++ labs/jbosstm/trunk/qa/testdefs/jbossts-qa-crashrecovery12-testdefs.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,273 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<!-- $Id: atsqa-crashrecovery12-qa-testdefs.xml,v 1.4 2004/11/03 09:49:05 kconner Exp $ -->
+<test_set>
+ <default_timeout value="240"/>
+ <description>Crash Recovery Tests 12</description>
+
+ <test_group name="CrashRecovery12">
+ <task_declaration>
+ <task id="com.arjuna.ats.arjuna.recovery.RecoveryManager"
+ classname="com.arjuna.ats.arjuna.recovery.RecoveryManager" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery12Setups.Setup01"
+ classname="org.jboss.jbossts.qa.CrashRecovery12Setups.Setup01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery12Clients.Client01"
+ classname="org.jboss.jbossts.qa.CrashRecovery12Clients.Client01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CrashRecovery12Outcomes.Outcome01"
+ classname="org.jboss.jbossts.qa.CrashRecovery12Outcomes.Outcome01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" classname="org.jboss.jbossts.qa.Utils.EmptyObjectStore"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ </task_declaration>
+
+ <test_declaration id="CrashRecovery12_Test01" descriptive_name="CrashRecovery12 Test01" author="JDC">
+ <description>No crash test</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.CrashRecovery12Setups.Setup01" runtime_id="setup0">
+ <param>CR12_01.log</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="setup0">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery12Clients.Client01" runtime_id="client0"
+ location="setup0">
+ <param>nocrash</param>
+ <param>CR12_01.log</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery12_Test02" descriptive_name="CrashRecovery12 Test02" author="JDC">
+ <description>Crash in prepare test</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.CrashRecovery12Setups.Setup01" runtime_id="setup0">
+ <param>CR12_02.log</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="setup0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery12Clients.Client01" runtime_id="client0"
+ location="setup0">
+ <param>prepare</param>
+ <param>CR12_02.log</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery12Outcomes.Outcome01" runtime_id="outcome0"
+ location="setup0">
+ <param>45000</param>
+ <param>CR12_02.log</param>
+ <param>no</param>
+ </start_task>
+ <wait_for_task runtime_id="outcome0"/>
+ <terminate_task runtime_id="server0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery12_Test03" descriptive_name="CrashRecovery12 Test03" author="JDC">
+ <description>Crash in commit test</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.CrashRecovery12Setups.Setup01" runtime_id="setup0">
+ <param>CR12_03.log</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="setup0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery12Clients.Client01" runtime_id="client0"
+ location="setup0">
+ <param>commit</param>
+ <param>CR12_03.log</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery12Outcomes.Outcome01" runtime_id="outcome0"
+ location="setup0">
+ <param>45000</param>
+ <param>CR12_03.log</param>
+ <param>yes</param>
+ </start_task>
+ <wait_for_task runtime_id="outcome0"/>
+ <terminate_task runtime_id="server0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery12_Test04" descriptive_name="CrashRecovery12 Test04" author="JDC">
+ <description>Crash in rollback test</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.CrashRecovery12Setups.Setup01" runtime_id="setup0">
+ <param>CR12_04.log</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="setup0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery12Clients.Client01" runtime_id="client0"
+ location="setup0">
+ <param>rollback</param>
+ <param>CR12_04.log</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery12Outcomes.Outcome01" runtime_id="outcome0"
+ location="setup0">
+ <param>45000</param>
+ <param>CR12_04.log</param>
+ <param>no</param>
+ </start_task>
+ <wait_for_task runtime_id="outcome0"/>
+ <terminate_task runtime_id="server0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery12_Test05" descriptive_name="CrashRecovery12 Test05" author="JDC">
+ <description>Crash in prepare and crash RM test</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.CrashRecovery12Setups.Setup01" runtime_id="setup0">
+ <param>CR12_05.log</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="setup0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery12Clients.Client01" runtime_id="client0"
+ location="setup0">
+ <param>prepare</param>
+ <param>CR12_05.log</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server1" location="setup0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery12Outcomes.Outcome01" runtime_id="outcome0"
+ location="setup0">
+ <param>45000</param>
+ <param>CR12_05.log</param>
+ <param>no</param>
+ </start_task>
+ <wait_for_task runtime_id="outcome0"/>
+ <terminate_task runtime_id="server1"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery12_Test06" descriptive_name="CrashRecovery12 Test06" author="JDC">
+ <description>Crash in commit and crash RM test</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.CrashRecovery12Setups.Setup01" runtime_id="setup0">
+ <param>CR12_06.log</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="setup0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery12Clients.Client01" runtime_id="client0"
+ location="setup0">
+ <param>commit</param>
+ <param>CR12_06.log</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server1" location="setup0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery12Outcomes.Outcome01" runtime_id="outcome0"
+ location="setup0">
+ <param>45000</param>
+ <param>CR12_06.log</param>
+ <param>yes</param>
+ </start_task>
+ <wait_for_task runtime_id="outcome0"/>
+ <terminate_task runtime_id="server1"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CrashRecovery12_Test07" descriptive_name="CrashRecovery12 Test07" author="JDC">
+ <description>Crash in rollback and crash RM test</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.CrashRecovery12Setups.Setup01" runtime_id="setup0">
+ <param>CR12_07.log</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="setup0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery12Clients.Client01" runtime_id="client0"
+ location="setup0">
+ <param>rollback</param>
+ <param>CR12_07.log</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server1" location="setup0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CrashRecovery12Outcomes.Outcome01" runtime_id="outcome0"
+ location="setup0">
+ <param>45000</param>
+ <param>CR12_07.log</param>
+ <param>no</param>
+ </start_task>
+ <wait_for_task runtime_id="outcome0"/>
+ <terminate_task runtime_id="server1"/>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+</test_set>
Added: labs/jbosstm/trunk/qa/testdefs/jbossts-qa-currenttests01-testdefs.xml
===================================================================
--- labs/jbosstm/trunk/qa/testdefs/jbossts-qa-currenttests01-testdefs.xml (rev 0)
+++ labs/jbosstm/trunk/qa/testdefs/jbossts-qa-currenttests01-testdefs.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,795 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<test_set>
+ <default_timeout value="480"/>
+ <description>Current Tests 01</description>
+
+
+ <test_group name="CurrentTests01">
+ <task_declaration>
+ <task id="com.arjuna.ats.arjuna.recovery.RecoveryManager"
+ classname="com.arjuna.ats.arjuna.recovery.RecoveryManager" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.CurrentTests01.Test01" classname="org.jboss.jbossts.qa.CurrentTests01.Test01"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CurrentTests01.Test02" classname="org.jboss.jbossts.qa.CurrentTests01.Test02"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CurrentTests01.Test03" classname="org.jboss.jbossts.qa.CurrentTests01.Test03"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CurrentTests01.Test04" classname="org.jboss.jbossts.qa.CurrentTests01.Test04"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CurrentTests01.Test05" classname="org.jboss.jbossts.qa.CurrentTests01.Test05"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CurrentTests01.Test06" classname="org.jboss.jbossts.qa.CurrentTests01.Test06"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CurrentTests01.Test07" classname="org.jboss.jbossts.qa.CurrentTests01.Test07"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CurrentTests01.Test08" classname="org.jboss.jbossts.qa.CurrentTests01.Test08"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CurrentTests01.Test09" classname="org.jboss.jbossts.qa.CurrentTests01.Test09"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CurrentTests01.Test10" classname="org.jboss.jbossts.qa.CurrentTests01.Test10"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CurrentTests01.Test11" classname="org.jboss.jbossts.qa.CurrentTests01.Test11"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CurrentTests01.Test12" classname="org.jboss.jbossts.qa.CurrentTests01.Test12"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CurrentTests01.Test13" classname="org.jboss.jbossts.qa.CurrentTests01.Test13"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CurrentTests01.Test14" classname="org.jboss.jbossts.qa.CurrentTests01.Test14"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CurrentTests01.Test15" classname="org.jboss.jbossts.qa.CurrentTests01.Test15"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CurrentTests01.Test16" classname="org.jboss.jbossts.qa.CurrentTests01.Test16"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CurrentTests01.Test17" classname="org.jboss.jbossts.qa.CurrentTests01.Test17"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CurrentTests01.Test18" classname="org.jboss.jbossts.qa.CurrentTests01.Test18"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CurrentTests01.Test19" classname="org.jboss.jbossts.qa.CurrentTests01.Test19"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CurrentTests01.Test20" classname="org.jboss.jbossts.qa.CurrentTests01.Test20"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CurrentTests01.Test21" classname="org.jboss.jbossts.qa.CurrentTests01.Test21"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CurrentTests01.Test22" classname="org.jboss.jbossts.qa.CurrentTests01.Test22"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CurrentTests01.Test23" classname="org.jboss.jbossts.qa.CurrentTests01.Test23"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CurrentTests01.Test24" classname="org.jboss.jbossts.qa.CurrentTests01.Test24"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CurrentTests01.Test25" classname="org.jboss.jbossts.qa.CurrentTests01.Test25"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CurrentTests01.Test26" classname="org.jboss.jbossts.qa.CurrentTests01.Test26"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CurrentTests01.Test27" classname="org.jboss.jbossts.qa.CurrentTests01.Test27"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CurrentTests01.Test28" classname="org.jboss.jbossts.qa.CurrentTests01.Test28"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CurrentTests01.Test29" classname="org.jboss.jbossts.qa.CurrentTests01.Test29"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CurrentTests01.Test30" classname="org.jboss.jbossts.qa.CurrentTests01.Test30"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CurrentTests01.Test31" classname="org.jboss.jbossts.qa.CurrentTests01.Test31"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CurrentTests01.Test32" classname="org.jboss.jbossts.qa.CurrentTests01.Test32"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CurrentTests01.Test33" classname="org.jboss.jbossts.qa.CurrentTests01.Test33"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CurrentTests01.Test34" classname="org.jboss.jbossts.qa.CurrentTests01.Test34"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CurrentTests01.Test35" classname="org.jboss.jbossts.qa.CurrentTests01.Test35"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.CurrentTests01.Test36" classname="org.jboss.jbossts.qa.CurrentTests01.Test36"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" classname="org.jboss.jbossts.qa.Utils.EmptyObjectStore"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+ <task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore"
+ classname="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+ </task_declaration>
+ <test_declaration id="CurrentTests01_Test001" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CurrentTests01 Test001'</description>
+ <configuration/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CurrentTests01.Test01" runtime_id="client0">
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CurrentTests01_Test002" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CurrentTests01 Test002'</description>
+ <configuration/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CurrentTests01.Test02" runtime_id="client0">
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CurrentTests01_Test003" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CurrentTests01 Test003'</description>
+ <configuration/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CurrentTests01.Test03" runtime_id="client0">
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CurrentTests01_Test004" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CurrentTests01 Test004'</description>
+ <configuration/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CurrentTests01.Test04" runtime_id="client0">
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CurrentTests01_Test005" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CurrentTests01 Test005'</description>
+ <configuration/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CurrentTests01.Test05" runtime_id="client0">
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CurrentTests01_Test006" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CurrentTests01 Test006'</description>
+ <configuration/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CurrentTests01.Test06" runtime_id="client0">
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CurrentTests01_Test007" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CurrentTests01 Test007'</description>
+ <configuration/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CurrentTests01.Test07" runtime_id="client0">
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CurrentTests01_Test008" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CurrentTests01 Test008'</description>
+ <configuration/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CurrentTests01.Test08" runtime_id="client0">
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CurrentTests01_Test009" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CurrentTests01 Test009'</description>
+ <configuration/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CurrentTests01.Test09" runtime_id="client0">
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CurrentTests01_Test010" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CurrentTests01 Test010'</description>
+ <configuration/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CurrentTests01.Test10" runtime_id="client0">
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CurrentTests01_Test011" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CurrentTests01 Test011'</description>
+ <configuration/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CurrentTests01.Test11" runtime_id="client0">
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CurrentTests01_Test012" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CurrentTests01 Test012'</description>
+ <configuration/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CurrentTests01.Test12" runtime_id="client0">
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CurrentTests01_Test013" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CurrentTests01 Test013'</description>
+ <configuration/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CurrentTests01.Test13" runtime_id="client0">
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CurrentTests01_Test014" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CurrentTests01 Test014'</description>
+ <configuration/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CurrentTests01.Test14" runtime_id="client0">
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CurrentTests01_Test015" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CurrentTests01 Test015'</description>
+ <configuration/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CurrentTests01.Test15" runtime_id="client0">
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CurrentTests01_Test016" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CurrentTests01 Test016'</description>
+ <configuration/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CurrentTests01.Test16" runtime_id="client0">
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CurrentTests01_Test017" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CurrentTests01 Test017'</description>
+ <configuration/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CurrentTests01.Test17" runtime_id="client0">
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CurrentTests01_Test018" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CurrentTests01 Test018'</description>
+ <configuration/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CurrentTests01.Test18" runtime_id="client0">
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CurrentTests01_Test019" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CurrentTests01 Test019'</description>
+ <configuration/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CurrentTests01.Test19" runtime_id="client0">
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CurrentTests01_Test020" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CurrentTests01 Test020'</description>
+ <configuration/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CurrentTests01.Test20" runtime_id="client0">
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CurrentTests01_Test021" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CurrentTests01 Test021'</description>
+ <configuration/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CurrentTests01.Test21" runtime_id="client0">
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CurrentTests01_Test022" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CurrentTests01 Test022'</description>
+ <configuration/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CurrentTests01.Test22" runtime_id="client0">
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CurrentTests01_Test023" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CurrentTests01 Test023'</description>
+ <configuration/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CurrentTests01.Test23" runtime_id="client0">
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CurrentTests01_Test024" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CurrentTests01 Test024'</description>
+ <configuration/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CurrentTests01.Test24" runtime_id="client0">
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CurrentTests01_Test025" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CurrentTests01 Test025'</description>
+ <configuration/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CurrentTests01.Test25" runtime_id="client0">
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CurrentTests01_Test026" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CurrentTests01 Test026'</description>
+ <configuration/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CurrentTests01.Test26" runtime_id="client0">
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CurrentTests01_Test027" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CurrentTests01 Test027'</description>
+ <configuration/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CurrentTests01.Test27" runtime_id="client0">
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CurrentTests01_Test028" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CurrentTests01 Test028'</description>
+ <configuration/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CurrentTests01.Test28" runtime_id="client0">
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CurrentTests01_Test029" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CurrentTests01 Test029'</description>
+ <configuration/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CurrentTests01.Test29" runtime_id="client0">
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CurrentTests01_Test030" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CurrentTests01 Test030'</description>
+ <configuration/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CurrentTests01.Test30" runtime_id="client0">
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CurrentTests01_Test031" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CurrentTests01 Test031'</description>
+ <configuration/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CurrentTests01.Test31" runtime_id="client0">
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CurrentTests01_Test032" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CurrentTests01 Test032'</description>
+ <configuration/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CurrentTests01.Test32" runtime_id="client0">
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CurrentTests01_Test033" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CurrentTests01 Test033'</description>
+ <configuration/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CurrentTests01.Test33" runtime_id="client0">
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CurrentTests01_Test034" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CurrentTests01 Test034'</description>
+ <configuration/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CurrentTests01.Test34" runtime_id="client0">
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CurrentTests01_Test035" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CurrentTests01 Test035'</description>
+ <configuration/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CurrentTests01.Test35" runtime_id="client0">
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="CurrentTests01_Test036" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'CurrentTests01 Test036'</description>
+ <configuration/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.CurrentTests01.Test36" runtime_id="client0">
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+</test_set>
Added: labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbclocals01-firstsql_jndi-testdefs.xml
===================================================================
--- labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbclocals01-firstsql_jndi-testdefs.xml (rev 0)
+++ labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbclocals01-firstsql_jndi-testdefs.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,245 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<test_set>
+ <default_timeout value="480"/>
+ <description>JDBC Local Tests 01 - Firstl SQL JNDI</description>
+
+
+ <test_group name="JDBCLocals01-Firstsql-JNDI">
+ <task_declaration>
+ <task id="com.arjuna.ats.arjuna.recovery.RecoveryManager"
+ classname="com.arjuna.ats.arjuna.recovery.RecoveryManager" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCLocals01Setups.Setup01"
+ classname="org.jboss.jbossts.qa.JDBCLocals01Setups.Setup01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCLocals01.Client01" classname="org.jboss.jbossts.qa.JDBCLocals01.Client01"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCLocals01.Client02" classname="org.jboss.jbossts.qa.JDBCLocals01.Client02"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCLocals01.Client03" classname="org.jboss.jbossts.qa.JDBCLocals01.Client03"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCLocals01.Client04" classname="org.jboss.jbossts.qa.JDBCLocals01.Client04"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCLocals01.Client05" classname="org.jboss.jbossts.qa.JDBCLocals01.Client05"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCLocals01.Client06" classname="org.jboss.jbossts.qa.JDBCLocals01.Client06"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.JNDIManager" classname="org.jboss.jbossts.qa.Utils.JNDIManager"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCLocals01Cleanups.Cleanup01"
+ classname="org.jboss.jbossts.qa.JDBCLocals01Cleanups.Cleanup01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" classname="org.jboss.jbossts.qa.Utils.EmptyObjectStore"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+ </task_declaration>
+
+ <test_declaration id="JDBCLocals01-Firstsql-JNDI_Test001" descriptive_name="Local JDBC Test 01"
+ author="Mark Little">
+ <description>Local JDBC Test 01 'JDBCLocals01-Firstsql-JNDI Test001'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" runtime_id="node">
+ <param>-local</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" location="node">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Setups.Setup01" runtime_id="setup" location="node">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="node">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCLocals01.Client01" runtime_id="client0" location="node">
+ <param>DB_FSQL_JNDI</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Cleanups.Cleanup01" location="node"
+ runtime_id="cleanup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCLocals01-Firstsql-JNDI_Test002" descriptive_name="Local JDBC Test 02"
+ author="Mark Little">
+ <description>Local JDBC Test 01 'JDBCLocals01-Firstsql-JNDI Test002'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" runtime_id="node">
+ <param>-local</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" location=
+ "node">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Setups.Setup01" runtime_id="setup" location="node">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="node">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCLocals01.Client02" runtime_id="client0" location="node">
+ <param>DB_FSQL_JNDI</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Cleanups.Cleanup01" location="node"
+ runtime_id="cleanup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCLocals01-Firstsql-JNDI_Test003" descriptive_name="Local JDBC Test 03"
+ author="Mark Little">
+ <description>Local JDBC Test 01 'JDBCLocals01-Firstsql-JNDI Test002'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" runtime_id="node">
+ <param>-local</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" location=
+ "node">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Setups.Setup01" runtime_id="setup" location="node">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="node">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCLocals01.Client03" runtime_id="client0" location="node">
+ <param>DB_FSQL_JNDI</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Cleanups.Cleanup01" location="node"
+ runtime_id="cleanup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCLocals01-Firstsql-JNDI_Test004" descriptive_name="Local JDBC Test 04"
+ author="Mark Little">
+ <description>Local JDBC Test 01 'JDBCLocals01-Firstsql-JNDI Test004'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" runtime_id="node">
+ <param>-local</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" location=
+ "node">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Setups.Setup01" runtime_id="setup" location="node">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="node">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCLocals01.Client04" runtime_id="client0" location="node">
+ <param>DB_FSQL_JNDI</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Cleanups.Cleanup01" location="node"
+ runtime_id="cleanup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCLocals01-Firstsql-JNDI_Test005" descriptive_name="Local JDBC Test 05"
+ author="Mark Little">
+ <description>Local JDBC Test 01 'JDBCLocals01-Firstsql-JNDI Test005'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" runtime_id="node">
+ <param>-local</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" location=
+ "node">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Setups.Setup01" runtime_id="setup" location="node">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="node">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCLocals01.Client05" runtime_id="client0" location="node">
+ <param>DB_FSQL_JNDI</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Cleanups.Cleanup01" location="node"
+ runtime_id="cleanup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCLocals01-Firstsql-JNDI_Test006" descriptive_name="Local JDBC Test 06"
+ author="Mark Little">
+ <description>Local JDBC Test 01 'JDBCLocals01-Firstsql-JNDI Test006'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" runtime_id="node">
+ <param>-local</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" location=
+ "node">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Setups.Setup01" runtime_id="setup" location="node">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="node">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCLocals01.Client06" runtime_id="client0" location="node">
+ <param>DB_FSQL_JNDI</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Cleanups.Cleanup01" location="node"
+ runtime_id="cleanup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+</test_set>
Added: labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbclocals01-ibmdb2_jndi-testdefs.xml
===================================================================
--- labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbclocals01-ibmdb2_jndi-testdefs.xml (rev 0)
+++ labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbclocals01-ibmdb2_jndi-testdefs.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,245 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<test_set>
+ <default_timeout value="480"/>
+ <description>JDBC Local Tests 01 - IBMDB2 JNDI</description>
+
+
+ <test_group name="JDBCLocals01-ibmdb2-JNDI">
+ <task_declaration>
+ <task id="com.arjuna.ats.arjuna.recovery.RecoveryManager"
+ classname="com.arjuna.ats.arjuna.recovery.RecoveryManager" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCLocals01Setups.Setup01"
+ classname="org.jboss.jbossts.qa.JDBCLocals01Setups.Setup01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCLocals01.Client01" classname="org.jboss.jbossts.qa.JDBCLocals01.Client01"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCLocals01.Client02" classname="org.jboss.jbossts.qa.JDBCLocals01.Client02"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCLocals01.Client03" classname="org.jboss.jbossts.qa.JDBCLocals01.Client03"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCLocals01.Client04" classname="org.jboss.jbossts.qa.JDBCLocals01.Client04"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCLocals01.Client05" classname="org.jboss.jbossts.qa.JDBCLocals01.Client05"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCLocals01.Client06" classname="org.jboss.jbossts.qa.JDBCLocals01.Client06"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.JNDIManager" classname="org.jboss.jbossts.qa.Utils.JNDIManager"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCLocals01Cleanups.Cleanup01"
+ classname="org.jboss.jbossts.qa.JDBCLocals01Cleanups.Cleanup01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" classname="org.jboss.jbossts.qa.Utils.EmptyObjectStore"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+ </task_declaration>
+
+ <test_declaration id="JDBCLocals01-ibmdb2-JNDI_Test001" descriptive_name="Local JDBC Test 01"
+ author="Mark Little">
+ <description>Local JDBC Test 01 'JDBCLocals01-ibmdb2-JNDI Test001'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" runtime_id="node">
+ <param>-local</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" location="node">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Setups.Setup01" runtime_id="setup" location="node">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="node">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCLocals01.Client01" runtime_id="client0" location="node">
+ <param>DB_IBMDB2_JNDI</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Cleanups.Cleanup01" location="node"
+ runtime_id="cleanup">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCLocals01-ibmdb2-JNDI_Test002" descriptive_name="Local JDBC Test 02"
+ author="Mark Little">
+ <description>Local JDBC Test 01 'JDBCLocals01-ibmdb2-JNDI Test002'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" runtime_id="node">
+ <param>-local</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" location=
+ "node">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Setups.Setup01" runtime_id="setup" location="node">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="node">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCLocals01.Client02" runtime_id="client0" location="node">
+ <param>DB_IBMDB2_JNDI</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Cleanups.Cleanup01" location="node"
+ runtime_id="cleanup">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCLocals01-ibmdb2-JNDI_Test003" descriptive_name="Local JDBC Test 03"
+ author="Mark Little">
+ <description>Local JDBC Test 01 'JDBCLocals01-ibmdb2-JNDI Test002'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" runtime_id="node">
+ <param>-local</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" location=
+ "node">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Setups.Setup01" runtime_id="setup" location="node">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="node">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCLocals01.Client03" runtime_id="client0" location="node">
+ <param>DB_IBMDB2_JNDI</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Cleanups.Cleanup01" location="node"
+ runtime_id="cleanup">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCLocals01-ibmdb2-JNDI_Test004" descriptive_name="Local JDBC Test 04"
+ author="Mark Little">
+ <description>Local JDBC Test 01 'JDBCLocals01-ibmdb2-JNDI Test004'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" runtime_id="node">
+ <param>-local</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" location=
+ "node">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Setups.Setup01" runtime_id="setup" location="node">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="node">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCLocals01.Client04" runtime_id="client0" location="node">
+ <param>DB_IBMDB2_JNDI</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Cleanups.Cleanup01" location="node"
+ runtime_id="cleanup">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCLocals01-ibmdb2-JNDI_Test005" descriptive_name="Local JDBC Test 05"
+ author="Mark Little">
+ <description>Local JDBC Test 01 'JDBCLocals01-ibmdb2-JNDI Test005'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" runtime_id="node">
+ <param>-local</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" location=
+ "node">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Setups.Setup01" runtime_id="setup" location="node">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="node">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCLocals01.Client05" runtime_id="client0" location="node">
+ <param>DB_IBMDB2_JNDI</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Cleanups.Cleanup01" location="node"
+ runtime_id="cleanup">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCLocals01-ibmdb2-JNDI_Test006" descriptive_name="Local JDBC Test 06"
+ author="Mark Little">
+ <description>Local JDBC Test 01 'JDBCLocals01-ibmdb2-JNDI Test006'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" runtime_id="node">
+ <param>-local</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" location=
+ "node">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Setups.Setup01" runtime_id="setup" location="node">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="node">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCLocals01.Client06" runtime_id="client0" location="node">
+ <param>DB_IBMDB2_JNDI</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Cleanups.Cleanup01" location="node"
+ runtime_id="cleanup">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+</test_set>
Added: labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbclocals01-mssql_jndi-testdefs.xml
===================================================================
--- labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbclocals01-mssql_jndi-testdefs.xml (rev 0)
+++ labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbclocals01-mssql_jndi-testdefs.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,246 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<test_set>
+ <default_timeout value="480"/>
+ <description>JDBC Local Tests 01 - MS-SQL JNDI</description>
+
+
+ <test_group name="JDBCLocals01-MS-SQL-JNDI">
+ <task_declaration>
+ <task id="com.arjuna.ats.arjuna.recovery.RecoveryManager"
+ classname="com.arjuna.ats.arjuna.recovery.RecoveryManager" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCLocals01Setups.Setup01"
+ classname="org.jboss.jbossts.qa.JDBCLocals01Setups.Setup01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCLocals01.Client01" classname="org.jboss.jbossts.qa.JDBCLocals01.Client01"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCLocals01.Client02" classname="org.jboss.jbossts.qa.JDBCLocals01.Client02"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCLocals01.Client03" classname="org.jboss.jbossts.qa.JDBCLocals01.Client03"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCLocals01.Client04" classname="org.jboss.jbossts.qa.JDBCLocals01.Client04"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCLocals01.Client05" classname="org.jboss.jbossts.qa.JDBCLocals01.Client05"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCLocals01.Client06" classname="org.jboss.jbossts.qa.JDBCLocals01.Client06"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCLocals01Cleanups.Cleanup01"
+ classname="org.jboss.jbossts.qa.JDBCLocals01Cleanups.Cleanup01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" classname="org.jboss.jbossts.qa.Utils.EmptyObjectStore"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.JNDIManager" classname="org.jboss.jbossts.qa.Utils.JNDIManager"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+ </task_declaration>
+
+ <test_declaration id="JDBCLocals01-MS-SQL-JNDI_Test001" descriptive_name="Local JDBC Test 01"
+ author="Mark Little">
+ <description>Local JDBC Test 01 'JDBCLocals01-MS-SQL-JNDI Test001'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" runtime_id="node">
+ <param>-local</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" location=
+ "node">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Setups.Setup01" runtime_id="setup" location="node">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="node">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCLocals01.Client01" runtime_id="client0" location="node">
+ <param>DB_SQL_JNDI</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Cleanups.Cleanup01" location="node"
+ runtime_id="cleanup">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCLocals01-MS-SQL-JNDI_Test002" descriptive_name="Local JDBC Test 02"
+ author="Mark Little">
+ <description>Local JDBC Test 01 'JDBCLocals01-MS-SQL-JNDI Test002'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" runtime_id="node">
+ <param>-local</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" location=
+ "node">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Setups.Setup01" runtime_id="setup" location="node">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="node">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCLocals01.Client02" runtime_id="client0" location="node">
+ <param>DB_SQL_JNDI</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Cleanups.Cleanup01" location="node"
+ runtime_id="cleanup">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCLocals01-MS-SQL-JNDI_Test003" descriptive_name="Local JDBC Test 03"
+ author="Mark Little">
+ <description>Local JDBC Test 01 'JDBCLocals01-MS-SQL-JNDI Test002'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" runtime_id="node">
+ <param>-local</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" location=
+ "node">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Setups.Setup01" runtime_id="setup" location="node">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="node">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCLocals01.Client03" runtime_id="client0" location="node">
+ <param>DB_SQL_JNDI</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Cleanups.Cleanup01" location="node"
+ runtime_id="cleanup">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCLocals01-MS-SQL-JNDI_Test004" descriptive_name="Local JDBC Test 04"
+ author="Mark Little">
+ <description>Local JDBC Test 01 'JDBCLocals01-MS-SQL-JNDI Test004'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" runtime_id="node">
+ <param>-local</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" location=
+ "node">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Setups.Setup01" runtime_id="setup" location="node">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="node">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCLocals01.Client04" runtime_id="client0" location="node">
+ <param>DB_SQL_JNDI</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Cleanups.Cleanup01" location="node"
+ runtime_id="cleanup">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCLocals01-MS-SQL-JNDI_Test005" descriptive_name="Local JDBC Test 05"
+ author="Mark Little">
+ <description>Local JDBC Test 01 'JDBCLocals01-MS-SQL-JNDI Test005'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" runtime_id="node">
+ <param>-local</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" location=
+ "node">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Setups.Setup01" runtime_id="setup" location="node">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="node">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCLocals01.Client05" runtime_id="client0" location="node">
+ <param>DB_SQL_JNDI</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Cleanups.Cleanup01" location="node"
+ runtime_id="cleanup">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCLocals01-MS-SQL-JNDI_Test006" descriptive_name="Local JDBC Test 06"
+ author="Mark Little">
+ <description>Local JDBC Test 01 'JDBCLocals01-MS-SQL-JNDI Test006'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" runtime_id="node">
+ <param>-local</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" location=
+ "node">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Setups.Setup01" runtime_id="setup" location="node">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="node">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCLocals01.Client06" runtime_id="client0" location="node">
+ <param>DB_SQL_JNDI</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Cleanups.Cleanup01" location="node"
+ runtime_id="cleanup">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+</test_set>
Added: labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbclocals01-mysql_jndi-testdefs.xml
===================================================================
--- labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbclocals01-mysql_jndi-testdefs.xml (rev 0)
+++ labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbclocals01-mysql_jndi-testdefs.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,245 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<test_set>
+ <default_timeout value="480"/>
+ <description>JDBC Local Tests 01 - MySQL JNDI</description>
+
+
+ <test_group name="JDBCLocals01-MySQL-JNDI">
+ <task_declaration>
+ <task id="com.arjuna.ats.arjuna.recovery.RecoveryManager"
+ classname="com.arjuna.ats.arjuna.recovery.RecoveryManager" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCLocals01Setups.Setup01"
+ classname="org.jboss.jbossts.qa.JDBCLocals01Setups.Setup01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCLocals01.Client01" classname="org.jboss.jbossts.qa.JDBCLocals01.Client01"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCLocals01.Client02" classname="org.jboss.jbossts.qa.JDBCLocals01.Client02"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCLocals01.Client03" classname="org.jboss.jbossts.qa.JDBCLocals01.Client03"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCLocals01.Client04" classname="org.jboss.jbossts.qa.JDBCLocals01.Client04"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCLocals01.Client05" classname="org.jboss.jbossts.qa.JDBCLocals01.Client05"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCLocals01.Client06" classname="org.jboss.jbossts.qa.JDBCLocals01.Client06"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.JNDIManager" classname="org.jboss.jbossts.qa.Utils.JNDIManager"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCLocals01Cleanups.Cleanup01"
+ classname="org.jboss.jbossts.qa.JDBCLocals01Cleanups.Cleanup01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" classname="org.jboss.jbossts.qa.Utils.EmptyObjectStore"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+ </task_declaration>
+
+ <test_declaration id="JDBCLocals01-MySQL-JNDI_Test001" descriptive_name="Local JDBC Test 01"
+ author="Mark Little">
+ <description>Local JDBC Test 01 'JDBCLocals01-MySQL-JNDI Test001'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" runtime_id="node">
+ <param>-local</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" location="node">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Setups.Setup01" runtime_id="setup" location="node">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="node">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCLocals01.Client01" runtime_id="client0" location="node">
+ <param>DB_MYSQL_JNDI</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Cleanups.Cleanup01" location="node"
+ runtime_id="cleanup">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCLocals01-MySQL-JNDI_Test002" descriptive_name="Local JDBC Test 02"
+ author="Mark Little">
+ <description>Local JDBC Test 01 'JDBCLocals01-MySQL-JNDI Test002'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" runtime_id="node">
+ <param>-local</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" location=
+ "node">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Setups.Setup01" runtime_id="setup" location="node">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="node">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCLocals01.Client02" runtime_id="client0" location="node">
+ <param>DB_MYSQL_JNDI</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Cleanups.Cleanup01" location="node"
+ runtime_id="cleanup">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCLocals01-MySQL-JNDI_Test003" descriptive_name="Local JDBC Test 03"
+ author="Mark Little">
+ <description>Local JDBC Test 01 'JDBCLocals01-MySQL-JNDI Test002'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" runtime_id="node">
+ <param>-local</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" location=
+ "node">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Setups.Setup01" runtime_id="setup" location="node">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="node">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCLocals01.Client03" runtime_id="client0" location="node">
+ <param>DB_MYSQL_JNDI</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Cleanups.Cleanup01" location="node"
+ runtime_id="cleanup">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCLocals01-MySQL-JNDI_Test004" descriptive_name="Local JDBC Test 04"
+ author="Mark Little">
+ <description>Local JDBC Test 01 'JDBCLocals01-MySQL-JNDI Test004'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" runtime_id="node">
+ <param>-local</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" location=
+ "node">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Setups.Setup01" runtime_id="setup" location="node">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="node">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCLocals01.Client04" runtime_id="client0" location="node">
+ <param>DB_MYSQL_JNDI</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Cleanups.Cleanup01" location="node"
+ runtime_id="cleanup">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCLocals01-MySQL-JNDI_Test005" descriptive_name="Local JDBC Test 05"
+ author="Mark Little">
+ <description>Local JDBC Test 01 'JDBCLocals01-MySQL-JNDI Test005'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" runtime_id="node">
+ <param>-local</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" location=
+ "node">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Setups.Setup01" runtime_id="setup" location="node">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="node">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCLocals01.Client05" runtime_id="client0" location="node">
+ <param>DB_MYSQL_JNDI</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Cleanups.Cleanup01" location="node"
+ runtime_id="cleanup">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCLocals01-MySQL-JNDI_Test006" descriptive_name="Local JDBC Test 06"
+ author="Mark Little">
+ <description>Local JDBC Test 01 'JDBCLocals01-MySQL-JNDI Test006'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" runtime_id="node">
+ <param>-local</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" location=
+ "node">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Setups.Setup01" runtime_id="setup" location="node">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="node">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCLocals01.Client06" runtime_id="client0" location="node">
+ <param>DB_MYSQL_JNDI</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Cleanups.Cleanup01" location="node"
+ runtime_id="cleanup">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+</test_set>
Added: labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbclocals01-oracle_jndi-testdefs.xml
===================================================================
--- labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbclocals01-oracle_jndi-testdefs.xml (rev 0)
+++ labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbclocals01-oracle_jndi-testdefs.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,245 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<test_set>
+ <default_timeout value="480"/>
+ <description>JDBC Local Tests 01 - Oracle JNDI</description>
+
+
+ <test_group name="JDBCLocals01-Oracle-JNDI">
+ <task_declaration>
+ <task id="com.arjuna.ats.arjuna.recovery.RecoveryManager"
+ classname="com.arjuna.ats.arjuna.recovery.RecoveryManager" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCLocals01Setups.Setup01"
+ classname="org.jboss.jbossts.qa.JDBCLocals01Setups.Setup01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCLocals01.Client01" classname="org.jboss.jbossts.qa.JDBCLocals01.Client01"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCLocals01.Client02" classname="org.jboss.jbossts.qa.JDBCLocals01.Client02"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCLocals01.Client03" classname="org.jboss.jbossts.qa.JDBCLocals01.Client03"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCLocals01.Client04" classname="org.jboss.jbossts.qa.JDBCLocals01.Client04"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCLocals01.Client05" classname="org.jboss.jbossts.qa.JDBCLocals01.Client05"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCLocals01.Client06" classname="org.jboss.jbossts.qa.JDBCLocals01.Client06"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.JNDIManager" classname="org.jboss.jbossts.qa.Utils.JNDIManager"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCLocals01Cleanups.Cleanup01"
+ classname="org.jboss.jbossts.qa.JDBCLocals01Cleanups.Cleanup01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" classname="org.jboss.jbossts.qa.Utils.EmptyObjectStore"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+ </task_declaration>
+
+ <test_declaration id="JDBCLocals01-Oracle-JNDI_Test001" descriptive_name="Local JDBC Test 01"
+ author="Mark Little">
+ <description>Local JDBC Test 01 'JDBCLocals01-Oracle-JNDI Test001'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" runtime_id="node">
+ <param>-local</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" location="node">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Setups.Setup01" runtime_id="setup" location="node">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="node">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCLocals01.Client01" runtime_id="client0" location="node">
+ <param>DB_THIN_JNDI</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Cleanups.Cleanup01" location="node"
+ runtime_id="cleanup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCLocals01-Oracle-JNDI_Test002" descriptive_name="Local JDBC Test 02"
+ author="Mark Little">
+ <description>Local JDBC Test 01 'JDBCLocals01-Oracle-JNDI Test002'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" runtime_id="node">
+ <param>-local</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" location=
+ "node">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Setups.Setup01" runtime_id="setup" location="node">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="node">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCLocals01.Client02" runtime_id="client0" location="node">
+ <param>DB_THIN_JNDI</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Cleanups.Cleanup01" location="node"
+ runtime_id="cleanup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCLocals01-Oracle-JNDI_Test003" descriptive_name="Local JDBC Test 03"
+ author="Mark Little">
+ <description>Local JDBC Test 01 'JDBCLocals01-Oracle-JNDI Test002'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" runtime_id="node">
+ <param>-local</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" location=
+ "node">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Setups.Setup01" runtime_id="setup" location="node">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="node">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCLocals01.Client03" runtime_id="client0" location="node">
+ <param>DB_THIN_JNDI</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Cleanups.Cleanup01" location="node"
+ runtime_id="cleanup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCLocals01-Oracle-JNDI_Test004" descriptive_name="Local JDBC Test 04"
+ author="Mark Little">
+ <description>Local JDBC Test 01 'JDBCLocals01-Oracle-JNDI Test004'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" runtime_id="node">
+ <param>-local</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" location=
+ "node">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Setups.Setup01" runtime_id="setup" location="node">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="node">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCLocals01.Client04" runtime_id="client0" location="node">
+ <param>DB_THIN_JNDI</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Cleanups.Cleanup01" location="node"
+ runtime_id="cleanup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCLocals01-Oracle-JNDI_Test005" descriptive_name="Local JDBC Test 05"
+ author="Mark Little">
+ <description>Local JDBC Test 01 'JDBCLocals01-Oracle-JNDI Test005'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" runtime_id="node">
+ <param>-local</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" location=
+ "node">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Setups.Setup01" runtime_id="setup" location="node">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="node">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCLocals01.Client05" runtime_id="client0" location="node">
+ <param>DB_THIN_JNDI</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Cleanups.Cleanup01" location="node"
+ runtime_id="cleanup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCLocals01-Oracle-JNDI_Test006" descriptive_name="Local JDBC Test 06"
+ author="Mark Little">
+ <description>Local JDBC Test 01 'JDBCLocals01-Oracle-JNDI Test006'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" runtime_id="node">
+ <param>-local</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" location=
+ "node">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Setups.Setup01" runtime_id="setup" location="node">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="node">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCLocals01.Client06" runtime_id="client0" location="node">
+ <param>DB_THIN_JNDI</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Cleanups.Cleanup01" location="node"
+ runtime_id="cleanup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+</test_set>
Added: labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbclocals01-pgsql_jndi-testdefs.xml
===================================================================
--- labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbclocals01-pgsql_jndi-testdefs.xml (rev 0)
+++ labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbclocals01-pgsql_jndi-testdefs.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,245 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<test_set>
+ <default_timeout value="480"/>
+ <description>JDBC Local Tests 01 - PostgreSQL JNDI</description>
+
+
+ <test_group name="JDBCLocals01-PostgreSQL-JNDI">
+ <task_declaration>
+ <task id="com.arjuna.ats.arjuna.recovery.RecoveryManager"
+ classname="com.arjuna.ats.arjuna.recovery.RecoveryManager" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCLocals01Setups.Setup01"
+ classname="org.jboss.jbossts.qa.JDBCLocals01Setups.Setup01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCLocals01.Client01" classname="org.jboss.jbossts.qa.JDBCLocals01.Client01"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCLocals01.Client02" classname="org.jboss.jbossts.qa.JDBCLocals01.Client02"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCLocals01.Client03" classname="org.jboss.jbossts.qa.JDBCLocals01.Client03"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCLocals01.Client04" classname="org.jboss.jbossts.qa.JDBCLocals01.Client04"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCLocals01.Client05" classname="org.jboss.jbossts.qa.JDBCLocals01.Client05"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCLocals01.Client06" classname="org.jboss.jbossts.qa.JDBCLocals01.Client06"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.JNDIManager" classname="org.jboss.jbossts.qa.Utils.JNDIManager"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCLocals01Cleanups.Cleanup01"
+ classname="org.jboss.jbossts.qa.JDBCLocals01Cleanups.Cleanup01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" classname="org.jboss.jbossts.qa.Utils.EmptyObjectStore"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+ </task_declaration>
+
+ <test_declaration id="JDBCLocals01-PostgreSQL-JNDI_Test001" descriptive_name="Local JDBC Test 01"
+ author="Mark Little">
+ <description>Local JDBC Test 01 'JDBCLocals01-PostgreSQL-JNDI Test001'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" runtime_id="node">
+ <param>-local</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" location="node">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Setups.Setup01" runtime_id="setup" location="node">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="node">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCLocals01.Client01" runtime_id="client0" location="node">
+ <param>DB_PGSQL_JNDI</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Cleanups.Cleanup01" location="node"
+ runtime_id="cleanup">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCLocals01-PostgreSQL-JNDI_Test002" descriptive_name="Local JDBC Test 02"
+ author="Mark Little">
+ <description>Local JDBC Test 01 'JDBCLocals01-PostgreSQL-JNDI Test002'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" runtime_id="node">
+ <param>-local</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" location=
+ "node">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Setups.Setup01" runtime_id="setup" location="node">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="node">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCLocals01.Client02" runtime_id="client0" location="node">
+ <param>DB_PGSQL_JNDI</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Cleanups.Cleanup01" location="node"
+ runtime_id="cleanup">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCLocals01-PostgreSQL-JNDI_Test003" descriptive_name="Local JDBC Test 03"
+ author="Mark Little">
+ <description>Local JDBC Test 01 'JDBCLocals01-PostgreSQL-JNDI Test002'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" runtime_id="node">
+ <param>-local</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" location=
+ "node">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Setups.Setup01" runtime_id="setup" location="node">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="node">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCLocals01.Client03" runtime_id="client0" location="node">
+ <param>DB_PGSQL_JNDI</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Cleanups.Cleanup01" location="node"
+ runtime_id="cleanup">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCLocals01-PostgreSQL-JNDI_Test004" descriptive_name="Local JDBC Test 04"
+ author="Mark Little">
+ <description>Local JDBC Test 01 'JDBCLocals01-PostgreSQL-JNDI Test004'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" runtime_id="node">
+ <param>-local</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" location=
+ "node">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Setups.Setup01" runtime_id="setup" location="node">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="node">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCLocals01.Client04" runtime_id="client0" location="node">
+ <param>DB_PGSQL_JNDI</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Cleanups.Cleanup01" location="node"
+ runtime_id="cleanup">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCLocals01-PostgreSQL-JNDI_Test005" descriptive_name="Local JDBC Test 05"
+ author="Mark Little">
+ <description>Local JDBC Test 01 'JDBCLocals01-PostgreSQL-JNDI Test005'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" runtime_id="node">
+ <param>-local</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" location=
+ "node">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Setups.Setup01" runtime_id="setup" location="node">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="node">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCLocals01.Client05" runtime_id="client0" location="node">
+ <param>DB_PGSQL_JNDI</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Cleanups.Cleanup01" location="node"
+ runtime_id="cleanup">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCLocals01-PostgreSQL-JNDI_Test006" descriptive_name="Local JDBC Test 06"
+ author="Mark Little">
+ <description>Local JDBC Test 01 'JDBCLocals01-PostgreSQL-JNDI Test006'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" runtime_id="node">
+ <param>-local</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" location=
+ "node">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Setups.Setup01" runtime_id="setup" location="node">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="node">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCLocals01.Client06" runtime_id="client0" location="node">
+ <param>DB_PGSQL_JNDI</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Cleanups.Cleanup01" location="node"
+ runtime_id="cleanup">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+</test_set>
Added: labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbclocals01-sybase_jndi-testdefs.xml
===================================================================
--- labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbclocals01-sybase_jndi-testdefs.xml (rev 0)
+++ labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbclocals01-sybase_jndi-testdefs.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,245 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<test_set>
+ <default_timeout value="480"/>
+ <description>JDBC Local Tests 01 - Sybase JNDI</description>
+
+
+ <test_group name="JDBCLocals01-sybase-JNDI">
+ <task_declaration>
+ <task id="com.arjuna.ats.arjuna.recovery.RecoveryManager"
+ classname="com.arjuna.ats.arjuna.recovery.RecoveryManager" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCLocals01Setups.Setup01"
+ classname="org.jboss.jbossts.qa.JDBCLocals01Setups.Setup01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCLocals01.Client01" classname="org.jboss.jbossts.qa.JDBCLocals01.Client01"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCLocals01.Client02" classname="org.jboss.jbossts.qa.JDBCLocals01.Client02"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCLocals01.Client03" classname="org.jboss.jbossts.qa.JDBCLocals01.Client03"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCLocals01.Client04" classname="org.jboss.jbossts.qa.JDBCLocals01.Client04"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCLocals01.Client05" classname="org.jboss.jbossts.qa.JDBCLocals01.Client05"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCLocals01.Client06" classname="org.jboss.jbossts.qa.JDBCLocals01.Client06"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.JNDIManager" classname="org.jboss.jbossts.qa.Utils.JNDIManager"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCLocals01Cleanups.Cleanup01"
+ classname="org.jboss.jbossts.qa.JDBCLocals01Cleanups.Cleanup01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" classname="org.jboss.jbossts.qa.Utils.EmptyObjectStore"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+ </task_declaration>
+
+ <test_declaration id="JDBCLocals01-sybase-JNDI_Test001" descriptive_name="Local JDBC Test 01"
+ author="Mark Little">
+ <description>Local JDBC Test 01 'JDBCLocals01-sybase-JNDI Test001'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" runtime_id="node">
+ <param>-local</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" location="node">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Setups.Setup01" runtime_id="setup" location="node">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="node">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCLocals01.Client01" runtime_id="client0" location="node">
+ <param>DB_SYBASE_JNDI</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Cleanups.Cleanup01" location="node"
+ runtime_id="cleanup">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCLocals01-sybase-JNDI_Test002" descriptive_name="Local JDBC Test 02"
+ author="Mark Little">
+ <description>Local JDBC Test 01 'JDBCLocals01-sybase-JNDI Test002'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" runtime_id="node">
+ <param>-local</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" location=
+ "node">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Setups.Setup01" runtime_id="setup" location="node">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="node">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCLocals01.Client02" runtime_id="client0" location="node">
+ <param>DB_SYBASE_JNDI</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Cleanups.Cleanup01" location="node"
+ runtime_id="cleanup">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCLocals01-sybase-JNDI_Test003" descriptive_name="Local JDBC Test 03"
+ author="Mark Little">
+ <description>Local JDBC Test 01 'JDBCLocals01-sybase-JNDI Test002'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" runtime_id="node">
+ <param>-local</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" location=
+ "node">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Setups.Setup01" runtime_id="setup" location="node">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="node">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCLocals01.Client03" runtime_id="client0" location="node">
+ <param>DB_SYBASE_JNDI</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Cleanups.Cleanup01" location="node"
+ runtime_id="cleanup">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCLocals01-sybase-JNDI_Test004" descriptive_name="Local JDBC Test 04"
+ author="Mark Little">
+ <description>Local JDBC Test 01 'JDBCLocals01-sybase-JNDI Test004'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" runtime_id="node">
+ <param>-local</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" location=
+ "node">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Setups.Setup01" runtime_id="setup" location="node">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="node">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCLocals01.Client04" runtime_id="client0" location="node">
+ <param>DB_SYBASE_JNDI</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Cleanups.Cleanup01" location="node"
+ runtime_id="cleanup">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCLocals01-sybase-JNDI_Test005" descriptive_name="Local JDBC Test 05"
+ author="Mark Little">
+ <description>Local JDBC Test 01 'JDBCLocals01-sybase-JNDI Test005'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" runtime_id="node">
+ <param>-local</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" location=
+ "node">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Setups.Setup01" runtime_id="setup" location="node">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="node">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCLocals01.Client05" runtime_id="client0" location="node">
+ <param>DB_SYBASE_JNDI</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Cleanups.Cleanup01" location="node"
+ runtime_id="cleanup">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCLocals01-sybase-JNDI_Test006" descriptive_name="Local JDBC Test 06"
+ author="Mark Little">
+ <description>Local JDBC Test 01 'JDBCLocals01-sybase-JNDI Test006'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" runtime_id="node">
+ <param>-local</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" location=
+ "node">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Setups.Setup01" runtime_id="setup" location="node">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="node">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCLocals01.Client06" runtime_id="client0" location="node">
+ <param>DB_SYBASE_JNDI</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCLocals01Cleanups.Cleanup01" location="node"
+ runtime_id="cleanup">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+</test_set>
Added: labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources01-firstsql_jndi-testdefs.xml
===================================================================
--- labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources01-firstsql_jndi-testdefs.xml (rev 0)
+++ labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources01-firstsql_jndi-testdefs.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,1997 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<test_set>
+ <default_timeout value="480"/>
+ <description>JDBC Resources Tests 01 - First SQL JNDI</description>
+
+
+ <test_group name="JDBCResources01-Firstsql_jndi">
+ <task_declaration>
+ <task id="org.jboss.jbossts.qa.Utils.JNDIManager" classname="org.jboss.jbossts.qa.Utils.JNDIManager"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01"
+ classname="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="com.arjuna.ats.arjuna.recovery.RecoveryManager"
+ classname="com.arjuna.ats.arjuna.recovery.RecoveryManager" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01"
+ classname="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client01"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01"
+ classname="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore"
+ classname="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client02"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client02" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client03"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client03" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client04"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client04" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client05"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client05" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client06"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client06" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02"
+ classname="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02"
+ classname="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client07"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client07" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client08"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client08" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client09"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client09" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client10"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client10" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client11"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client11" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client12"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client12" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client13"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client13" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client14"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client14" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client15"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client15" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client16"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client16" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" classname="org.jboss.jbossts.qa.Utils.EmptyObjectStore"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+ </task_declaration>
+ <test_declaration id="JDBCResources01-Firstsql_jndi_Test001" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-Firstsql_jndi Test001'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client01" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-Firstsql_jndi_Test002" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-Firstsql_jndi Test002'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client02" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-Firstsql_jndi_Test003" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-Firstsql_jndi Test003'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client03" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-Firstsql_jndi_Test004" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-Firstsql_jndi Test004'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client04" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-Firstsql_jndi_Test007" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-Firstsql_jndi Test007'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client01" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-Firstsql_jndi_Test008" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-Firstsql_jndi Test008'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client02" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-Firstsql_jndi_Test009" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-Firstsql_jndi Test009'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client03" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-Firstsql_jndi_Test010" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-Firstsql_jndi Test010'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client04" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-Firstsql_jndi_Test011" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-Firstsql_jndi Test011'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client05" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-Firstsql_jndi_Test012" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-Firstsql_jndi Test012'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client06" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-Firstsql_jndi_Test013" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-Firstsql_jndi Test013'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client07" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-Firstsql_jndi_Test014" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-Firstsql_jndi Test014'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client08" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-Firstsql_jndi_Test015" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-Firstsql_jndi Test015'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client09" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-Firstsql_jndi_Test016" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-Firstsql_jndi Test016'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client10" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-Firstsql_jndi_Test017" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-Firstsql_jndi Test017'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client11" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-Firstsql_jndi_Test018" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-Firstsql_jndi Test018'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client07" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-Firstsql_jndi_Test019" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-Firstsql_jndi Test019'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client08" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-Firstsql_jndi_Test020" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-Firstsql_jndi Test020'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client09" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-Firstsql_jndi_Test021" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-Firstsql_jndi Test021'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client10" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-Firstsql_jndi_Test022" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-Firstsql_jndi Test022'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client11" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-Firstsql_jndi_Test023" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-Firstsql_jndi Test023'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_FSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client12" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-Firstsql_jndi_Test024" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-Firstsql_jndi Test024'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_FSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client13" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-Firstsql_jndi_Test025" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-Firstsql_jndi Test025'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_FSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client14" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-Firstsql_jndi_Test026" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-Firstsql_jndi Test026'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_FSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client15" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-Firstsql_jndi_Test027" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-Firstsql_jndi Test027'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_FSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client16" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-Firstsql_jndi_Test028" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-Firstsql_jndi Test028'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_FSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client12" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-Firstsql_jndi_Test029" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-Firstsql_jndi Test029'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_FSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client13" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-Firstsql_jndi_Test030" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-Firstsql_jndi Test030'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_FSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client14" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-Firstsql_jndi_Test031" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-Firstsql_jndi Test031'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_FSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client15" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-Firstsql_jndi_Test032" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-Firstsql_jndi Test032'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_FSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client16" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+</test_set>
Added: labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources01-ibmdb2_jndi-testdefs.xml
===================================================================
--- labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources01-ibmdb2_jndi-testdefs.xml (rev 0)
+++ labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources01-ibmdb2_jndi-testdefs.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,2005 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2007,
+ @author JBoss, a division of Red Hat.
+-->
+<!--
+Cloned from jbossts-qa-jdbcresources01-oracle_thin_jndi-testdefs.xml
+ s/Oracle_thin_jndi/ibmdb2_jndi/g
+ s/DB_THIN_JNDI/DB_IBMDB2_JNDI/g
+ s/DB1_THIN_JNDI/DB1_IBMDB2_JNDI/g
+ s/DB2_THIN_JNDI/DB2_IBMDB2_JNDI/g
+Edit JDBCProfiles to define the 3 new IBMDB2 datasources
+-->
+<test_set>
+ <default_timeout value="480"/>
+ <description>JDBC Resources Tests 01 - IBMDB2 JNDI</description>
+
+
+ <test_group name="JDBCResources01-ibmdb2_jndi">
+ <task_declaration>
+ <task id="org.jboss.jbossts.qa.Utils.JNDIManager" classname="org.jboss.jbossts.qa.Utils.JNDIManager"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01"
+ classname="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="com.arjuna.ats.arjuna.recovery.RecoveryManager"
+ classname="com.arjuna.ats.arjuna.recovery.RecoveryManager" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01"
+ classname="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client01"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01"
+ classname="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore"
+ classname="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client02"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client02" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client03"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client03" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client04"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client04" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client05"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client05" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client06"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client06" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02"
+ classname="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02"
+ classname="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client07"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client07" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client08"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client08" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client09"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client09" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client10"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client10" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client11"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client11" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client12"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client12" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client13"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client13" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client14"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client14" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client15"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client15" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client16"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client16" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" classname="org.jboss.jbossts.qa.Utils.EmptyObjectStore"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+ </task_declaration>
+ <test_declaration id="JDBCResources01-ibmdb2_jndi_Test001" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-ibmdb2_jndi Test001'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client01" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-ibmdb2_jndi_Test002" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-ibmdb2_jndi Test002'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client02" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-ibmdb2_jndi_Test003" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-ibmdb2_jndi Test003'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client03" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-ibmdb2_jndi_Test004" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-ibmdb2_jndi Test004'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client04" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-ibmdb2_jndi_Test007" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-ibmdb2_jndi Test007'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client01" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-ibmdb2_jndi_Test008" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-ibmdb2_jndi Test008'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client02" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-ibmdb2_jndi_Test009" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-ibmdb2_jndi Test009'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client03" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-ibmdb2_jndi_Test010" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-ibmdb2_jndi Test010'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client04" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-ibmdb2_jndi_Test011" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-ibmdb2_jndi Test011'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client05" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-ibmdb2_jndi_Test012" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-ibmdb2_jndi Test012'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client06" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-ibmdb2_jndi_Test013" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-ibmdb2_jndi Test013'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client07" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-ibmdb2_jndi_Test014" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-ibmdb2_jndi Test014'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client08" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-ibmdb2_jndi_Test015" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-ibmdb2_jndi Test015'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client09" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-ibmdb2_jndi_Test016" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-ibmdb2_jndi Test016'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client10" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-ibmdb2_jndi_Test017" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-ibmdb2_jndi Test017'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client11" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-ibmdb2_jndi_Test018" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-ibmdb2_jndi Test018'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client07" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-ibmdb2_jndi_Test019" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-ibmdb2_jndi Test019'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client08" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-ibmdb2_jndi_Test020" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-ibmdb2_jndi Test020'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client09" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-ibmdb2_jndi_Test021" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-ibmdb2_jndi Test021'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client10" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-ibmdb2_jndi_Test022" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-ibmdb2_jndi Test022'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client11" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-ibmdb2_jndi_Test023" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-ibmdb2_jndi Test023'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_IBMDB2_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_IBMDB2_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client12" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-ibmdb2_jndi_Test024" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-ibmdb2_jndi Test024'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_IBMDB2_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_IBMDB2_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client13" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-ibmdb2_jndi_Test025" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-ibmdb2_jndi Test025'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_IBMDB2_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_IBMDB2_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client14" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-ibmdb2_jndi_Test026" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-ibmdb2_jndi Test026'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_IBMDB2_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_IBMDB2_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client15" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-ibmdb2_jndi_Test027" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-ibmdb2_jndi Test027'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_IBMDB2_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_IBMDB2_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client16" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-ibmdb2_jndi_Test028" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-ibmdb2_jndi Test028'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_IBMDB2_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_IBMDB2_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client12" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-ibmdb2_jndi_Test029" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-ibmdb2_jndi Test029'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_IBMDB2_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_IBMDB2_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client13" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-ibmdb2_jndi_Test030" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-ibmdb2_jndi Test030'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_IBMDB2_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_IBMDB2_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client14" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-ibmdb2_jndi_Test031" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-ibmdb2_jndi Test031'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_IBMDB2_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_IBMDB2_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client15" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-ibmdb2_jndi_Test032" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-ibmdb2_jndi Test032'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_IBMDB2_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_IBMDB2_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client16" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+</test_set>
Added: labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources01-mysql_jndi-testdefs.xml
===================================================================
--- labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources01-mysql_jndi-testdefs.xml (rev 0)
+++ labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources01-mysql_jndi-testdefs.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,2005 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2007,
+ @author JBoss, a division of Red Hat.
+-->
+<!--
+Cloned from jbossts-qa-jdbcresources01-oracle_thin_jndi-testdefs.xml
+ s/Oracle_thin_jndi/mysql_jndi/g
+ s/DB_THIN_JNDI/DB_MYSQL_JNDI/g
+ s/DB1_THIN_JNDI/DB1_MYSQL_JNDI/g
+ s/DB2_THIN_JNDI/DB2_MYSQL_JNDI/g
+Edit JDBCProfiles to define the 3 new MYSQL datasources
+-->
+<test_set>
+ <default_timeout value="480"/>
+ <description>JDBC Resources Tests 01 - MySQL JNDI</description>
+
+
+ <test_group name="JDBCResources01-mysql_jndi">
+ <task_declaration>
+ <task id="org.jboss.jbossts.qa.Utils.JNDIManager" classname="org.jboss.jbossts.qa.Utils.JNDIManager"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01"
+ classname="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="com.arjuna.ats.arjuna.recovery.RecoveryManager"
+ classname="com.arjuna.ats.arjuna.recovery.RecoveryManager" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01"
+ classname="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client01"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01"
+ classname="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore"
+ classname="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client02"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client02" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client03"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client03" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client04"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client04" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client05"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client05" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client06"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client06" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02"
+ classname="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02"
+ classname="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client07"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client07" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client08"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client08" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client09"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client09" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client10"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client10" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client11"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client11" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client12"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client12" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client13"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client13" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client14"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client14" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client15"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client15" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client16"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client16" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" classname="org.jboss.jbossts.qa.Utils.EmptyObjectStore"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+ </task_declaration>
+ <test_declaration id="JDBCResources01-mysql_jndi_Test001" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-mysql_jndi Test001'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client01" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-mysql_jndi_Test002" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-mysql_jndi Test002'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client02" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-mysql_jndi_Test003" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-mysql_jndi Test003'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client03" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-mysql_jndi_Test004" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-mysql_jndi Test004'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client04" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-mysql_jndi_Test007" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-mysql_jndi Test007'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client01" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-mysql_jndi_Test008" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-mysql_jndi Test008'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client02" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-mysql_jndi_Test009" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-mysql_jndi Test009'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client03" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-mysql_jndi_Test010" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-mysql_jndi Test010'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client04" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-mysql_jndi_Test011" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-mysql_jndi Test011'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client05" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-mysql_jndi_Test012" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-mysql_jndi Test012'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client06" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-mysql_jndi_Test013" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-mysql_jndi Test013'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client07" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-mysql_jndi_Test014" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-mysql_jndi Test014'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client08" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-mysql_jndi_Test015" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-mysql_jndi Test015'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client09" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-mysql_jndi_Test016" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-mysql_jndi Test016'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client10" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-mysql_jndi_Test017" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-mysql_jndi Test017'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client11" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-mysql_jndi_Test018" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-mysql_jndi Test018'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client07" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-mysql_jndi_Test019" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-mysql_jndi Test019'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client08" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-mysql_jndi_Test020" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-mysql_jndi Test020'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client09" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-mysql_jndi_Test021" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-mysql_jndi Test021'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client10" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-mysql_jndi_Test022" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-mysql_jndi Test022'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client11" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-mysql_jndi_Test023" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-mysql_jndi Test023'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_MYSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_MYSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client12" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-mysql_jndi_Test024" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-mysql_jndi Test024'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_MYSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_MYSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client13" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-mysql_jndi_Test025" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-mysql_jndi Test025'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_MYSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_MYSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client14" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-mysql_jndi_Test026" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-mysql_jndi Test026'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_MYSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_MYSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client15" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-mysql_jndi_Test027" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-mysql_jndi Test027'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_MYSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_MYSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client16" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-mysql_jndi_Test028" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-mysql_jndi Test028'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_MYSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_MYSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client12" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-mysql_jndi_Test029" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-mysql_jndi Test029'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_MYSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_MYSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client13" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-mysql_jndi_Test030" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-mysql_jndi Test030'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_MYSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_MYSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client14" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-mysql_jndi_Test031" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-mysql_jndi Test031'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_MYSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_MYSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client15" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-mysql_jndi_Test032" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-mysql_jndi Test032'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_MYSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_MYSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client16" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+</test_set>
Added: labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources01-oracle_thin_jndi-testdefs.xml
===================================================================
--- labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources01-oracle_thin_jndi-testdefs.xml (rev 0)
+++ labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources01-oracle_thin_jndi-testdefs.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,1997 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<test_set>
+ <default_timeout value="480"/>
+ <description>JDBC Resources Tests 01 - Oracle thin JNDI</description>
+
+
+ <test_group name="JDBCResources01-Oracle_thin_jndi">
+ <task_declaration>
+ <task id="org.jboss.jbossts.qa.Utils.JNDIManager" classname="org.jboss.jbossts.qa.Utils.JNDIManager"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01"
+ classname="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="com.arjuna.ats.arjuna.recovery.RecoveryManager"
+ classname="com.arjuna.ats.arjuna.recovery.RecoveryManager" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01"
+ classname="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client01"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01"
+ classname="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore"
+ classname="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client02"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client02" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client03"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client03" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client04"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client04" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client05"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client05" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client06"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client06" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02"
+ classname="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02"
+ classname="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client07"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client07" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client08"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client08" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client09"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client09" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client10"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client10" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client11"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client11" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client12"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client12" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client13"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client13" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client14"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client14" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client15"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client15" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client16"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client16" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" classname="org.jboss.jbossts.qa.Utils.EmptyObjectStore"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+ </task_declaration>
+ <test_declaration id="JDBCResources01-Oracle_thin_jndi_Test001" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-Oracle_thin_jndi Test001'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client01" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-Oracle_thin_jndi_Test002" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-Oracle_thin_jndi Test002'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client02" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-Oracle_thin_jndi_Test003" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-Oracle_thin_jndi Test003'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client03" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-Oracle_thin_jndi_Test004" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-Oracle_thin_jndi Test004'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client04" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-Oracle_thin_jndi_Test007" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-Oracle_thin_jndi Test007'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client01" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-Oracle_thin_jndi_Test008" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-Oracle_thin_jndi Test008'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client02" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-Oracle_thin_jndi_Test009" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-Oracle_thin_jndi Test009'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client03" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-Oracle_thin_jndi_Test010" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-Oracle_thin_jndi Test010'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client04" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-Oracle_thin_jndi_Test011" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-Oracle_thin_jndi Test011'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client05" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-Oracle_thin_jndi_Test012" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-Oracle_thin_jndi Test012'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client06" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-Oracle_thin_jndi_Test013" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-Oracle_thin_jndi Test013'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client07" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-Oracle_thin_jndi_Test014" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-Oracle_thin_jndi Test014'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client08" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-Oracle_thin_jndi_Test015" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-Oracle_thin_jndi Test015'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client09" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-Oracle_thin_jndi_Test016" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-Oracle_thin_jndi Test016'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client10" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-Oracle_thin_jndi_Test017" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-Oracle_thin_jndi Test017'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client11" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-Oracle_thin_jndi_Test018" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-Oracle_thin_jndi Test018'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client07" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-Oracle_thin_jndi_Test019" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-Oracle_thin_jndi Test019'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client08" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-Oracle_thin_jndi_Test020" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-Oracle_thin_jndi Test020'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client09" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-Oracle_thin_jndi_Test021" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-Oracle_thin_jndi Test021'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client10" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-Oracle_thin_jndi_Test022" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-Oracle_thin_jndi Test022'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client11" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-Oracle_thin_jndi_Test023" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-Oracle_thin_jndi Test023'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_THIN_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client12" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-Oracle_thin_jndi_Test024" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-Oracle_thin_jndi Test024'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_THIN_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client13" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-Oracle_thin_jndi_Test025" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-Oracle_thin_jndi Test025'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_THIN_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client14" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-Oracle_thin_jndi_Test026" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-Oracle_thin_jndi Test026'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_THIN_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client15" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-Oracle_thin_jndi_Test027" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-Oracle_thin_jndi Test027'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_THIN_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client16" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-Oracle_thin_jndi_Test028" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-Oracle_thin_jndi Test028'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_THIN_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client12" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-Oracle_thin_jndi_Test029" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-Oracle_thin_jndi Test029'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_THIN_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client13" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-Oracle_thin_jndi_Test030" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-Oracle_thin_jndi Test030'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_THIN_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client14" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-Oracle_thin_jndi_Test031" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-Oracle_thin_jndi Test031'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_THIN_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client15" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-Oracle_thin_jndi_Test032" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-Oracle_thin_jndi Test032'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_THIN_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client16" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+</test_set>
Added: labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources01-pgsql_jndi-testdefs.xml
===================================================================
--- labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources01-pgsql_jndi-testdefs.xml (rev 0)
+++ labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources01-pgsql_jndi-testdefs.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,2005 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2007,
+ @author JBoss, a division of Red Hat.
+-->
+<!--
+Cloned from jbossts-qa-jdbcresources01-oracle_thin_jndi-testdefs.xml
+ s/Oracle_thin_jndi/pgsql_jndi/g
+ s/DB_THIN_JNDI/DB_PGSQL_JNDI/g
+ s/DB1_THIN_JNDI/DB1_PGSQL_JNDI/g
+ s/DB2_THIN_JNDI/DB2_PGSQL_JNDI/g
+Edit JDBCProfiles to define the 3 new PGSQL datasources
+-->
+<test_set>
+ <default_timeout value="480"/>
+ <description>JDBC Resources Tests 01 - PostgreSQL JNDI</description>
+
+
+ <test_group name="JDBCResources01-pgsql_jndi">
+ <task_declaration>
+ <task id="org.jboss.jbossts.qa.Utils.JNDIManager" classname="org.jboss.jbossts.qa.Utils.JNDIManager"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01"
+ classname="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="com.arjuna.ats.arjuna.recovery.RecoveryManager"
+ classname="com.arjuna.ats.arjuna.recovery.RecoveryManager" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01"
+ classname="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client01"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01"
+ classname="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore"
+ classname="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client02"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client02" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client03"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client03" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client04"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client04" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client05"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client05" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client06"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client06" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02"
+ classname="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02"
+ classname="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client07"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client07" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client08"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client08" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client09"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client09" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client10"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client10" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client11"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client11" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client12"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client12" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client13"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client13" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client14"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client14" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client15"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client15" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client16"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client16" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" classname="org.jboss.jbossts.qa.Utils.EmptyObjectStore"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+ </task_declaration>
+ <test_declaration id="JDBCResources01-pgsql_jndi_Test001" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-pgsql_jndi Test001'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client01" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-pgsql_jndi_Test002" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-pgsql_jndi Test002'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client02" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-pgsql_jndi_Test003" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-pgsql_jndi Test003'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client03" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-pgsql_jndi_Test004" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-pgsql_jndi Test004'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client04" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-pgsql_jndi_Test007" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-pgsql_jndi Test007'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client01" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-pgsql_jndi_Test008" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-pgsql_jndi Test008'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client02" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-pgsql_jndi_Test009" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-pgsql_jndi Test009'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client03" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-pgsql_jndi_Test010" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-pgsql_jndi Test010'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client04" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-pgsql_jndi_Test011" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-pgsql_jndi Test011'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client05" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-pgsql_jndi_Test012" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-pgsql_jndi Test012'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client06" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-pgsql_jndi_Test013" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-pgsql_jndi Test013'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client07" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-pgsql_jndi_Test014" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-pgsql_jndi Test014'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client08" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-pgsql_jndi_Test015" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-pgsql_jndi Test015'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client09" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-pgsql_jndi_Test016" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-pgsql_jndi Test016'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client10" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-pgsql_jndi_Test017" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-pgsql_jndi Test017'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client11" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-pgsql_jndi_Test018" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-pgsql_jndi Test018'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client07" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-pgsql_jndi_Test019" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-pgsql_jndi Test019'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client08" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-pgsql_jndi_Test020" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-pgsql_jndi Test020'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client09" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-pgsql_jndi_Test021" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-pgsql_jndi Test021'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client10" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-pgsql_jndi_Test022" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-pgsql_jndi Test022'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client11" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-pgsql_jndi_Test023" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-pgsql_jndi Test023'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_PGSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_PGSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client12" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-pgsql_jndi_Test024" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-pgsql_jndi Test024'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_PGSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_PGSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client13" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-pgsql_jndi_Test025" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-pgsql_jndi Test025'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_PGSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_PGSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client14" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-pgsql_jndi_Test026" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-pgsql_jndi Test026'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_PGSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_PGSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client15" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-pgsql_jndi_Test027" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-pgsql_jndi Test027'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_PGSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_PGSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client16" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-pgsql_jndi_Test028" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-pgsql_jndi Test028'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_PGSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_PGSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client12" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-pgsql_jndi_Test029" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-pgsql_jndi Test029'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_PGSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_PGSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client13" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-pgsql_jndi_Test030" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-pgsql_jndi Test030'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_PGSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_PGSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client14" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-pgsql_jndi_Test031" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-pgsql_jndi Test031'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_PGSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_PGSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client15" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-pgsql_jndi_Test032" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-pgsql_jndi Test032'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_PGSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_PGSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client16" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+</test_set>
Added: labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources01-sybase_jndi-testdefs.xml
===================================================================
--- labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources01-sybase_jndi-testdefs.xml (rev 0)
+++ labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources01-sybase_jndi-testdefs.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,1997 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<test_set>
+ <default_timeout value="480"/>
+ <description>JDBC Resources Tests 01 - Sybase JNDI</description>
+
+
+ <test_group name="JDBCResources01-sybase_jndi">
+ <task_declaration>
+ <task id="org.jboss.jbossts.qa.Utils.JNDIManager" classname="org.jboss.jbossts.qa.Utils.JNDIManager"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01"
+ classname="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="com.arjuna.ats.arjuna.recovery.RecoveryManager"
+ classname="com.arjuna.ats.arjuna.recovery.RecoveryManager" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01"
+ classname="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client01"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01"
+ classname="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore"
+ classname="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client02"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client02" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client03"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client03" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client04"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client04" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client05"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client05" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client06"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client06" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02"
+ classname="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02"
+ classname="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client07"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client07" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client08"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client08" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client09"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client09" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client10"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client10" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client11"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client11" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client12"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client12" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client13"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client13" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client14"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client14" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client15"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client15" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client16"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client16" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" classname="org.jboss.jbossts.qa.Utils.EmptyObjectStore"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+ </task_declaration>
+ <test_declaration id="JDBCResources01-sybase_jndi_Test001" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-sybase_jndi Test001'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client01" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-sybase_jndi_Test002" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-sybase_jndi Test002'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client02" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-sybase_jndi_Test003" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-sybase_jndi Test003'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client03" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-sybase_jndi_Test004" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-sybase_jndi Test004'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client04" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-sybase_jndi_Test007" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-sybase_jndi Test007'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client01" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-sybase_jndi_Test008" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-sybase_jndi Test008'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client02" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-sybase_jndi_Test009" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-sybase_jndi Test009'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client03" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-sybase_jndi_Test010" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-sybase_jndi Test010'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client04" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-sybase_jndi_Test011" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-sybase_jndi Test011'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client05" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-sybase_jndi_Test012" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-sybase_jndi Test012'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client06" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-sybase_jndi_Test013" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-sybase_jndi Test013'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client07" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-sybase_jndi_Test014" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-sybase_jndi Test014'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client08" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-sybase_jndi_Test015" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-sybase_jndi Test015'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client09" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-sybase_jndi_Test016" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-sybase_jndi Test016'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client10" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-sybase_jndi_Test017" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-sybase_jndi Test017'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client11" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-sybase_jndi_Test018" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-sybase_jndi Test018'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client07" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-sybase_jndi_Test019" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-sybase_jndi Test019'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client08" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-sybase_jndi_Test020" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-sybase_jndi Test020'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client09" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-sybase_jndi_Test021" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-sybase_jndi Test021'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client10" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-sybase_jndi_Test022" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-sybase_jndi Test022'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client11" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-sybase_jndi_Test023" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-sybase_jndi Test023'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_SYBASE_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_SYBASE_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client12" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-sybase_jndi_Test024" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-sybase_jndi Test024'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_SYBASE_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_SYBASE_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client13" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-sybase_jndi_Test025" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-sybase_jndi Test025'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_SYBASE_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_SYBASE_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client14" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-sybase_jndi_Test026" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-sybase_jndi Test026'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_SYBASE_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_SYBASE_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client15" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-sybase_jndi_Test027" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-sybase_jndi Test027'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_SYBASE_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_SYBASE_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client16" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-sybase_jndi_Test028" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-sybase_jndi Test028'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_SYBASE_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_SYBASE_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client12" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-sybase_jndi_Test029" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-sybase_jndi Test029'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_SYBASE_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_SYBASE_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client13" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-sybase_jndi_Test030" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-sybase_jndi Test030'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_SYBASE_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_SYBASE_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client14" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-sybase_jndi_Test031" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-sybase_jndi Test031'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_SYBASE_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_SYBASE_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client15" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-sybase_jndi_Test032" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-sybase_jndi Test032'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_SYBASE_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_SYBASE_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client16" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB1_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB2_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+</test_set>
Added: labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources01_mssqlserver_jndi-testdefs.xml
===================================================================
--- labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources01_mssqlserver_jndi-testdefs.xml (rev 0)
+++ labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources01_mssqlserver_jndi-testdefs.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,2223 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<test_set>
+ <default_timeout value="480"/>
+ <description>JDBC Resources Tests 01 - MSSQL Server JNDI</description>
+
+
+ <test_group name="JDBCResources01_MSSQLServer_jndi">
+ <task_declaration>
+ <task id="org.jboss.jbossts.qa.Utils.JNDIManager" classname="org.jboss.jbossts.qa.Utils.JNDIManager"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01"
+ classname="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="com.arjuna.ats.arjuna.recovery.RecoveryManager"
+ classname="com.arjuna.ats.arjuna.recovery.RecoveryManager" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01"
+ classname="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client01"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01"
+ classname="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore"
+ classname="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client02"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client02" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client03"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client03" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client04"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client04" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client05"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client05" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client06"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client06" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02"
+ classname="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02"
+ classname="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client07"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client07" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Outcomes.Outcome02"
+ classname="org.jboss.jbossts.qa.JDBCResources01Outcomes.Outcome02" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client08"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client08" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client09"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client09" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client10"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client10" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Outcomes.Outcome01"
+ classname="org.jboss.jbossts.qa.JDBCResources01Outcomes.Outcome01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client11"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client11" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client12"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client12" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Outcomes.Outcome04"
+ classname="org.jboss.jbossts.qa.JDBCResources01Outcomes.Outcome04" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client13"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client13" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client14"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client14" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client15"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client15" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Outcomes.Outcome03"
+ classname="org.jboss.jbossts.qa.JDBCResources01Outcomes.Outcome03" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client16"
+ classname="org.jboss.jbossts.qa.JDBCResources01Clients.Client16" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" classname="org.jboss.jbossts.qa.Utils.EmptyObjectStore"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+ </task_declaration>
+ <test_declaration id="JDBCResources01-MSSQLServer_jndi_Test001" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-MSSQLServer_jndi Test001'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client01" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-MSSQLServer_jndi_Test002" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-MSSQLServer_jndi Test002'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client02" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-MSSQLServer_jndi_Test003" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-MSSQLServer_jndi Test003'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client03" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-MSSQLServer_jndi_Test004" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-MSSQLServer_jndi Test004'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client04" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-MSSQLServer_jndi_Test005" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-MSSQLServer_jndi Test005'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client05" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-MSSQLServer_jndi_Test006" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-MSSQLServer_jndi Test006'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client06" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-MSSQLServer_jndi_Test007" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-MSSQLServer_jndi Test007'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client01" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-MSSQLServer_jndi_Test008" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-MSSQLServer_jndi Test008'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client02" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-MSSQLServer_jndi_Test009" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-MSSQLServer_jndi Test009'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client03" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-MSSQLServer_jndi_Test010" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-MSSQLServer_jndi Test010'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client04" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-MSSQLServer_jndi_Test011" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-MSSQLServer_jndi Test011'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client05" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-MSSQLServer_jndi_Test012" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-MSSQLServer_jndi Test012'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client06" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-MSSQLServer_jndi_Test013" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-MSSQLServer_jndi Test013'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client07" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Outcomes.Outcome02">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </perform_task>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-MSSQLServer_jndi_Test014" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-MSSQLServer_jndi Test014'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client08" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Outcomes.Outcome02">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </perform_task>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-MSSQLServer_jndi_Test015" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-MSSQLServer_jndi Test015'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client09" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Outcomes.Outcome02">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </perform_task>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-MSSQLServer_jndi_Test016" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-MSSQLServer_jndi Test016'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client10" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Outcomes.Outcome01">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </perform_task>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-MSSQLServer_jndi_Test017" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-MSSQLServer_jndi Test017'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client11" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Outcomes.Outcome01">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </perform_task>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-MSSQLServer_jndi_Test018" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-MSSQLServer_jndi Test018'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client07" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Outcomes.Outcome02">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </perform_task>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-MSSQLServer_jndi_Test019" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-MSSQLServer_jndi Test019'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client08" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Outcomes.Outcome02">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </perform_task>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-MSSQLServer_jndi_Test020" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-MSSQLServer_jndi Test020'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client09" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Outcomes.Outcome02">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </perform_task>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-MSSQLServer_jndi_Test021" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-MSSQLServer_jndi Test021'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client10" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Outcomes.Outcome01">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </perform_task>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-MSSQLServer_jndi_Test022" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-MSSQLServer_jndi Test022'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client11" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Outcomes.Outcome01">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </perform_task>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-MSSQLServer_jndi_Test023" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-MSSQLServer_jndi Test023'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL1_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL1_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL1_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL2_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client12" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Outcomes.Outcome04">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL1_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-MSSQLServer_jndi_Test024" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-MSSQLServer_jndi Test024'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL1_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL1_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL1_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL2_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client13" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Outcomes.Outcome04">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL1_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-MSSQLServer_jndi_Test025" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-MSSQLServer_jndi Test025'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL1_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL1_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL1_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL2_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client14" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Outcomes.Outcome04">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL1_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-MSSQLServer_jndi_Test026" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-MSSQLServer_jndi Test026'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL1_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL1_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL1_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL2_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client15" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Outcomes.Outcome03">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL1_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-MSSQLServer_jndi_Test027" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-MSSQLServer_jndi Test027'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL1_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL1_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL1_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL2_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client16" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Outcomes.Outcome03">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL1_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-MSSQLServer_jndi_Test028" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-MSSQLServer_jndi Test028'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL1_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL1_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL1_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL2_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client12" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Outcomes.Outcome04">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL1_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-MSSQLServer_jndi_Test029" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-MSSQLServer_jndi Test029'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL1_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL1_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL1_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL2_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client13" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Outcomes.Outcome04">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL1_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-MSSQLServer_jndi_Test030" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-MSSQLServer_jndi Test030'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL1_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL1_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL1_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL2_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client14" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Outcomes.Outcome04">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL1_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-MSSQLServer_jndi_Test031" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-MSSQLServer_jndi Test031'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL1_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL1_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL1_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL2_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client15" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Outcomes.Outcome03">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL1_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources01-MSSQLServer_jndi_Test032" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources01-MSSQLServer_jndi Test032'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL1_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL1_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL1_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL2_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources01Clients.Client16" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Outcomes.Outcome03">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL1_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources01Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_SQL2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+</test_set>
Added: labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources02-firstsql_jndi-testdefs.xml
===================================================================
--- labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources02-firstsql_jndi-testdefs.xml (rev 0)
+++ labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources02-firstsql_jndi-testdefs.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,1543 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<test_set>
+ <default_timeout value="480"/>
+ <description>JDBC Resources Tests 02 - First SQL JNDI</description>
+
+
+ <test_group name="JDBCResources02-Firstsql_jndi">
+ <task_declaration>
+ <task id="org.jboss.jbossts.qa.Utils.JNDIManager" classname="org.jboss.jbossts.qa.Utils.JNDIManager"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01"
+ classname="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="com.arjuna.ats.arjuna.recovery.RecoveryManager"
+ classname="com.arjuna.ats.arjuna.recovery.RecoveryManager" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01"
+ classname="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client01"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01"
+ classname="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore"
+ classname="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client02"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client02" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client03"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client03" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client04"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client04" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client05"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client05" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client06"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client06" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Outcomes.Outcome01"
+ classname="org.jboss.jbossts.qa.JDBCResources02Outcomes.Outcome01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Outcomes.Outcome02"
+ classname="org.jboss.jbossts.qa.JDBCResources02Outcomes.Outcome02" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Outcomes.Outcome03"
+ classname="org.jboss.jbossts.qa.JDBCResources02Outcomes.Outcome03" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Outcomes.Outcome04"
+ classname="org.jboss.jbossts.qa.JDBCResources02Outcomes.Outcome04" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02"
+ classname="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02"
+ classname="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client07"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client07" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client08"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client08" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client09"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client09" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client10"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client10" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client11"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client11" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client12"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client12" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client13"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client13" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client14"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client14" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client15"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client15" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client16"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client16" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" classname="org.jboss.jbossts.qa.Utils.EmptyObjectStore"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+ </task_declaration>
+ <test_declaration id="JDBCResources02-Firstsql_jndi_Test001" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-Firstsql_jndi Test001'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client01" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-Firstsql_jndi_Test002" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-Firstsql_jndi Test002'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client02" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-Firstsql_jndi_Test003" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-Firstsql_jndi Test003'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client03" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-Firstsql_jndi_Test004" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-Firstsql_jndi Test004'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client04" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-Firstsql_jndi_Test007" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-Firstsql_jndi Test007'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client01" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-Firstsql_jndi_Test008" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-Firstsql_jndi Test008'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client02" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-Firstsql_jndi_Test009" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-Firstsql_jndi Test009'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client03" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-Firstsql_jndi_Test010" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-Firstsql_jndi Test010'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client04" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-Firstsql_jndi_Test011" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-Firstsql_jndi Test011'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client05" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-Firstsql_jndi_Test012" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-Firstsql_jndi Test012'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client06" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-Firstsql_jndi_Test013" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-Firstsql_jndi Test013'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>DB_FSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client07" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-Firstsql_jndi_Test014" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-Firstsql_jndi Test014'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>DB_FSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client08" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-Firstsql_jndi_Test015" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-Firstsql_jndi Test015'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>DB_FSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client09" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-Firstsql_jndi_Test016" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-Firstsql_jndi Test016'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>DB_FSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client10" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-Firstsql_jndi_Test017" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-Firstsql_jndi Test017'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>DB_FSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client11" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-Firstsql_jndi_Test018" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-Firstsql_jndi Test018'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>DB_FSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client07" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-Firstsql_jndi_Test019" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-Firstsql_jndi Test019'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>DB_FSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client08" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-Firstsql_jndi_Test020" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-Firstsql_jndi Test020'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>DB_FSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client09" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-Firstsql_jndi_Test021" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-Firstsql_jndi Test021'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>DB_FSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client10" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-Firstsql_jndi_Test022" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-Firstsql_jndi Test022'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>DB_FSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client11" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-Firstsql_jndi_Test023" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-Firstsql_jndi Test023'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB1_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB2_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB1_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup2">
+ <param>DB2_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB1_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>DB2_FSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client12" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB1_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB2_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-Firstsql_jndi_Test024" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-Firstsql_jndi Test024'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB1_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB2_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB1_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup2">
+ <param>DB2_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB1_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>DB2_FSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client13" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB1_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB2_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-Firstsql_jndi_Test025" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-Firstsql_jndi Test025'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB1_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB2_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB1_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup2">
+ <param>DB2_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB1_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>DB2_FSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client14" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB1_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB2_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-Firstsql_jndi_Test026" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-Firstsql_jndi Test026'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB1_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB2_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB1_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup2">
+ <param>DB2_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB1_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>DB2_FSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client15" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB1_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB2_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-Firstsql_jndi_Test027" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-Firstsql_jndi Test027'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB1_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB2_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB1_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup2">
+ <param>DB2_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB1_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>DB2_FSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client16" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB1_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB2_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-Firstsql_jndi_Test028" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-Firstsql_jndi Test028'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB1_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB2_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB1_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup2">
+ <param>DB2_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB1_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>DB2_FSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client12" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB1_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB2_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-Firstsql_jndi_Test029" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-Firstsql_jndi Test029'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB1_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB2_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB1_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup2">
+ <param>DB2_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB1_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>DB2_FSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client13" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB1_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB2_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-Firstsql_jndi_Test030" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-Firstsql_jndi Test030'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB1_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB2_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB1_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup2">
+ <param>DB2_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB1_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>DB2_FSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client14" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB1_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB2_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-Firstsql_jndi_Test031" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-Firstsql_jndi Test031'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB1_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB2_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB1_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup2">
+ <param>DB2_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB1_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>DB2_FSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client15" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB1_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB2_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-Firstsql_jndi_Test032" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-Firstsql_jndi Test032'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB1_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB2_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB1_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup2">
+ <param>DB2_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB1_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>DB2_FSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client16" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB1_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB2_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+</test_set>
Added: labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources02-ibmdb2_jndi-testdefs.xml
===================================================================
--- labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources02-ibmdb2_jndi-testdefs.xml (rev 0)
+++ labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources02-ibmdb2_jndi-testdefs.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,1535 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<!--
+Cloned from jbossts-qa-jdbcresources02-oracle_thin_jndi-testdefs.xml
+ s/Oracle_thin_jndi/ibmdb2_jndi/g
+ s/DB_THIN_JNDI/DB_IBMDB2_JNDI/g
+ s/DB1_THIN_JNDI/DB1_IBMDB2_JNDI/g
+ s/DB2_THIN_JNDI/DB2_IBMDB2_JNDI/g
+Edit JDBCProfiles to define the 3 new IBMDB2 datasources
+-->
+<test_set>
+ <default_timeout value="480"/>
+ <description>JDBC Resources Tests 02 - IBMDB2 JNDI</description>
+
+
+ <test_group name="JDBCResources02-ibmdb2_jndi">
+ <task_declaration>
+ <task id="org.jboss.jbossts.qa.Utils.JNDIManager" classname="org.jboss.jbossts.qa.Utils.JNDIManager"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01"
+ classname="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="com.arjuna.ats.arjuna.recovery.RecoveryManager"
+ classname="com.arjuna.ats.arjuna.recovery.RecoveryManager" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01"
+ classname="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client01"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01"
+ classname="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore"
+ classname="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client02"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client02" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client03"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client03" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client04"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client04" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client05"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client05" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client06"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client06" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02"
+ classname="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02"
+ classname="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client07"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client07" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client08"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client08" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client09"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client09" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client10"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client10" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client11"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client11" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client12"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client12" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client13"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client13" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client14"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client14" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client15"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client15" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client16"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client16" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" classname="org.jboss.jbossts.qa.Utils.EmptyObjectStore"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+ </task_declaration>
+ <test_declaration id="JDBCResources02-ibmdb2_jndi_Test001" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-ibmdb2_jndi Test001'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_IBMDB2_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client01" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-ibmdb2_jndi_Test002" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-ibmdb2_jndi Test002'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_IBMDB2_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client02" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-ibmdb2_jndi_Test003" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-ibmdb2_jndi Test003'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_IBMDB2_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client03" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-ibmdb2_jndi_Test004" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-ibmdb2_jndi Test004'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_IBMDB2_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client04" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-ibmdb2_jndi_Test007" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-ibmdb2_jndi Test007'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_IBMDB2_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client01" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-ibmdb2_jndi_Test008" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-ibmdb2_jndi Test008'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_IBMDB2_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client02" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-ibmdb2_jndi_Test009" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-ibmdb2_jndi Test009'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_IBMDB2_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client03" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-ibmdb2_jndi_Test010" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-ibmdb2_jndi Test010'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_IBMDB2_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client04" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-ibmdb2_jndi_Test011" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-ibmdb2_jndi Test011'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_IBMDB2_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client05" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-ibmdb2_jndi_Test012" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-ibmdb2_jndi Test012'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_IBMDB2_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client06" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-ibmdb2_jndi_Test013" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-ibmdb2_jndi Test013'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_IBMDB2_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>DB_IBMDB2_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client07" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-ibmdb2_jndi_Test014" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-ibmdb2_jndi Test014'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_IBMDB2_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>DB_IBMDB2_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client08" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-ibmdb2_jndi_Test015" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-ibmdb2_jndi Test015'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_IBMDB2_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>DB_IBMDB2_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client09" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-ibmdb2_jndi_Test016" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-ibmdb2_jndi Test016'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_IBMDB2_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>DB_IBMDB2_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client10" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-ibmdb2_jndi_Test017" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-ibmdb2_jndi Test017'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_IBMDB2_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>DB_IBMDB2_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client11" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-ibmdb2_jndi_Test018" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-ibmdb2_jndi Test018'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_IBMDB2_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>DB_IBMDB2_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client07" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-ibmdb2_jndi_Test019" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-ibmdb2_jndi Test019'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_IBMDB2_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>DB_IBMDB2_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client08" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-ibmdb2_jndi_Test020" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-ibmdb2_jndi Test020'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_IBMDB2_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>DB_IBMDB2_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client09" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-ibmdb2_jndi_Test021" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-ibmdb2_jndi Test021'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_IBMDB2_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>DB_IBMDB2_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client10" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-ibmdb2_jndi_Test022" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-ibmdb2_jndi Test022'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_IBMDB2_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>DB_IBMDB2_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client11" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-ibmdb2_jndi_Test023" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-ibmdb2_jndi Test023'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB1_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB2_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB1_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup2">
+ <param>DB2_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB1_IBMDB2_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>DB2_IBMDB2_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client12" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB1_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB2_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-ibmdb2_jndi_Test024" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-ibmdb2_jndi Test024'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB1_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB2_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB1_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup2">
+ <param>DB2_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB1_IBMDB2_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>DB2_IBMDB2_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client13" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB1_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB2_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-ibmdb2_jndi_Test025" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-ibmdb2_jndi Test025'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB1_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB2_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB1_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup2">
+ <param>DB2_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB1_IBMDB2_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>DB2_IBMDB2_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client14" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB1_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB2_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-ibmdb2_jndi_Test026" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-ibmdb2_jndi Test026'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB1_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB2_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB1_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup2">
+ <param>DB2_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB1_IBMDB2_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>DB2_IBMDB2_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client15" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB1_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB2_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-ibmdb2_jndi_Test027" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-ibmdb2_jndi Test027'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB1_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB2_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB1_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup2">
+ <param>DB2_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB1_IBMDB2_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>DB2_IBMDB2_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client16" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB1_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB2_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-ibmdb2_jndi_Test028" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-ibmdb2_jndi Test028'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB1_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB2_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB1_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup2">
+ <param>DB2_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB1_IBMDB2_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>DB2_IBMDB2_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client12" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB1_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB2_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-ibmdb2_jndi_Test029" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-ibmdb2_jndi Test029'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB1_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB2_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB1_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup2">
+ <param>DB2_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB1_IBMDB2_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>DB2_IBMDB2_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client13" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB1_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB2_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-ibmdb2_jndi_Test030" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-ibmdb2_jndi Test030'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB1_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB2_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB1_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup2">
+ <param>DB2_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB1_IBMDB2_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>DB2_IBMDB2_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client14" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB1_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB2_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-ibmdb2_jndi_Test031" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-ibmdb2_jndi Test031'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB1_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB2_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB1_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup2">
+ <param>DB2_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB1_IBMDB2_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>DB2_IBMDB2_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client15" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB1_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB2_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-ibmdb2_jndi_Test032" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-ibmdb2_jndi Test032'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB1_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB2_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB1_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup2">
+ <param>DB2_IBMDB2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB1_IBMDB2_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>DB2_IBMDB2_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client16" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB1_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB2_IBMDB2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+</test_set>
Added: labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources02-mysql_jndi-testdefs.xml
===================================================================
--- labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources02-mysql_jndi-testdefs.xml (rev 0)
+++ labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources02-mysql_jndi-testdefs.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,1535 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<!--
+Cloned from jbossts-qa-jdbcresources02-oracle_thin_jndi-testdefs.xml
+ s/Oracle_thin_jndi/mysql_jndi/g
+ s/DB_THIN_JNDI/DB_MYSQL_JNDI/g
+ s/DB1_THIN_JNDI/DB1_MYSQL_JNDI/g
+ s/DB2_THIN_JNDI/DB2_MYSQL_JNDI/g
+Edit JDBCProfiles to define the 3 new MYSQL datasources
+-->
+<test_set>
+ <default_timeout value="480"/>
+ <description>JDBC Resources Tests 02 - MySQL JNDI</description>
+
+
+ <test_group name="JDBCResources02-mysql_jndi">
+ <task_declaration>
+ <task id="org.jboss.jbossts.qa.Utils.JNDIManager" classname="org.jboss.jbossts.qa.Utils.JNDIManager"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01"
+ classname="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="com.arjuna.ats.arjuna.recovery.RecoveryManager"
+ classname="com.arjuna.ats.arjuna.recovery.RecoveryManager" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01"
+ classname="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client01"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01"
+ classname="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore"
+ classname="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client02"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client02" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client03"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client03" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client04"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client04" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client05"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client05" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client06"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client06" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02"
+ classname="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02"
+ classname="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client07"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client07" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client08"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client08" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client09"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client09" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client10"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client10" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client11"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client11" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client12"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client12" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client13"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client13" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client14"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client14" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client15"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client15" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client16"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client16" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" classname="org.jboss.jbossts.qa.Utils.EmptyObjectStore"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+ </task_declaration>
+ <test_declaration id="JDBCResources02-mysql_jndi_Test001" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-mysql_jndi Test001'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_MYSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client01" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-mysql_jndi_Test002" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-mysql_jndi Test002'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_MYSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client02" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-mysql_jndi_Test003" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-mysql_jndi Test003'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_MYSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client03" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-mysql_jndi_Test004" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-mysql_jndi Test004'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_MYSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client04" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-mysql_jndi_Test007" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-mysql_jndi Test007'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_MYSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client01" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-mysql_jndi_Test008" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-mysql_jndi Test008'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_MYSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client02" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-mysql_jndi_Test009" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-mysql_jndi Test009'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_MYSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client03" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-mysql_jndi_Test010" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-mysql_jndi Test010'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_MYSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client04" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-mysql_jndi_Test011" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-mysql_jndi Test011'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_MYSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client05" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-mysql_jndi_Test012" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-mysql_jndi Test012'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_MYSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client06" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-mysql_jndi_Test013" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-mysql_jndi Test013'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_MYSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>DB_MYSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client07" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-mysql_jndi_Test014" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-mysql_jndi Test014'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_MYSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>DB_MYSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client08" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-mysql_jndi_Test015" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-mysql_jndi Test015'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_MYSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>DB_MYSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client09" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-mysql_jndi_Test016" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-mysql_jndi Test016'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_MYSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>DB_MYSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client10" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-mysql_jndi_Test017" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-mysql_jndi Test017'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_MYSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>DB_MYSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client11" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-mysql_jndi_Test018" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-mysql_jndi Test018'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_MYSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>DB_MYSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client07" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-mysql_jndi_Test019" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-mysql_jndi Test019'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_MYSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>DB_MYSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client08" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-mysql_jndi_Test020" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-mysql_jndi Test020'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_MYSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>DB_MYSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client09" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-mysql_jndi_Test021" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-mysql_jndi Test021'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_MYSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>DB_MYSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client10" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-mysql_jndi_Test022" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-mysql_jndi Test022'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_MYSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>DB_MYSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client11" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-mysql_jndi_Test023" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-mysql_jndi Test023'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB1_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB2_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB1_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup2">
+ <param>DB2_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB1_MYSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>DB2_MYSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client12" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB1_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB2_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-mysql_jndi_Test024" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-mysql_jndi Test024'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB1_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB2_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB1_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup2">
+ <param>DB2_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB1_MYSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>DB2_MYSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client13" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB1_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB2_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-mysql_jndi_Test025" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-mysql_jndi Test025'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB1_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB2_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB1_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup2">
+ <param>DB2_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB1_MYSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>DB2_MYSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client14" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB1_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB2_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-mysql_jndi_Test026" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-mysql_jndi Test026'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB1_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB2_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB1_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup2">
+ <param>DB2_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB1_MYSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>DB2_MYSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client15" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB1_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB2_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-mysql_jndi_Test027" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-mysql_jndi Test027'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB1_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB2_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB1_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup2">
+ <param>DB2_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB1_MYSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>DB2_MYSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client16" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB1_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB2_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-mysql_jndi_Test028" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-mysql_jndi Test028'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB1_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB2_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB1_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup2">
+ <param>DB2_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB1_MYSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>DB2_MYSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client12" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB1_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB2_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-mysql_jndi_Test029" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-mysql_jndi Test029'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB1_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB2_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB1_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup2">
+ <param>DB2_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB1_MYSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>DB2_MYSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client13" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB1_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB2_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-mysql_jndi_Test030" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-mysql_jndi Test030'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB1_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB2_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB1_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup2">
+ <param>DB2_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB1_MYSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>DB2_MYSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client14" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB1_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB2_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-mysql_jndi_Test031" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-mysql_jndi Test031'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB1_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB2_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB1_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup2">
+ <param>DB2_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB1_MYSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>DB2_MYSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client15" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB1_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB2_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-mysql_jndi_Test032" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-mysql_jndi Test032'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB1_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB2_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB1_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup2">
+ <param>DB2_MYSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB1_MYSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>DB2_MYSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client16" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB1_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB2_MYSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+</test_set>
Added: labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources02-oracle_thin_jndi-testdefs.xml
===================================================================
--- labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources02-oracle_thin_jndi-testdefs.xml (rev 0)
+++ labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources02-oracle_thin_jndi-testdefs.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,1527 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<test_set>
+ <default_timeout value="480"/>
+ <description>JDBC Resources Tests 02 - Oracle thin JNDI</description>
+
+
+ <test_group name="JDBCResources02-Oracle_thin_jndi">
+ <task_declaration>
+ <task id="org.jboss.jbossts.qa.Utils.JNDIManager" classname="org.jboss.jbossts.qa.Utils.JNDIManager"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01"
+ classname="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="com.arjuna.ats.arjuna.recovery.RecoveryManager"
+ classname="com.arjuna.ats.arjuna.recovery.RecoveryManager" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01"
+ classname="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client01"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01"
+ classname="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore"
+ classname="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client02"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client02" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client03"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client03" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client04"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client04" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client05"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client05" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client06"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client06" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02"
+ classname="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02"
+ classname="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client07"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client07" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client08"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client08" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client09"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client09" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client10"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client10" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client11"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client11" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client12"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client12" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client13"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client13" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client14"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client14" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client15"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client15" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client16"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client16" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" classname="org.jboss.jbossts.qa.Utils.EmptyObjectStore"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+ </task_declaration>
+ <test_declaration id="JDBCResources02-Oracle_thin_jndi_Test001" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-Oracle_thin_jndi Test001'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client01" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-Oracle_thin_jndi_Test002" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-Oracle_thin_jndi Test002'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client02" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-Oracle_thin_jndi_Test003" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-Oracle_thin_jndi Test003'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client03" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-Oracle_thin_jndi_Test004" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-Oracle_thin_jndi Test004'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client04" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-Oracle_thin_jndi_Test007" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-Oracle_thin_jndi Test007'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client01" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-Oracle_thin_jndi_Test008" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-Oracle_thin_jndi Test008'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client02" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-Oracle_thin_jndi_Test009" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-Oracle_thin_jndi Test009'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client03" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-Oracle_thin_jndi_Test010" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-Oracle_thin_jndi Test010'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client04" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-Oracle_thin_jndi_Test011" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-Oracle_thin_jndi Test011'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client05" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-Oracle_thin_jndi_Test012" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-Oracle_thin_jndi Test012'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client06" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-Oracle_thin_jndi_Test013" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-Oracle_thin_jndi Test013'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>DB_THIN_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client07" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-Oracle_thin_jndi_Test014" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-Oracle_thin_jndi Test014'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>DB_THIN_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client08" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-Oracle_thin_jndi_Test015" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-Oracle_thin_jndi Test015'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>DB_THIN_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client09" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-Oracle_thin_jndi_Test016" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-Oracle_thin_jndi Test016'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>DB_THIN_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client10" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-Oracle_thin_jndi_Test017" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-Oracle_thin_jndi Test017'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>DB_THIN_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client11" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-Oracle_thin_jndi_Test018" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-Oracle_thin_jndi Test018'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>DB_THIN_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client07" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-Oracle_thin_jndi_Test019" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-Oracle_thin_jndi Test019'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>DB_THIN_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client08" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-Oracle_thin_jndi_Test020" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-Oracle_thin_jndi Test020'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>DB_THIN_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client09" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-Oracle_thin_jndi_Test021" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-Oracle_thin_jndi Test021'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>DB_THIN_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client10" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-Oracle_thin_jndi_Test022" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-Oracle_thin_jndi Test022'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>DB_THIN_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client11" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-Oracle_thin_jndi_Test023" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-Oracle_thin_jndi Test023'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB1_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB2_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB1_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup2">
+ <param>DB2_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB1_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>DB2_THIN_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client12" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB1_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB2_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-Oracle_thin_jndi_Test024" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-Oracle_thin_jndi Test024'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB1_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB2_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB1_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup2">
+ <param>DB2_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB1_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>DB2_THIN_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client13" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB1_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB2_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-Oracle_thin_jndi_Test025" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-Oracle_thin_jndi Test025'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB1_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB2_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB1_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup2">
+ <param>DB2_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB1_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>DB2_THIN_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client14" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB1_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB2_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-Oracle_thin_jndi_Test026" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-Oracle_thin_jndi Test026'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB1_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB2_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB1_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup2">
+ <param>DB2_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB1_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>DB2_THIN_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client15" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB1_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB2_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-Oracle_thin_jndi_Test027" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-Oracle_thin_jndi Test027'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB1_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB2_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB1_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup2">
+ <param>DB2_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB1_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>DB2_THIN_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client16" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB1_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB2_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-Oracle_thin_jndi_Test028" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-Oracle_thin_jndi Test028'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB1_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB2_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB1_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup2">
+ <param>DB2_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB1_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>DB2_THIN_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client12" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB1_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB2_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-Oracle_thin_jndi_Test029" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-Oracle_thin_jndi Test029'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB1_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB2_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB1_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup2">
+ <param>DB2_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB1_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>DB2_THIN_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client13" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB1_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB2_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-Oracle_thin_jndi_Test030" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-Oracle_thin_jndi Test030'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB1_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB2_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB1_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup2">
+ <param>DB2_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB1_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>DB2_THIN_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client14" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB1_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB2_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-Oracle_thin_jndi_Test031" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-Oracle_thin_jndi Test031'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB1_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB2_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB1_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup2">
+ <param>DB2_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB1_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>DB2_THIN_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client15" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB1_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB2_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-Oracle_thin_jndi_Test032" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-Oracle_thin_jndi Test032'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB1_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB2_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB1_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup2">
+ <param>DB2_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB1_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>DB2_THIN_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client16" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB1_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB2_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+</test_set>
Added: labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources02-pgsql_jndi-testdefs.xml
===================================================================
--- labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources02-pgsql_jndi-testdefs.xml (rev 0)
+++ labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources02-pgsql_jndi-testdefs.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,1535 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<!--
+Cloned from jbossts-qa-jdbcresources02-oracle_thin_jndi-testdefs.xml
+ s/Oracle_thin_jndi/pgsql_jndi/g
+ s/DB_THIN_JNDI/DB_PGSQL_JNDI/g
+ s/DB1_THIN_JNDI/DB1_PGSQL_JNDI/g
+ s/DB2_THIN_JNDI/DB2_PGSQL_JNDI/g
+Edit JDBCProfiles to define the 3 new PGSQL datasources
+-->
+<test_set>
+ <default_timeout value="480"/>
+ <description>JDBC Resources Tests 02 - PostgreSQL JNDI</description>
+
+
+ <test_group name="JDBCResources02-pgsql_PGSQL_JNDI">
+ <task_declaration>
+ <task id="org.jboss.jbossts.qa.Utils.JNDIManager" classname="org.jboss.jbossts.qa.Utils.JNDIManager"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01"
+ classname="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="com.arjuna.ats.arjuna.recovery.RecoveryManager"
+ classname="com.arjuna.ats.arjuna.recovery.RecoveryManager" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01"
+ classname="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client01"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01"
+ classname="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore"
+ classname="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client02"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client02" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client03"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client03" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client04"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client04" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client05"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client05" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client06"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client06" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02"
+ classname="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02"
+ classname="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client07"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client07" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client08"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client08" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client09"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client09" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client10"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client10" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client11"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client11" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client12"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client12" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client13"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client13" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client14"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client14" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client15"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client15" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client16"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client16" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" classname="org.jboss.jbossts.qa.Utils.EmptyObjectStore"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+ </task_declaration>
+ <test_declaration id="JDBCResources02-pgsql_PGSQL_JNDI_Test001" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-pgsql_PGSQL_JNDI Test001'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_PGSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client01" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-pgsql_PGSQL_JNDI_Test002" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-pgsql_PGSQL_JNDI Test002'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_PGSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client02" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-pgsql_PGSQL_JNDI_Test003" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-pgsql_PGSQL_JNDI Test003'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_PGSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client03" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-pgsql_PGSQL_JNDI_Test004" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-pgsql_PGSQL_JNDI Test004'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_PGSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client04" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-pgsql_PGSQL_JNDI_Test007" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-pgsql_PGSQL_JNDI Test007'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_PGSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client01" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-pgsql_PGSQL_JNDI_Test008" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-pgsql_PGSQL_JNDI Test008'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_PGSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client02" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-pgsql_PGSQL_JNDI_Test009" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-pgsql_PGSQL_JNDI Test009'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_PGSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client03" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-pgsql_PGSQL_JNDI_Test010" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-pgsql_PGSQL_JNDI Test010'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_PGSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client04" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-pgsql_PGSQL_JNDI_Test011" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-pgsql_PGSQL_JNDI Test011'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_PGSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client05" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-pgsql_PGSQL_JNDI_Test012" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-pgsql_PGSQL_JNDI Test012'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_PGSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client06" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-pgsql_PGSQL_JNDI_Test013" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-pgsql_PGSQL_JNDI Test013'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_PGSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>DB_PGSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client07" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-pgsql_PGSQL_JNDI_Test014" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-pgsql_PGSQL_JNDI Test014'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_PGSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>DB_PGSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client08" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-pgsql_PGSQL_JNDI_Test015" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-pgsql_PGSQL_JNDI Test015'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_PGSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>DB_PGSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client09" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-pgsql_PGSQL_JNDI_Test016" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-pgsql_PGSQL_JNDI Test016'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_PGSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>DB_PGSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client10" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-pgsql_PGSQL_JNDI_Test017" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-pgsql_PGSQL_JNDI Test017'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_PGSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>DB_PGSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client11" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-pgsql_PGSQL_JNDI_Test018" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-pgsql_PGSQL_JNDI Test018'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_PGSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>DB_PGSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client07" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-pgsql_PGSQL_JNDI_Test019" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-pgsql_PGSQL_JNDI Test019'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_PGSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>DB_PGSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client08" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-pgsql_PGSQL_JNDI_Test020" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-pgsql_PGSQL_JNDI Test020'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_PGSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>DB_PGSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client09" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-pgsql_PGSQL_JNDI_Test021" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-pgsql_PGSQL_JNDI Test021'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_PGSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>DB_PGSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client10" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-pgsql_PGSQL_JNDI_Test022" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-pgsql_PGSQL_JNDI Test022'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_PGSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>DB_PGSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client11" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-pgsql_PGSQL_JNDI_Test023" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-pgsql_PGSQL_JNDI Test023'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB1_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB2_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB1_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup2">
+ <param>DB2_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB1_PGSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>DB2_PGSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client12" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB1_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB2_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-pgsql_PGSQL_JNDI_Test024" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-pgsql_PGSQL_JNDI Test024'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB1_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB2_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB1_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup2">
+ <param>DB2_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB1_PGSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>DB2_PGSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client13" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB1_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB2_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-pgsql_PGSQL_JNDI_Test025" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-pgsql_PGSQL_JNDI Test025'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB1_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB2_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB1_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup2">
+ <param>DB2_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB1_PGSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>DB2_PGSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client14" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB1_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB2_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-pgsql_PGSQL_JNDI_Test026" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-pgsql_PGSQL_JNDI Test026'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB1_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB2_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB1_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup2">
+ <param>DB2_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB1_PGSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>DB2_PGSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client15" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB1_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB2_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-pgsql_PGSQL_JNDI_Test027" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-pgsql_PGSQL_JNDI Test027'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB1_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB2_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB1_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup2">
+ <param>DB2_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB1_PGSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>DB2_PGSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client16" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB1_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB2_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-pgsql_PGSQL_JNDI_Test028" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-pgsql_PGSQL_JNDI Test028'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB1_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB2_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB1_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup2">
+ <param>DB2_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB1_PGSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>DB2_PGSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client12" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB1_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB2_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-pgsql_PGSQL_JNDI_Test029" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-pgsql_PGSQL_JNDI Test029'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB1_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB2_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB1_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup2">
+ <param>DB2_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB1_PGSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>DB2_PGSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client13" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB1_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB2_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-pgsql_PGSQL_JNDI_Test030" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-pgsql_PGSQL_JNDI Test030'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB1_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB2_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB1_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup2">
+ <param>DB2_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB1_PGSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>DB2_PGSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client14" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB1_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB2_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-pgsql_PGSQL_JNDI_Test031" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-pgsql_PGSQL_JNDI Test031'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB1_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB2_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB1_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup2">
+ <param>DB2_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB1_PGSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>DB2_PGSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client15" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB1_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB2_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-pgsql_PGSQL_JNDI_Test032" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-pgsql_PGSQL_JNDI Test032'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB1_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB2_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB1_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup2">
+ <param>DB2_PGSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB1_PGSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>DB2_PGSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client16" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB1_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB2_PGSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+</test_set>
Added: labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources02-sybase_jndi-testdefs.xml
===================================================================
--- labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources02-sybase_jndi-testdefs.xml (rev 0)
+++ labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources02-sybase_jndi-testdefs.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,1527 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<test_set>
+ <default_timeout value="480"/>
+ <description>JDBC Resources Tests 02 - Sybase JNDI</description>
+
+
+ <test_group name="JDBCResources02-sybase_jndi">
+ <task_declaration>
+ <task id="org.jboss.jbossts.qa.Utils.JNDIManager" classname="org.jboss.jbossts.qa.Utils.JNDIManager"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01"
+ classname="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="com.arjuna.ats.arjuna.recovery.RecoveryManager"
+ classname="com.arjuna.ats.arjuna.recovery.RecoveryManager" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01"
+ classname="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client01"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01"
+ classname="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore"
+ classname="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client02"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client02" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client03"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client03" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client04"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client04" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client05"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client05" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client06"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client06" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02"
+ classname="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02"
+ classname="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client07"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client07" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client08"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client08" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client09"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client09" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client10"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client10" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client11"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client11" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client12"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client12" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client13"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client13" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client14"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client14" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client15"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client15" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client16"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client16" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" classname="org.jboss.jbossts.qa.Utils.EmptyObjectStore"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+ </task_declaration>
+ <test_declaration id="JDBCResources02-sybase_jndi_Test001" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-sybase_jndi Test001'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_SYBASE_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client01" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-sybase_jndi_Test002" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-sybase_jndi Test002'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_SYBASE_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client02" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-sybase_jndi_Test003" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-sybase_jndi Test003'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_SYBASE_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client03" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-sybase_jndi_Test004" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-sybase_jndi Test004'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_SYBASE_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client04" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-sybase_jndi_Test007" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-sybase_jndi Test007'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_SYBASE_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client01" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-sybase_jndi_Test008" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-sybase_jndi Test008'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_SYBASE_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client02" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-sybase_jndi_Test009" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-sybase_jndi Test009'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_SYBASE_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client03" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-sybase_jndi_Test010" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-sybase_jndi Test010'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_SYBASE_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client04" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-sybase_jndi_Test011" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-sybase_jndi Test011'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_SYBASE_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client05" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-sybase_jndi_Test012" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-sybase_jndi Test012'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_SYBASE_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client06" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-sybase_jndi_Test013" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-sybase_jndi Test013'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_SYBASE_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>DB_SYBASE_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client07" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-sybase_jndi_Test014" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-sybase_jndi Test014'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_SYBASE_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>DB_SYBASE_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client08" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-sybase_jndi_Test015" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-sybase_jndi Test015'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_SYBASE_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>DB_SYBASE_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client09" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-sybase_jndi_Test016" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-sybase_jndi Test016'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_SYBASE_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>DB_SYBASE_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client10" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-sybase_jndi_Test017" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-sybase_jndi Test017'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_SYBASE_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>DB_SYBASE_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client11" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-sybase_jndi_Test018" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-sybase_jndi Test018'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_SYBASE_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>DB_SYBASE_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client07" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-sybase_jndi_Test019" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-sybase_jndi Test019'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_SYBASE_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>DB_SYBASE_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client08" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-sybase_jndi_Test020" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-sybase_jndi Test020'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_SYBASE_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>DB_SYBASE_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client09" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-sybase_jndi_Test021" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-sybase_jndi Test021'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_SYBASE_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>DB_SYBASE_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client10" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-sybase_jndi_Test022" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-sybase_jndi Test022'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_SYBASE_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>DB_SYBASE_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client11" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-sybase_jndi_Test023" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-sybase_jndi Test023'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB1_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB2_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB1_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup2">
+ <param>DB2_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB1_SYBASE_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>DB2_SYBASE_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client12" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB1_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB2_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-sybase_jndi_Test024" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-sybase_jndi Test024'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB1_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB2_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB1_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup2">
+ <param>DB2_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB1_SYBASE_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>DB2_SYBASE_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client13" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB1_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB2_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-sybase_jndi_Test025" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-sybase_jndi Test025'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB1_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB2_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB1_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup2">
+ <param>DB2_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB1_SYBASE_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>DB2_SYBASE_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client14" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB1_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB2_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-sybase_jndi_Test026" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-sybase_jndi Test026'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB1_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB2_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB1_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup2">
+ <param>DB2_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB1_SYBASE_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>DB2_SYBASE_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client15" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB1_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB2_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-sybase_jndi_Test027" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-sybase_jndi Test027'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB1_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB2_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB1_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup2">
+ <param>DB2_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB1_SYBASE_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>DB2_SYBASE_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client16" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB1_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB2_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-sybase_jndi_Test028" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-sybase_jndi Test028'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB1_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB2_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB1_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup2">
+ <param>DB2_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB1_SYBASE_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>DB2_SYBASE_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client12" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB1_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB2_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-sybase_jndi_Test029" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-sybase_jndi Test029'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB1_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB2_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB1_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup2">
+ <param>DB2_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB1_SYBASE_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>DB2_SYBASE_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client13" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB1_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB2_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-sybase_jndi_Test030" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-sybase_jndi Test030'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB1_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB2_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB1_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup2">
+ <param>DB2_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB1_SYBASE_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>DB2_SYBASE_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client14" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB1_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB2_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-sybase_jndi_Test031" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-sybase_jndi Test031'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB1_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB2_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB1_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup2">
+ <param>DB2_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB1_SYBASE_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>DB2_SYBASE_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client15" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB1_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB2_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-sybase_jndi_Test032" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-sybase_jndi Test032'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB1_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB2_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup">
+ <param>DB1_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runtime_id="setup2">
+ <param>DB2_SYBASE_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB1_SYBASE_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>DB2_SYBASE_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client16" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB1_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB2_SYBASE_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+</test_set>
Added: labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources02_mssqlserver_jndi-testdefs.xml
===================================================================
--- labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources02_mssqlserver_jndi-testdefs.xml (rev 0)
+++ labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources02_mssqlserver_jndi-testdefs.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,1699 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<test_set>
+ <default_timeout value="480"/>
+ <description>JDBC Resources Tests 02 - MSSQL Server JNDI</description>
+
+
+ <test_group name="JDBCResources02_MSSQLServer_jndi">
+ <task_declaration>
+ <task id="org.jboss.jbossts.qa.Utils.JNDIManager" classname="org.jboss.jbossts.qa.Utils.JNDIManager"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01"
+ classname="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="com.arjuna.ats.arjuna.recovery.RecoveryManager"
+ classname="com.arjuna.ats.arjuna.recovery.RecoveryManager" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01"
+ classname="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client01"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01"
+ classname="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore"
+ classname="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client02"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client02" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client03"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client03" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client04"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client04" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client05"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client05" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client06"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client06" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02"
+ classname="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02"
+ classname="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client07"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client07" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Outcomes.Outcome02"
+ classname="org.jboss.jbossts.qa.JDBCResources02Outcomes.Outcome02" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client08"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client08" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client09"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client09" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client10"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client10" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Outcomes.Outcome01"
+ classname="org.jboss.jbossts.qa.JDBCResources02Outcomes.Outcome01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client11"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client11" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client12"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client12" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Outcomes.Outcome04"
+ classname="org.jboss.jbossts.qa.JDBCResources02Outcomes.Outcome04" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client13"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client13" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client14"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client14" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client15"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client15" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Outcomes.Outcome03"
+ classname="org.jboss.jbossts.qa.JDBCResources02Outcomes.Outcome03" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client16"
+ classname="org.jboss.jbossts.qa.JDBCResources02Clients.Client16" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" classname="org.jboss.jbossts.qa.Utils.EmptyObjectStore"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+ </task_declaration>
+ <test_declaration id="JDBCResources02-MSSQLServer_jndi_Test001" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-MSSQLServer_jndi Test001'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_SQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client01" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-MSSQLServer_jndi_Test002" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-MSSQLServer_jndi Test002'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_SQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client02" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-MSSQLServer_jndi_Test003" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-MSSQLServer_jndi Test003'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_SQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client03" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-MSSQLServer_jndi_Test004" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-MSSQLServer_jndi Test004'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_SQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client04" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-MSSQLServer_jndi_Test005" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-MSSQLServer_jndi Test005'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_SQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client05" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-MSSQLServer_jndi_Test006" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-MSSQLServer_jndi Test006'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_SQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client06" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-MSSQLServer_jndi_Test007" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-MSSQLServer_jndi Test007'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_SQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client01" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-MSSQLServer_jndi_Test008" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-MSSQLServer_jndi Test008'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_SQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client02" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-MSSQLServer_jndi_Test009" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-MSSQLServer_jndi Test009'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_SQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client03" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-MSSQLServer_jndi_Test010" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-MSSQLServer_jndi Test010'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_SQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client04" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-MSSQLServer_jndi_Test011" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-MSSQLServer_jndi Test011'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_SQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client05" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-MSSQLServer_jndi_Test012" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-MSSQLServer_jndi Test012'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_SQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client06" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-MSSQLServer_jndi_Test013" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-MSSQLServer_jndi Test013'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_SQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>DB_SQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client07" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Outcomes.Outcome02">
+ <param>$(1)</param>
+ </perform_task>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-MSSQLServer_jndi_Test014" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-MSSQLServer_jndi Test014'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_SQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>DB_SQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client08" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Outcomes.Outcome02">
+ <param>$(1)</param>
+ </perform_task>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-MSSQLServer_jndi_Test015" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-MSSQLServer_jndi Test015'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_SQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>DB_SQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client09" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Outcomes.Outcome02">
+ <param>$(1)</param>
+ </perform_task>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-MSSQLServer_jndi_Test016" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-MSSQLServer_jndi Test016'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_SQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>DB_SQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client10" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Outcomes.Outcome01">
+ <param>$(1)</param>
+ </perform_task>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-MSSQLServer_jndi_Test017" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-MSSQLServer_jndi Test017'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_SQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>DB_SQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client11" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Outcomes.Outcome01">
+ <param>$(1)</param>
+ </perform_task>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-MSSQLServer_jndi_Test018" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-MSSQLServer_jndi Test018'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_SQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>DB_SQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client07" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Outcomes.Outcome02">
+ <param>$(1)</param>
+ </perform_task>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-MSSQLServer_jndi_Test019" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-MSSQLServer_jndi Test019'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_SQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>DB_SQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client08" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Outcomes.Outcome02">
+ <param>$(1)</param>
+ </perform_task>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-MSSQLServer_jndi_Test020" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-MSSQLServer_jndi Test020'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_SQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>DB_SQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client09" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Outcomes.Outcome02">
+ <param>$(1)</param>
+ </perform_task>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-MSSQLServer_jndi_Test021" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-MSSQLServer_jndi Test021'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_SQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>DB_SQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client10" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Outcomes.Outcome01">
+ <param>$(1)</param>
+ </perform_task>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-MSSQLServer_jndi_Test022" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-MSSQLServer_jndi Test022'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_SQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>DB_SQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client11" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Outcomes.Outcome01">
+ <param>$(1)</param>
+ </perform_task>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_SQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-MSSQLServer_jndi_Test023" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-MSSQLServer_jndi Test023'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB_SQL2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_SQL1_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>DB_SQL1_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>DB_SQL2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_SQL1_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>DB_SQL2_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client12" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Outcomes.Outcome04">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_SQL1_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB_SQL2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-MSSQLServer_jndi_Test024" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-MSSQLServer_jndi Test024'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB_SQL2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_SQL1_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>DB_SQL1_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>DB_SQL2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_SQL1_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>DB_SQL2_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client13" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Outcomes.Outcome04">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_SQL1_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB_SQL2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-MSSQLServer_jndi_Test025" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-MSSQLServer_jndi Test025'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB_SQL2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_SQL1_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>DB_SQL1_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>DB_SQL2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_SQL1_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>DB_SQL2_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client14" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Outcomes.Outcome04">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_SQL1_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB_SQL2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-MSSQLServer_jndi_Test026" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-MSSQLServer_jndi Test026'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB_SQL2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_SQL1_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>DB_SQL1_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>DB_SQL2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_SQL1_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>DB_SQL2_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client15" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Outcomes.Outcome03">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_SQL1_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB_SQL2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-MSSQLServer_jndi_Test027" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-MSSQLServer_jndi Test027'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB_SQL2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_SQL1_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>DB_SQL1_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>DB_SQL2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_SQL1_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server01" runtime_id="server2"
+ location="setup2">
+ <param>DB_SQL2_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client16" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Outcomes.Outcome03">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_SQL1_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB_SQL2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-MSSQLServer_jndi_Test028" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-MSSQLServer_jndi Test028'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB_SQL2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_SQL1_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>DB_SQL1_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>DB_SQL2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_SQL1_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>DB_SQL2_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client12" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Outcomes.Outcome04">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_SQL1_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB_SQL2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-MSSQLServer_jndi_Test029" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-MSSQLServer_jndi Test029'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB_SQL2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_SQL1_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>DB_SQL1_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>DB_SQL2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_SQL1_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>DB_SQL2_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client13" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Outcomes.Outcome04">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_SQL1_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB_SQL2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-MSSQLServer_jndi_Test030" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-MSSQLServer_jndi Test030'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB_SQL2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_SQL1_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>DB_SQL1_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>DB_SQL2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_SQL1_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>DB_SQL2_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client14" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Outcomes.Outcome04">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_SQL1_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB_SQL2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-MSSQLServer_jndi_Test031" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-MSSQLServer_jndi Test031'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB_SQL2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_SQL1_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>DB_SQL1_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>DB_SQL2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_SQL1_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>DB_SQL2_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client15" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Outcomes.Outcome03">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_SQL1_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB_SQL2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources02-MSSQLServer_jndi_Test032" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources02-MSSQLServer_jndi Test032'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup2">
+ <param>DB_SQL2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_SQL1_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" location="setup" runtime_id="setup1">
+ <param>DB_SQL1_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Setups.Setup02" location="setup2"
+ runtime_id="setup3">
+ <param>DB_SQL2_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_SQL1_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Servers.Server02" runtime_id="server2"
+ location="setup2">
+ <param>DB_SQL2_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources02Clients.Client16" runtime_id="client0">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Outcomes.Outcome03">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_SQL1_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources02Cleanups.Cleanup01" location="setup2"
+ runtime_id="cleanup2">
+ <param>DB_SQL2_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+</test_set>
Added: labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources03-firstsql_jndi-testdefs.xml
===================================================================
--- labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources03-firstsql_jndi-testdefs.xml (rev 0)
+++ labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources03-firstsql_jndi-testdefs.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,440 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<test_set>
+ <default_timeout value="480"/>
+ <description>JDBC Resources Tests 03 - First SQL JNDI</description>
+
+
+ <test_group name="JDBCResources03-firstsql_jndi">
+ <task_declaration>
+ <task id="org.jboss.jbossts.qa.Utils.JNDIManager" classname="org.jboss.jbossts.qa.Utils.JNDIManager"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources03Setups.Setup01"
+ classname="org.jboss.jbossts.qa.JDBCResources03Setups.Setup01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="com.arjuna.ats.arjuna.recovery.RecoveryManager"
+ classname="com.arjuna.ats.arjuna.recovery.RecoveryManager" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources03Servers.Server01"
+ classname="org.jboss.jbossts.qa.JDBCResources03Servers.Server01" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources03Clients.Client01"
+ classname="org.jboss.jbossts.qa.JDBCResources03Clients.Client01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources03Cleanups.Cleanup01"
+ classname="org.jboss.jbossts.qa.JDBCResources03Cleanups.Cleanup01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources03Outcomes.Outcome01"
+ classname="org.jboss.jbossts.qa.JDBCResources03Outcomes.Outcome01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore"
+ classname="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources03Servers.Server02"
+ classname="org.jboss.jbossts.qa.JDBCResources03Servers.Server02" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources03Servers.Server03"
+ classname="org.jboss.jbossts.qa.JDBCResources03Servers.Server03" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" classname="org.jboss.jbossts.qa.Utils.EmptyObjectStore"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+ </task_declaration>
+ <test_declaration id="JDBCResources03-firstsql_jndi_Test01" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources03-firstsql_jndi Test01'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources03Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>2</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources03Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources03Clients.Client01" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources03Clients.Client01" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources03Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources03-firstsql_jndi_Test02" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources03-firstsql_jndi Test02'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources03Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>2</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources03Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources03Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources03Clients.Client01" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources03Clients.Client01" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources03Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources03-firstsql_jndi_Test03" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources03-firstsql_jndi Test03'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources03Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>2</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources03Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources03Clients.Client01" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources03Clients.Client01" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources03Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources03-firstsql_jndi_Test04" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources03-firstsql_jndi Test04'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources03Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>2</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources03Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources03Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources03Clients.Client01" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources03Clients.Client01" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources03Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources03-firstsql_jndi_Test05" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources03-firstsql_jndi Test05'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources03Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>2</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources03Servers.Server03" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources03Clients.Client01" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources03Clients.Client01" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources03Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources03-firstsql_jndi_Test06" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources03-firstsql_jndi Test06'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources03Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>2</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources03Servers.Server03" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources03Servers.Server03" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources03Clients.Client01" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources03Clients.Client01" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources03Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+</test_set>
Added: labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources03-oracle_thin_jndi-testdefs.xml
===================================================================
--- labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources03-oracle_thin_jndi-testdefs.xml (rev 0)
+++ labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources03-oracle_thin_jndi-testdefs.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,436 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<test_set>
+ <default_timeout value="480"/>
+ <description>JDBC Resources Tests 03 - Oracle thin JNDI</description>
+
+
+ <test_group name="JDBCResources03-Oracle_thin_jndi">
+ <task_declaration>
+ <task id="org.jboss.jbossts.qa.Utils.JNDIManager" classname="org.jboss.jbossts.qa.Utils.JNDIManager"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources03Setups.Setup01"
+ classname="org.jboss.jbossts.qa.JDBCResources03Setups.Setup01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="com.arjuna.ats.arjuna.recovery.RecoveryManager"
+ classname="com.arjuna.ats.arjuna.recovery.RecoveryManager" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources03Servers.Server01"
+ classname="org.jboss.jbossts.qa.JDBCResources03Servers.Server01" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources03Clients.Client01"
+ classname="org.jboss.jbossts.qa.JDBCResources03Clients.Client01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources03Cleanups.Cleanup01"
+ classname="org.jboss.jbossts.qa.JDBCResources03Cleanups.Cleanup01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore"
+ classname="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources03Servers.Server02"
+ classname="org.jboss.jbossts.qa.JDBCResources03Servers.Server02" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources03Servers.Server03"
+ classname="org.jboss.jbossts.qa.JDBCResources03Servers.Server03" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" classname="org.jboss.jbossts.qa.Utils.EmptyObjectStore"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+ </task_declaration>
+ <test_declaration id="JDBCResources03-Oracle_thin_jndi_Test01" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources03-Oracle_thin_jndi Test01'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources03Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>2</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources03Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources03Clients.Client01" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources03Clients.Client01" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources03Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources03-Oracle_thin_jndi_Test02" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources03-Oracle_thin_jndi Test02'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources03Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>2</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources03Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources03Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources03Clients.Client01" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources03Clients.Client01" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources03Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources03-Oracle_thin_jndi_Test03" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources03-Oracle_thin_jndi Test03'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources03Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>2</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources03Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources03Clients.Client01" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources03Clients.Client01" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources03Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources03-Oracle_thin_jndi_Test04" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources03-Oracle_thin_jndi Test04'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources03Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>2</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources03Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources03Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources03Clients.Client01" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources03Clients.Client01" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources03Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources03-Oracle_thin_jndi_Test05" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources03-Oracle_thin_jndi Test05'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources03Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>2</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources03Servers.Server03" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources03Clients.Client01" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources03Clients.Client01" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources03Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources03-Oracle_thin_jndi_Test06" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources03-Oracle_thin_jndi Test06'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources03Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>2</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources03Servers.Server03" runtime_id="server1"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources03Servers.Server03" runtime_id="server2"
+ location="setup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources03Clients.Client01" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources03Clients.Client01" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources03Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+</test_set>
Added: labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources04-firstsql_jndi-testdefs.xml
===================================================================
--- labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources04-firstsql_jndi-testdefs.xml (rev 0)
+++ labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources04-firstsql_jndi-testdefs.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,253 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<test_set>
+ <default_timeout value="480"/>
+ <description>JDBC Resources Tests 04 - First SQL JNDI</description>
+
+
+ <test_group name="JDBCResources04-Firstsql_jndi">
+ <task_declaration>
+ <task id="org.jboss.jbossts.qa.Utils.JNDIManager" classname="org.jboss.jbossts.qa.Utils.JNDIManager"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources04Setups.Setup01"
+ classname="org.jboss.jbossts.qa.JDBCResources04Setups.Setup01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="com.arjuna.ats.arjuna.recovery.RecoveryManager"
+ classname="com.arjuna.ats.arjuna.recovery.RecoveryManager" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources04Servers.Server01"
+ classname="org.jboss.jbossts.qa.JDBCResources04Servers.Server01" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources04Clients.Client01"
+ classname="org.jboss.jbossts.qa.JDBCResources04Clients.Client01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources04Cleanups.Cleanup01"
+ classname="org.jboss.jbossts.qa.JDBCResources04Cleanups.Cleanup01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources04Outcomes.Outcome01"
+ classname="org.jboss.jbossts.qa.JDBCResources04Outcomes.Outcome01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore"
+ classname="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources04Servers.Server02"
+ classname="org.jboss.jbossts.qa.JDBCResources04Servers.Server02" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" classname="org.jboss.jbossts.qa.Utils.EmptyObjectStore"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+ </task_declaration>
+ <test_declaration id="JDBCResources04-Firstsql_jndi_Test01" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources04-Firstsql_jndi Test01'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources04Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>2</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources04Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources04Clients.Client01" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources04Clients.Client01" runtime_id="client1">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources04Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources04-Firstsql_jndi_Test02" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources04-Firstsql_jndi Test02'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources04Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>2</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources04Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources04Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>DB_FSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources04Clients.Client01" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources04Clients.Client01" runtime_id="client1">
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources04Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources04-Firstsql_jndi_Test03" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources04-Firstsql_jndi Test03'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources04Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>2</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources04Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources04Clients.Client01" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources04Clients.Client01" runtime_id="client1">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources04Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources04-Firstsql_jndi_Test04" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources04-Firstsql_jndi Test04'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources04Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>2</param>
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources04Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_FSQL_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources04Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>DB_FSQL_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources04Clients.Client01" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources04Clients.Client01" runtime_id="client1">
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources04Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_FSQL_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+</test_set>
Added: labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources04-oracle_thin_jndi-testdefs.xml
===================================================================
--- labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources04-oracle_thin_jndi-testdefs.xml (rev 0)
+++ labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jdbcresources04-oracle_thin_jndi-testdefs.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,249 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<test_set>
+ <default_timeout value="480"/>
+ <description>JDBC Resources Tests 04 - Oracle thin JNDI</description>
+
+
+ <test_group name="JDBCResources04-Oracle_thin_jndi">
+ <task_declaration>
+ <task id="org.jboss.jbossts.qa.Utils.JNDIManager" classname="org.jboss.jbossts.qa.Utils.JNDIManager"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources04Setups.Setup01"
+ classname="org.jboss.jbossts.qa.JDBCResources04Setups.Setup01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="com.arjuna.ats.arjuna.recovery.RecoveryManager"
+ classname="com.arjuna.ats.arjuna.recovery.RecoveryManager" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources04Servers.Server01"
+ classname="org.jboss.jbossts.qa.JDBCResources04Servers.Server01" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources04Clients.Client01"
+ classname="org.jboss.jbossts.qa.JDBCResources04Clients.Client01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources04Cleanups.Cleanup01"
+ classname="org.jboss.jbossts.qa.JDBCResources04Cleanups.Cleanup01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore"
+ classname="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JDBCResources04Servers.Server02"
+ classname="org.jboss.jbossts.qa.JDBCResources04Servers.Server02" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" classname="org.jboss.jbossts.qa.Utils.EmptyObjectStore"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+ </task_declaration>
+ <test_declaration id="JDBCResources04-Oracle_thin_jndi_Test01" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources04-Oracle_thin_jndi Test01'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources04Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>2</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources04Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources04Clients.Client01" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources04Clients.Client01" runtime_id="client1">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources04Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources04-Oracle_thin_jndi_Test02" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources04-Oracle_thin_jndi Test02'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources04Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>2</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources04Servers.Server01" runtime_id="server1"
+ location="setup">
+ <param>DB_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources04Servers.Server01" runtime_id="server2"
+ location="setup">
+ <param>DB_THIN_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources04Clients.Client01" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources04Clients.Client01" runtime_id="client1">
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources04Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources04-Oracle_thin_jndi_Test03" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources04-Oracle_thin_jndi Test03'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources04Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>2</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources04Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources04Clients.Client01" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources04Clients.Client01" runtime_id="client1">
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources04Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JDBCResources04-Oracle_thin_jndi_Test04" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JDBCResources04-Oracle_thin_jndi Test04'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.JNDIManager" runtime_id="setup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources04Setups.Setup01" location="setup" runtime_id="setup1">
+ <param>2</param>
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources04Servers.Server02" runtime_id="server1"
+ location="setup">
+ <param>DB_THIN_JNDI</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources04Servers.Server02" runtime_id="server2"
+ location="setup">
+ <param>DB_THIN_JNDI</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources04Clients.Client01" runtime_id="client0">
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JDBCResources04Clients.Client01" runtime_id="client1">
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.JDBCResources04Cleanups.Cleanup01" location="setup"
+ runtime_id="cleanup">
+ <param>DB_THIN_JNDI</param>
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+</test_set>
Added: labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jtatests01-testdefs.xml
===================================================================
--- labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jtatests01-testdefs.xml (rev 0)
+++ labs/jbosstm/trunk/qa/testdefs/jbossts-qa-jtatests01-testdefs.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,181 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<test_set>
+ <default_timeout value="480"/>
+ <description>JTA Tests 01</description>
+
+
+ <test_group name="JTATests01">
+ <task_declaration>
+ <task id="com.arjuna.ats.arjuna.recovery.RecoveryManager"
+ classname="com.arjuna.ats.arjuna.recovery.RecoveryManager" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.JTA01Tests.Test01" classname="org.jboss.jbossts.qa.JTA01Tests.Test01"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JTA01Tests.Test02" classname="org.jboss.jbossts.qa.JTA01Tests.Test02"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JTA01Tests.Test03" classname="org.jboss.jbossts.qa.JTA01Tests.Test03"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JTA01Tests.Test04" classname="org.jboss.jbossts.qa.JTA01Tests.Test04"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JTA01Tests.Test05" classname="org.jboss.jbossts.qa.JTA01Tests.Test05"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.JTA01Tests.Test06" classname="org.jboss.jbossts.qa.JTA01Tests.Test06"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" classname="org.jboss.jbossts.qa.Utils.EmptyObjectStore"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+ <task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore"
+ classname="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+ </task_declaration>
+ <test_declaration id="JTATests01_Test001" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JTATests01 Test001'</description>
+ <configuration/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ <param>$(LOCAL_PARAMETER)</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JTA01Tests.Test01" runtime_id="client0">
+ <param>$(LOCAL_PARAMETER)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JTATests01_Test002" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JTATests01 Test002'</description>
+ <configuration/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ <param>$(LOCAL_PARAMETER)</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JTA01Tests.Test02" runtime_id="client0">
+ <param>$(LOCAL_PARAMETER)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JTATests01_Test003" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JTATests01 Test003'</description>
+ <configuration/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ <param>$(LOCAL_PARAMETER)</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JTA01Tests.Test03" runtime_id="client0">
+ <param>$(LOCAL_PARAMETER)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JTATests01_Test004" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JTATests01 Test004'</description>
+ <configuration/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ <param>$(LOCAL_PARAMETER)</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JTA01Tests.Test04" runtime_id="client0">
+ <param>$(LOCAL_PARAMETER)</param>
+ <param>1000</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JTATests01_Test005" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JTATests01 Test005'</description>
+ <configuration/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ <param>$(LOCAL_PARAMETER)</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JTA01Tests.Test05" runtime_id="client0">
+ <param>$(LOCAL_PARAMETER)</param>
+ <param>1000</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="JTATests01_Test006" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'JTATests01 Test006'</description>
+ <configuration/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ <param>$(LOCAL_PARAMETER)</param>
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.JTA01Tests.Test06" runtime_id="client0">
+ <param>$(LOCAL_PARAMETER)</param>
+ <param>32</param>
+ <param>1000</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server0"/>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+</test_set>
Added: labs/jbosstm/trunk/qa/testdefs/jbossts-qa-otsserver-testdefs.xml
===================================================================
--- labs/jbosstm/trunk/qa/testdefs/jbossts-qa-otsserver-testdefs.xml (rev 0)
+++ labs/jbosstm/trunk/qa/testdefs/jbossts-qa-otsserver-testdefs.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,1032 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<test_set>
+ <default_timeout value="480"/>
+ <description>OTS Server Tests</description>
+
+
+ <test_group name="OTSServer">
+ <task_declaration>
+
+ <task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" classname="org.jboss.jbossts.qa.Utils.RegisterOTSServer"
+ runner="UnitTestRunner" type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" classname="org.jboss.jbossts.qa.Utils.SetupOTSServer"
+ runner="UnitTestRunner" type="expect_ready"/>
+
+ <task id="com.arjuna.ats.arjuna.recovery.RecoveryManager"
+ classname="com.arjuna.ats.arjuna.recovery.RecoveryManager" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="com.arjuna.ats.jts.TransactionServer" classname="com.arjuna.ats.jts.TransactionServer"
+ runner="JavaTaskRunner" type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.OTSServerClients.Client01"
+ classname="org.jboss.jbossts.qa.OTSServerClients.Client01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" classname="org.jboss.jbossts.qa.Utils.EmptyObjectStore"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.OTSServerClients.Client02"
+ classname="org.jboss.jbossts.qa.OTSServerClients.Client02" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.OTSServerClients.Client03"
+ classname="org.jboss.jbossts.qa.OTSServerClients.Client03" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.OTSServerClients.Client04"
+ classname="org.jboss.jbossts.qa.OTSServerClients.Client04" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.OTSServerClients.Client05"
+ classname="org.jboss.jbossts.qa.OTSServerClients.Client05" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.OTSServerClients.Client06"
+ classname="org.jboss.jbossts.qa.OTSServerClients.Client06" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.OTSServerClients.Client07"
+ classname="org.jboss.jbossts.qa.OTSServerClients.Client07" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.OTSServerClients.Client08"
+ classname="org.jboss.jbossts.qa.OTSServerClients.Client08" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.OTSServerClients.Client09"
+ classname="org.jboss.jbossts.qa.OTSServerClients.Client09" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.OTSServerClients.Client10"
+ classname="org.jboss.jbossts.qa.OTSServerClients.Client10" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.OTSServerClients.Client11"
+ classname="org.jboss.jbossts.qa.OTSServerClients.Client11" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.OTSServerClients.Client12"
+ classname="org.jboss.jbossts.qa.OTSServerClients.Client12" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.OTSServerClients.Client13"
+ classname="org.jboss.jbossts.qa.OTSServerClients.Client13" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.OTSServerClients.Client14"
+ classname="org.jboss.jbossts.qa.OTSServerClients.Client14" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore"
+ classname="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+ </task_declaration>
+ <test_declaration id="OTSServer_Test001" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'OTSServer Test001'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="com.arjuna.ats.jts.TransactionServer" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" runtime_id="server2" location="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" runtime_id="server3" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client01" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="OTSServer_Test002" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'OTSServer Test002'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="com.arjuna.ats.jts.TransactionServer" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" runtime_id="server2" location="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" runtime_id="server3" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client02" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="OTSServer_Test003" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'OTSServer Test003'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="com.arjuna.ats.jts.TransactionServer" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" runtime_id="server2" location="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" runtime_id="server3" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client03" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="OTSServer_Test004" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'OTSServer Test004'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="com.arjuna.ats.jts.TransactionServer" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" runtime_id="server2" location="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" runtime_id="server3" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client04" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="OTSServer_Test005" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'OTSServer Test005'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="com.arjuna.ats.jts.TransactionServer" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" runtime_id="server2" location="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" runtime_id="server3" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client05" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="OTSServer_Test006" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'OTSServer Test006'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="com.arjuna.ats.jts.TransactionServer" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" runtime_id="server2" location="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" runtime_id="server3" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client06" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="OTSServer_Test007" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'OTSServer Test007'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="com.arjuna.ats.jts.TransactionServer" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" runtime_id="server2" location="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" runtime_id="server3" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client07" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>1000</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="OTSServer_Test008" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'OTSServer Test008'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="com.arjuna.ats.jts.TransactionServer" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" runtime_id="server2" location="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" runtime_id="server3" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client08" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>1000</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="OTSServer_Test009" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'OTSServer Test009'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="com.arjuna.ats.jts.TransactionServer" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" runtime_id="server2" location="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" runtime_id="server3" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client09" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>1000</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="OTSServer_Test010" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'OTSServer Test010'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="com.arjuna.ats.jts.TransactionServer" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" runtime_id="server2" location="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" runtime_id="server3" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client10" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>1000</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="OTSServer_Test011" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'OTSServer Test011'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="com.arjuna.ats.jts.TransactionServer" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" runtime_id="server2" location="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" runtime_id="server3" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client11" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>1000</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="OTSServer_Test012" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'OTSServer Test012'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="com.arjuna.ats.jts.TransactionServer" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" runtime_id="server2" location="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" runtime_id="server3" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client12" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>1000</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="OTSServer_Test013" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'OTSServer Test013'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="com.arjuna.ats.jts.TransactionServer" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" runtime_id="server2" location="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" runtime_id="server3" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client13" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>250</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="OTSServer_Test014" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'OTSServer Test014'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="com.arjuna.ats.jts.TransactionServer" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" runtime_id="server2" location="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" runtime_id="server3" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client13" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>250</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client13" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>250</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="OTSServer_Test015" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'OTSServer Test015'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="com.arjuna.ats.jts.TransactionServer" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" runtime_id="server2" location="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" runtime_id="server3" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client13" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>100</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client13" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>100</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client13" runtime_id="client2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>100</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="OTSServer_Test016" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'OTSServer Test016'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="com.arjuna.ats.jts.TransactionServer" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" runtime_id="server2" location="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" runtime_id="server3" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client13" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>100</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client13" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>100</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client13" runtime_id="client2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>100</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client13" runtime_id="client3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>100</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <wait_for_task runtime_id="client3"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="OTSServer_Test017" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'OTSServer Test017'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="com.arjuna.ats.jts.TransactionServer" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" runtime_id="server2" location="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" runtime_id="server3" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client14" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>250</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="OTSServer_Test018" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'OTSServer Test018'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="com.arjuna.ats.jts.TransactionServer" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" runtime_id="server2" location="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" runtime_id="server3" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client14" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>250</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client14" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>250</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="OTSServer_Test019" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'OTSServer Test019'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="com.arjuna.ats.jts.TransactionServer" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" runtime_id="server2" location="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" runtime_id="server3" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client14" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>100</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client14" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>100</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client14" runtime_id="client2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>100</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="OTSServer_Test020" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'OTSServer Test020'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="com.arjuna.ats.jts.TransactionServer" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" runtime_id="server2" location="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" runtime_id="server3" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client14" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>100</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client14" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>100</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client14" runtime_id="client2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>100</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client14" runtime_id="client3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>100</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <wait_for_task runtime_id="client3"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+</test_set>
Added: labs/jbosstm/trunk/qa/testdefs/jbossts-qa-otsserver-timeout-testdefs.xml
===================================================================
--- labs/jbosstm/trunk/qa/testdefs/jbossts-qa-otsserver-timeout-testdefs.xml (rev 0)
+++ labs/jbosstm/trunk/qa/testdefs/jbossts-qa-otsserver-timeout-testdefs.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,1032 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<test_set>
+ <default_timeout value="960"/>
+ <description>OTS Server Tests</description>
+
+
+ <test_group name="OTSServer">
+ <task_declaration>
+
+ <task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" classname="org.jboss.jbossts.qa.Utils.RegisterOTSServer"
+ runner="UnitTestRunner" type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" classname="org.jboss.jbossts.qa.Utils.SetupOTSServer"
+ runner="UnitTestRunner" type="expect_ready"/>
+
+ <task id="com.arjuna.ats.arjuna.recovery.RecoveryManager"
+ classname="com.arjuna.ats.arjuna.recovery.RecoveryManager" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="com.arjuna.ats.jts.TransactionServer" classname="com.arjuna.ats.jts.TransactionServer"
+ runner="JavaTaskRunner" type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.OTSServerClients.Client01"
+ classname="org.jboss.jbossts.qa.OTSServerClients.Client01" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" classname="org.jboss.jbossts.qa.Utils.EmptyObjectStore"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.OTSServerClients.Client02"
+ classname="org.jboss.jbossts.qa.OTSServerClients.Client02" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.OTSServerClients.Client03"
+ classname="org.jboss.jbossts.qa.OTSServerClients.Client03" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.OTSServerClients.Client04"
+ classname="org.jboss.jbossts.qa.OTSServerClients.Client04" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.OTSServerClients.Client05"
+ classname="org.jboss.jbossts.qa.OTSServerClients.Client05" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.OTSServerClients.Client06"
+ classname="org.jboss.jbossts.qa.OTSServerClients.Client06" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.OTSServerClients.Client07"
+ classname="org.jboss.jbossts.qa.OTSServerClients.Client07" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.OTSServerClients.Client08"
+ classname="org.jboss.jbossts.qa.OTSServerClients.Client08" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.OTSServerClients.Client09"
+ classname="org.jboss.jbossts.qa.OTSServerClients.Client09" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.OTSServerClients.Client10"
+ classname="org.jboss.jbossts.qa.OTSServerClients.Client10" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.OTSServerClients.Client11"
+ classname="org.jboss.jbossts.qa.OTSServerClients.Client11" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.OTSServerClients.Client12"
+ classname="org.jboss.jbossts.qa.OTSServerClients.Client12" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.OTSServerClients.Client13"
+ classname="org.jboss.jbossts.qa.OTSServerClients.Client13" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.OTSServerClients.Client14"
+ classname="org.jboss.jbossts.qa.OTSServerClients.Client14" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore"
+ classname="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+ </task_declaration>
+ <test_declaration id="OTSServer_Test001" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'OTSServer Test001'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="com.arjuna.ats.jts.TransactionServer" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" runtime_id="server2" location="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" runtime_id="server3" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client01" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="OTSServer_Test002" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'OTSServer Test002'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="com.arjuna.ats.jts.TransactionServer" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" runtime_id="server2" location="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" runtime_id="server3" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client02" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="OTSServer_Test003" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'OTSServer Test003'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="com.arjuna.ats.jts.TransactionServer" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" runtime_id="server2" location="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" runtime_id="server3" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client03" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="OTSServer_Test004" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'OTSServer Test004'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="com.arjuna.ats.jts.TransactionServer" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" runtime_id="server2" location="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" runtime_id="server3" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client04" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="OTSServer_Test005" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'OTSServer Test005'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="com.arjuna.ats.jts.TransactionServer" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" runtime_id="server2" location="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" runtime_id="server3" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client05" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="OTSServer_Test006" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'OTSServer Test006'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="com.arjuna.ats.jts.TransactionServer" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" runtime_id="server2" location="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" runtime_id="server3" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client06" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="OTSServer_Test007" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'OTSServer Test007'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="com.arjuna.ats.jts.TransactionServer" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" runtime_id="server2" location="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" runtime_id="server3" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client07" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>1000</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="OTSServer_Test008" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'OTSServer Test008'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="com.arjuna.ats.jts.TransactionServer" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" runtime_id="server2" location="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" runtime_id="server3" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client08" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>1000</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="OTSServer_Test009" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'OTSServer Test009'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="com.arjuna.ats.jts.TransactionServer" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" runtime_id="server2" location="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" runtime_id="server3" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client09" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>1000</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="OTSServer_Test010" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'OTSServer Test010'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="com.arjuna.ats.jts.TransactionServer" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" runtime_id="server2" location="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" runtime_id="server3" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client10" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>1000</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="OTSServer_Test011" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'OTSServer Test011'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="com.arjuna.ats.jts.TransactionServer" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" runtime_id="server2" location="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" runtime_id="server3" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client11" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>1000</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="OTSServer_Test012" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'OTSServer Test012'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="com.arjuna.ats.jts.TransactionServer" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" runtime_id="server2" location="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" runtime_id="server3" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client12" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>1000</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="OTSServer_Test013" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'OTSServer Test013'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="com.arjuna.ats.jts.TransactionServer" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" runtime_id="server2" location="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" runtime_id="server3" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client13" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>250</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="OTSServer_Test014" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'OTSServer Test014'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="com.arjuna.ats.jts.TransactionServer" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" runtime_id="server2" location="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" runtime_id="server3" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client13" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>250</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client13" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>250</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="OTSServer_Test015" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'OTSServer Test015'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="com.arjuna.ats.jts.TransactionServer" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" runtime_id="server2" location="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" runtime_id="server3" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client13" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>100</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client13" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>100</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client13" runtime_id="client2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>100</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="OTSServer_Test016" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'OTSServer Test016'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="com.arjuna.ats.jts.TransactionServer" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" runtime_id="server2" location="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" runtime_id="server3" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client13" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>100</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client13" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>100</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client13" runtime_id="client2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>100</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client13" runtime_id="client3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>100</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <wait_for_task runtime_id="client3"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="OTSServer_Test017" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'OTSServer Test017'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="com.arjuna.ats.jts.TransactionServer" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" runtime_id="server2" location="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" runtime_id="server3" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client14" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>250</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="OTSServer_Test018" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'OTSServer Test018'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="com.arjuna.ats.jts.TransactionServer" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" runtime_id="server2" location="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" runtime_id="server3" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client14" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>250</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client14" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>250</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="OTSServer_Test019" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'OTSServer Test019'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="com.arjuna.ats.jts.TransactionServer" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" runtime_id="server2" location="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" runtime_id="server3" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client14" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>100</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client14" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>100</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client14" runtime_id="client2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>100</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="OTSServer_Test020" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'OTSServer Test020'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="com.arjuna.ats.jts.TransactionServer" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.RegisterOTSServer" runtime_id="server2" location="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.Utils.SetupOTSServer" runtime_id="server3" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <jvm_param>-Dots.server.bindname=$(1)</jvm_param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client14" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>100</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client14" runtime_id="client1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>100</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client14" runtime_id="client2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>100</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.OTSServerClients.Client14" runtime_id="client3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>4</param>
+ <param>100</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <wait_for_task runtime_id="client1"/>
+ <wait_for_task runtime_id="client2"/>
+ <wait_for_task runtime_id="client3"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+</test_set>
Added: labs/jbosstm/trunk/qa/testdefs/jbossts-qa-rawresources01_1-testdefs.xml
===================================================================
--- labs/jbosstm/trunk/qa/testdefs/jbossts-qa-rawresources01_1-testdefs.xml (rev 0)
+++ labs/jbosstm/trunk/qa/testdefs/jbossts-qa-rawresources01_1-testdefs.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,253 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<test_set>
+ <default_timeout value="480"/>
+ <description>Raw Resources Tests 01-1</description>
+
+
+ <test_group name="RawResources01_1">
+ <task_declaration>
+ <task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" classname="org.jboss.jbossts.qa.Utils.EmptyObjectStore"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="com.arjuna.ats.arjuna.recovery.RecoveryManager"
+ classname="com.arjuna.ats.arjuna.recovery.RecoveryManager" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Servers.Server04"
+ classname="org.jboss.jbossts.qa.RawResources01Servers.Server04" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients1.Client001"
+ classname="org.jboss.jbossts.qa.RawResources01Clients1.Client001" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore"
+ classname="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Servers.Server01"
+ classname="org.jboss.jbossts.qa.RawResources01Servers.Server01" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients1.Client002"
+ classname="org.jboss.jbossts.qa.RawResources01Clients1.Client002" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients1.Client003"
+ classname="org.jboss.jbossts.qa.RawResources01Clients1.Client003" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients1.Client004"
+ classname="org.jboss.jbossts.qa.RawResources01Clients1.Client004" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients1.Client005"
+ classname="org.jboss.jbossts.qa.RawResources01Clients1.Client005" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients1.Client006"
+ classname="org.jboss.jbossts.qa.RawResources01Clients1.Client006" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ </task_declaration>
+ <test_declaration id="RawResources01_1_Test001" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_1 Test001'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server04" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients1.Client001" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_1_Test002" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_1 Test002'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients1.Client002" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_1_Test003" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_1 Test003'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients1.Client003" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_1_Test004" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_1 Test004'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients1.Client004" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_1_Test005" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_1 Test005'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients1.Client005" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_1_Test006" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_1 Test006'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients1.Client006" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+</test_set>
Added: labs/jbosstm/trunk/qa/testdefs/jbossts-qa-rawresources01_2-testdefs.xml
===================================================================
--- labs/jbosstm/trunk/qa/testdefs/jbossts-qa-rawresources01_2-testdefs.xml (rev 0)
+++ labs/jbosstm/trunk/qa/testdefs/jbossts-qa-rawresources01_2-testdefs.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,11074 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<test_set>
+ <default_timeout value="480"/>
+ <description>Raw Resources Tests 01-2</description>
+
+
+ <test_group name="RawResources01_2">
+ <task_declaration>
+ <task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" classname="org.jboss.jbossts.qa.Utils.EmptyObjectStore"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="com.arjuna.ats.arjuna.recovery.RecoveryManager"
+ classname="com.arjuna.ats.arjuna.recovery.RecoveryManager" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Servers.Server01"
+ classname="org.jboss.jbossts.qa.RawResources01Servers.Server01" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client001"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client001" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore"
+ classname="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client002"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client002" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client003"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client003" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client004"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client004" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client005"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client005" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client006"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client006" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client007"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client007" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client008"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client008" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client009"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client009" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client010"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client010" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client011"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client011" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client012"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client012" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client013"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client013" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client014"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client014" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client015"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client015" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client016"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client016" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client017"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client017" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client018"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client018" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client019"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client019" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client020"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client020" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client021"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client021" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client022"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client022" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client023"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client023" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client024"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client024" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client025"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client025" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client026"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client026" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client027"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client027" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client028"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client028" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client029"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client029" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client030"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client030" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client031"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client031" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client032"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client032" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client033"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client033" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client034"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client034" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client035"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client035" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client036"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client036" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client037"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client037" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client038"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client038" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client039"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client039" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client040"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client040" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client041"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client041" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client042"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client042" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client043"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client043" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client044"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client044" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client045"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client045" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client046"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client046" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client047"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client047" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client048"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client048" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client049"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client049" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client050"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client050" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client051"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client051" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client052"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client052" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client053"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client053" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client054"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client054" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client055"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client055" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client056"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client056" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client057"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client057" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client058"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client058" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client059"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client059" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client060"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client060" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client061"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client061" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client062"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client062" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client063"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client063" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client064"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client064" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client065"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client065" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client066"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client066" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client067"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client067" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client068"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client068" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client069"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client069" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client070"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client070" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client071"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client071" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client072"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client072" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client073"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client073" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client074"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client074" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client075"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client075" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client076"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client076" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client077"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client077" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client078"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client078" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client079"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client079" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client080"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client080" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client081"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client081" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client082"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client082" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client083"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client083" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client084"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client084" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client085"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client085" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client086"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client086" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client087"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client087" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client088"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client088" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client089"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client089" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client090"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client090" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client091"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client091" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client092"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client092" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client093"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client093" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client094"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client094" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client095"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client095" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client096"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client096" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client097"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client097" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client098"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client098" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client099"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client099" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client100"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client100" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client101"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client101" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client102"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client102" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client103"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client103" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client104"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client104" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client105"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client105" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client106"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client106" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client107"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client107" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client108"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client108" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client109"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client109" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client110"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client110" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client111"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client111" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client112"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client112" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client113"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client113" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client114"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client114" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client115"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client115" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client116"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client116" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client117"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client117" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client118"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client118" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client119"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client119" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client120"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client120" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client121"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client121" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client122"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client122" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client123"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client123" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client124"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client124" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client125"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client125" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client126"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client126" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client127"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client127" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client128"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client128" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client129"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client129" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client130"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client130" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client131"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client131" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client132"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client132" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client133"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client133" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client134"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client134" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client135"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client135" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client136"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client136" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client137"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client137" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client138"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client138" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client139"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client139" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client140"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client140" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client141"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client141" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client142"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client142" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client143"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client143" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client144"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client144" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Servers.Server02"
+ classname="org.jboss.jbossts.qa.RawResources01Servers.Server02" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client145"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client145" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client146"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client146" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients2.Client147"
+ classname="org.jboss.jbossts.qa.RawResources01Clients2.Client147" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ </task_declaration>
+ <test_declaration id="RawResources01_2_Test001" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test001'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client001" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test002" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test002'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client002" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test003" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test003'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client003" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test004" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test004'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client004" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test005" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test005'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client005" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test006" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test006'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client006" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test007" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test007'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client007" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test008" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test008'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client008" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test009" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test009'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client009" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test010" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test010'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client010" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test011" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test011'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client011" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test012" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test012'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client012" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test013" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test013'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client013" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test014" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test014'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client014" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test015" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test015'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client015" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test016" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test016'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client016" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test017" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test017'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client017" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test018" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test018'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client018" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test019" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test019'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client019" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test020" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test020'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client020" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test021" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test021'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client021" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test022" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test022'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client022" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test023" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test023'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client023" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test024" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test024'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client024" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test025" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test025'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client025" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test026" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test026'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client026" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test027" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test027'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client027" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test028" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test028'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client028" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test029" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test029'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client029" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test030" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test030'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client030" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test031" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test031'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client031" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test032" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test032'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client032" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test033" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test033'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client033" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test034" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test034'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client034" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test035" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test035'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client035" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test036" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test036'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client036" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test037" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test037'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client037" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test038" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test038'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client038" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test039" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test039'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client039" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test040" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test040'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client040" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test041" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test041'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client041" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test042" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test042'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client042" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test043" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test043'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client043" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test044" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test044'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client044" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test045" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test045'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client045" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test046" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test046'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client046" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test047" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test047'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client047" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test048" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test048'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client048" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test049" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test049'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client049" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test050" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test050'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client050" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test051" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test051'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client051" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test052" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test052'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client052" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test053" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test053'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client053" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test054" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test054'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client054" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test055" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test055'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client055" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test056" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test056'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client056" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test057" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test057'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client057" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test058" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test058'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client058" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test059" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test059'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client059" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test060" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test060'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client060" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test061" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test061'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client061" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test062" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test062'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client062" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test063" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test063'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client063" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test064" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test064'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client064" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test065" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test065'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client065" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test066" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test066'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client066" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test067" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test067'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client067" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test068" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test068'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client068" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test069" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test069'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client069" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test070" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test070'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client070" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test071" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test071'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client071" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test072" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test072'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client072" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test073" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test073'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client073" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test074" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test074'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client074" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test075" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test075'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client075" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test076" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test076'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client076" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test077" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test077'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client077" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test078" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test078'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client078" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test079" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test079'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client079" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test080" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test080'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client080" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test081" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test081'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client081" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test082" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test082'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client082" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test083" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test083'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client083" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test084" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test084'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client084" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test085" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test085'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client085" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test086" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test086'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client086" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test087" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test087'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client087" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test088" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test088'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client088" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test089" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test089'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client089" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test090" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test090'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client090" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test091" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test091'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client091" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test092" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test092'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client092" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test093" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test093'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client093" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test094" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test094'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client094" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test095" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test095'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client095" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test096" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test096'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client096" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test097" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test097'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client097" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test098" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test098'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client098" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test099" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test099'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client099" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test100" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test100'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client100" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test101" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test101'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client101" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test102" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test102'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client102" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test103" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test103'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client103" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test104" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test104'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client104" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test105" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test105'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client105" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test106" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test106'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client106" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test107" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test107'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client107" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test108" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test108'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client108" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test109" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test109'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client109" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test110" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test110'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client110" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test111" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test111'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client111" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test112" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test112'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client112" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test113" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test113'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client113" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test114" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test114'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client114" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test115" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test115'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client115" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test116" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test116'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client116" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test117" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test117'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client117" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test118" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test118'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client118" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test119" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test119'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client119" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test120" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test120'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client120" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test121" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test121'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client121" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test122" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test122'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client122" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test123" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test123'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client123" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test124" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test124'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client124" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test125" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test125'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client125" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test126" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test126'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client126" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test127" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test127'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client127" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test128" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test128'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client128" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test129" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test129'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client129" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test130" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test130'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client130" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test131" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test131'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client131" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test132" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test132'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client132" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test133" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test133'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client133" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test134" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test134'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client134" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test135" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test135'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client135" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test136" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test136'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client136" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test137" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test137'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client137" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test138" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test138'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client138" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test139" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test139'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client139" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test140" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test140'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client140" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test141" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test141'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client141" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test142" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test142'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client142" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test143" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test143'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client143" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test144" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test144'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client144" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test145" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test145'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client001" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test146" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test146'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client002" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test147" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test147'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client003" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test148" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test148'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client004" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test149" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test149'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client005" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test150" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test150'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client006" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test151" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test151'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client007" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test152" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test152'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client008" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test153" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test153'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client009" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test154" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test154'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client010" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test155" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test155'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client011" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test156" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test156'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client012" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test157" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test157'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client013" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test158" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test158'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client014" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test159" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test159'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client015" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test160" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test160'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client016" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test161" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test161'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client017" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test162" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test162'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client018" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test163" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test163'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client019" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test164" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test164'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client020" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test165" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test165'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client021" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test166" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test166'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client022" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test167" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test167'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client023" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test168" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test168'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client024" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test169" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test169'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client025" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test170" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test170'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client026" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test171" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test171'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client027" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test172" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test172'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client028" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test173" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test173'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client029" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test174" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test174'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client030" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test175" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test175'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client031" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test176" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test176'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client032" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test177" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test177'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client033" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test178" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test178'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client034" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test179" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test179'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client035" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test180" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test180'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client036" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test181" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test181'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client037" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test182" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test182'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client038" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test183" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test183'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client039" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test184" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test184'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client040" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test185" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test185'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client041" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test186" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test186'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client042" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test187" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test187'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client043" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test188" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test188'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client044" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test189" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test189'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client045" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test190" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test190'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client046" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test191" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test191'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client047" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test192" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test192'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client048" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test193" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test193'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client049" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test194" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test194'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client050" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test195" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test195'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client051" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test196" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test196'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client052" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test197" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test197'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client053" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test198" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test198'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client054" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test199" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test199'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client055" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test200" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test200'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client056" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test201" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test201'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client057" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test202" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test202'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client058" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test203" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test203'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client059" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test204" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test204'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client060" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test205" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test205'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client061" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test206" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test206'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client062" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test207" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test207'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client063" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test208" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test208'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client064" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test209" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test209'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client065" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test210" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test210'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client066" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test211" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test211'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client067" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test212" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test212'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client068" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test213" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test213'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client069" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test214" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test214'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client070" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test215" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test215'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client071" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test216" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test216'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client072" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test217" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test217'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client073" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test218" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test218'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client074" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test219" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test219'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client075" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test220" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test220'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client076" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test221" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test221'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client077" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test222" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test222'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client078" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test223" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test223'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client079" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test224" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test224'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client080" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test225" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test225'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client081" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test226" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test226'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client082" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test227" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test227'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client083" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test228" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test228'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client084" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test229" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test229'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client085" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test230" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test230'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client086" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test231" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test231'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client087" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test232" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test232'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client088" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test233" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test233'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client089" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test234" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test234'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client090" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test235" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test235'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client091" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test236" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test236'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client092" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test237" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test237'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client093" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test238" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test238'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client094" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test239" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test239'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client095" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test240" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test240'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client096" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test241" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test241'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client097" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test242" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test242'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client098" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test243" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test243'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client099" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test244" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test244'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client100" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test245" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test245'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client101" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test246" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test246'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client102" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test247" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test247'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client103" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test248" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test248'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client104" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test249" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test249'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client105" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test250" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test250'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client106" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test251" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test251'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client107" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test252" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test252'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client108" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test253" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test253'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client109" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test254" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test254'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client110" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test255" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test255'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client111" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test256" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test256'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client112" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test257" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test257'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client113" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test258" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test258'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client114" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test259" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test259'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client115" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test260" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test260'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client116" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test261" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test261'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client117" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test262" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test262'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client118" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test263" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test263'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client119" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test264" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test264'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client120" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test265" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test265'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client121" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test266" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test266'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client122" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test267" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test267'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client123" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test268" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test268'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client124" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test269" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test269'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client125" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test270" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test270'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client126" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test271" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test271'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client127" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test272" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test272'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client128" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test273" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test273'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client129" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test274" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test274'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client130" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test275" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test275'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client131" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test276" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test276'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client132" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test277" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test277'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client133" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test278" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test278'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client134" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test279" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test279'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client135" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test280" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test280'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client136" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test281" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test281'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client137" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test282" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test282'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client138" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test283" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test283'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client139" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test284" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test284'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client140" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test285" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test285'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client141" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test286" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test286'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client142" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test287" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test287'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client143" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test288" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test288'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client144" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test289" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test289'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client145" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test290" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test290'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client146" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test291" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test291'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client147" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test292" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test292'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client145" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test293" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test293'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client146" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_2_Test294" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_2 Test294'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients2.Client147" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+</test_set>
Added: labs/jbosstm/trunk/qa/testdefs/jbossts-qa-rawresources01_3-testdefs.xml
===================================================================
--- labs/jbosstm/trunk/qa/testdefs/jbossts-qa-rawresources01_3-testdefs.xml (rev 0)
+++ labs/jbosstm/trunk/qa/testdefs/jbossts-qa-rawresources01_3-testdefs.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,6323 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<test_set>
+ <default_timeout value="480"/>
+ <description>Raw Resources Tests 01-3</description>
+
+
+ <test_group name="RawResources01_3">
+ <task_declaration>
+ <task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" classname="org.jboss.jbossts.qa.Utils.EmptyObjectStore"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="com.arjuna.ats.arjuna.recovery.RecoveryManager"
+ classname="com.arjuna.ats.arjuna.recovery.RecoveryManager" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Servers.Server01"
+ classname="org.jboss.jbossts.qa.RawResources01Servers.Server01" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients3.Client001"
+ classname="org.jboss.jbossts.qa.RawResources01Clients3.Client001" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore"
+ classname="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients3.Client002"
+ classname="org.jboss.jbossts.qa.RawResources01Clients3.Client002" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients3.Client003"
+ classname="org.jboss.jbossts.qa.RawResources01Clients3.Client003" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients3.Client004"
+ classname="org.jboss.jbossts.qa.RawResources01Clients3.Client004" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients3.Client005"
+ classname="org.jboss.jbossts.qa.RawResources01Clients3.Client005" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients3.Client006"
+ classname="org.jboss.jbossts.qa.RawResources01Clients3.Client006" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients3.Client007"
+ classname="org.jboss.jbossts.qa.RawResources01Clients3.Client007" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients3.Client008"
+ classname="org.jboss.jbossts.qa.RawResources01Clients3.Client008" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients3.Client009"
+ classname="org.jboss.jbossts.qa.RawResources01Clients3.Client009" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients3.Client010"
+ classname="org.jboss.jbossts.qa.RawResources01Clients3.Client010" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients3.Client011"
+ classname="org.jboss.jbossts.qa.RawResources01Clients3.Client011" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients3.Client012"
+ classname="org.jboss.jbossts.qa.RawResources01Clients3.Client012" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients3.Client013"
+ classname="org.jboss.jbossts.qa.RawResources01Clients3.Client013" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients3.Client014"
+ classname="org.jboss.jbossts.qa.RawResources01Clients3.Client014" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients3.Client015"
+ classname="org.jboss.jbossts.qa.RawResources01Clients3.Client015" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients3.Client016"
+ classname="org.jboss.jbossts.qa.RawResources01Clients3.Client016" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients3.Client017"
+ classname="org.jboss.jbossts.qa.RawResources01Clients3.Client017" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients3.Client018"
+ classname="org.jboss.jbossts.qa.RawResources01Clients3.Client018" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients3.Client019"
+ classname="org.jboss.jbossts.qa.RawResources01Clients3.Client019" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients3.Client020"
+ classname="org.jboss.jbossts.qa.RawResources01Clients3.Client020" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients3.Client021"
+ classname="org.jboss.jbossts.qa.RawResources01Clients3.Client021" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients3.Client022"
+ classname="org.jboss.jbossts.qa.RawResources01Clients3.Client022" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients3.Client023"
+ classname="org.jboss.jbossts.qa.RawResources01Clients3.Client023" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients3.Client024"
+ classname="org.jboss.jbossts.qa.RawResources01Clients3.Client024" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients3.Client025"
+ classname="org.jboss.jbossts.qa.RawResources01Clients3.Client025" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients3.Client026"
+ classname="org.jboss.jbossts.qa.RawResources01Clients3.Client026" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients3.Client027"
+ classname="org.jboss.jbossts.qa.RawResources01Clients3.Client027" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Servers.Server02"
+ classname="org.jboss.jbossts.qa.RawResources01Servers.Server02" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Servers.Server03"
+ classname="org.jboss.jbossts.qa.RawResources01Servers.Server03" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients3.Client028"
+ classname="org.jboss.jbossts.qa.RawResources01Clients3.Client028" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients3.Client029"
+ classname="org.jboss.jbossts.qa.RawResources01Clients3.Client029" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources01Clients3.Client030"
+ classname="org.jboss.jbossts.qa.RawResources01Clients3.Client030" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ </task_declaration>
+ <test_declaration id="RawResources01_3_Test001" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test001'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client001" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test002" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test002'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client002" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test003" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test003'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client003" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test004" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test004'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client004" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test005" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test005'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client005" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test006" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test006'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client006" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test007" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test007'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client007" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test008" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test008'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client008" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test009" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test009'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client009" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test010" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test010'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client010" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test011" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test011'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client011" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test012" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test012'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client012" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test013" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test013'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client013" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test014" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test014'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client014" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test015" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test015'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client015" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test016" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test016'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client016" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test017" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test017'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client017" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test018" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test018'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client018" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test019" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test019'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client019" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test020" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test020'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client020" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test021" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test021'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client021" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test022" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test022'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client022" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test023" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test023'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client023" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test024" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test024'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client024" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test025" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test025'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client025" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test026" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test026'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client026" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test027" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test027'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client027" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test028" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test028'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client001" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test029" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test029'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client002" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test030" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test030'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client003" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test031" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test031'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client004" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test032" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test032'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client005" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test033" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test033'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client006" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test034" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test034'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client007" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test035" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test035'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client008" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test036" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test036'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client009" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test037" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test037'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client010" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test038" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test038'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client011" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test039" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test039'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client012" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test040" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test040'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client013" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test041" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test041'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client014" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test042" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test042'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client015" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test043" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test043'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client016" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test044" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test044'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client017" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test045" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test045'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client018" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test046" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test046'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client019" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test047" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test047'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client020" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test048" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test048'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client021" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test049" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test049'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client022" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test050" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test050'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client023" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test051" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test051'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client024" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test052" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test052'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client025" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test053" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test053'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client026" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test054" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test054'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client027" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test055" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test055'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client001" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test056" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test056'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client002" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test057" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test057'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client003" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test058" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test058'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client004" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test059" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test059'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client005" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test060" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test060'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client006" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test061" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test061'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client007" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test062" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test062'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client008" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test063" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test063'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client009" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test064" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test064'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client010" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test065" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test065'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client011" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test066" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test066'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client012" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test067" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test067'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client013" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test068" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test068'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client014" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test069" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test069'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client015" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test070" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test070'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client016" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test071" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test071'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client017" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test072" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test072'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client018" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test073" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test073'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client019" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test074" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test074'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client020" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test075" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test075'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client021" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test076" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test076'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client022" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test077" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test077'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client023" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test078" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test078'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client024" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test079" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test079'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client025" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test080" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test080'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client026" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test081" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test081'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client027" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test082" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test082'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client001" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test083" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test083'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client002" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test084" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test084'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client003" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test085" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test085'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client004" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test086" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test086'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client005" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test087" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test087'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client006" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test088" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test088'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client007" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test089" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test089'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client008" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test090" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test090'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client009" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test091" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test091'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client010" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test092" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test092'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client011" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test093" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test093'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client012" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test094" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test094'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client013" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test095" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test095'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client014" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test096" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test096'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client015" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test097" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test097'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client016" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test098" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test098'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client017" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test099" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test099'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client018" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test100" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test100'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client019" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test101" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test101'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client020" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test102" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test102'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client021" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test103" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test103'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client022" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test104" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test104'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client023" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test105" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test105'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client024" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test106" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test106'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client025" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test107" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test107'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client026" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test108" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test108'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client027" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test109" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test109'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client001" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test110" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test110'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client002" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test111" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test111'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client003" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test112" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test112'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client004" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test113" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test113'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client005" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test114" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test114'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client006" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test115" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test115'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client007" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test116" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test116'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client008" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test117" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test117'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client009" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test118" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test118'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client010" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test119" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test119'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client011" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test120" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test120'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client012" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test121" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test121'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client013" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test122" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test122'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client014" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test123" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test123'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client015" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test124" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test124'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client016" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test125" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test125'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client017" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test126" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test126'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client018" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test127" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test127'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client019" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test128" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test128'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client020" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test129" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test129'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client021" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test130" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test130'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client022" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test131" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test131'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client023" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test132" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test132'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client024" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test133" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test133'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client025" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test134" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test134'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client026" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test135" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test135'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client027" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test136" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test136'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client028" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test137" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test137'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client029" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test138" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test138'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client030" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test139" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test139'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client028" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test140" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test140'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client029" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test141" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test141'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client030" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test142" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test142'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client028" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test143" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test143'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client029" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test144" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test144'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client030" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test145" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test145'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client028" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test146" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test146'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client029" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test147" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test147'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client030" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test148" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test148'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client028" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test149" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test149'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client029" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources01_3_Test150" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources01_3 Test150'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources01Clients3.Client030" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+</test_set>
Added: labs/jbosstm/trunk/qa/testdefs/jbossts-qa-rawresources02_1-testdefs.xml
===================================================================
--- labs/jbosstm/trunk/qa/testdefs/jbossts-qa-rawresources02_1-testdefs.xml (rev 0)
+++ labs/jbosstm/trunk/qa/testdefs/jbossts-qa-rawresources02_1-testdefs.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,253 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<test_set>
+ <default_timeout value="480"/>
+ <description>Raw Resources Tests 02-1</description>
+
+
+ <test_group name="RawResources02_1">
+ <task_declaration>
+ <task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" classname="org.jboss.jbossts.qa.Utils.EmptyObjectStore"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="com.arjuna.ats.arjuna.recovery.RecoveryManager"
+ classname="com.arjuna.ats.arjuna.recovery.RecoveryManager" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Servers.Server04"
+ classname="org.jboss.jbossts.qa.RawResources02Servers.Server04" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients1.Client001"
+ classname="org.jboss.jbossts.qa.RawResources02Clients1.Client001" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore"
+ classname="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Servers.Server01"
+ classname="org.jboss.jbossts.qa.RawResources02Servers.Server01" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients1.Client002"
+ classname="org.jboss.jbossts.qa.RawResources02Clients1.Client002" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients1.Client003"
+ classname="org.jboss.jbossts.qa.RawResources02Clients1.Client003" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients1.Client004"
+ classname="org.jboss.jbossts.qa.RawResources02Clients1.Client004" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients1.Client005"
+ classname="org.jboss.jbossts.qa.RawResources02Clients1.Client005" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients1.Client006"
+ classname="org.jboss.jbossts.qa.RawResources02Clients1.Client006" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ </task_declaration>
+ <test_declaration id="RawResources02_1_Test001" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_1 Test001'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server04" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients1.Client001" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_1_Test002" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_1 Test002'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients1.Client002" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_1_Test003" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_1 Test003'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients1.Client003" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_1_Test004" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_1 Test004'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients1.Client004" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_1_Test005" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_1 Test005'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients1.Client005" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_1_Test006" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_1 Test006'</description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients1.Client006" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+</test_set>
Added: labs/jbosstm/trunk/qa/testdefs/jbossts-qa-rawresources02_2-testdefs.xml
===================================================================
--- labs/jbosstm/trunk/qa/testdefs/jbossts-qa-rawresources02_2-testdefs.xml (rev 0)
+++ labs/jbosstm/trunk/qa/testdefs/jbossts-qa-rawresources02_2-testdefs.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,11074 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<test_set>
+ <default_timeout value="480"/>
+ <description>Raw Resources Tests 02-2</description>
+
+
+ <test_group name="RawResources02_2">
+ <task_declaration>
+ <task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" classname="org.jboss.jbossts.qa.Utils.EmptyObjectStore"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="com.arjuna.ats.arjuna.recovery.RecoveryManager"
+ classname="com.arjuna.ats.arjuna.recovery.RecoveryManager" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Servers.Server01"
+ classname="org.jboss.jbossts.qa.RawResources02Servers.Server01" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client001"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client001" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore"
+ classname="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client002"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client002" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client003"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client003" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client004"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client004" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client005"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client005" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client006"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client006" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client007"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client007" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client008"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client008" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client009"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client009" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client010"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client010" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client011"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client011" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client012"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client012" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client013"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client013" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client014"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client014" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client015"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client015" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client016"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client016" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client017"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client017" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client018"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client018" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client019"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client019" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client020"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client020" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client021"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client021" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client022"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client022" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client023"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client023" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client024"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client024" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client025"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client025" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client026"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client026" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client027"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client027" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client028"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client028" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client029"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client029" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client030"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client030" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client031"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client031" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client032"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client032" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client033"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client033" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client034"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client034" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client035"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client035" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client036"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client036" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client037"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client037" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client038"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client038" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client039"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client039" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client040"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client040" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client041"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client041" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client042"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client042" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client043"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client043" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client044"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client044" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client045"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client045" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client046"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client046" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client047"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client047" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client048"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client048" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client049"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client049" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client050"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client050" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client051"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client051" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client052"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client052" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client053"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client053" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client054"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client054" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client055"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client055" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client056"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client056" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client057"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client057" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client058"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client058" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client059"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client059" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client060"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client060" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client061"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client061" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client062"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client062" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client063"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client063" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client064"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client064" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client065"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client065" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client066"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client066" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client067"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client067" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client068"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client068" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client069"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client069" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client070"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client070" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client071"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client071" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client072"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client072" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client073"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client073" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client074"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client074" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client075"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client075" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client076"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client076" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client077"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client077" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client078"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client078" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client079"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client079" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client080"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client080" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client081"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client081" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client082"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client082" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client083"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client083" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client084"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client084" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client085"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client085" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client086"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client086" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client087"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client087" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client088"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client088" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client089"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client089" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client090"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client090" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client091"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client091" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client092"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client092" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client093"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client093" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client094"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client094" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client095"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client095" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client096"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client096" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client097"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client097" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client098"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client098" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client099"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client099" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client100"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client100" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client101"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client101" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client102"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client102" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client103"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client103" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client104"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client104" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client105"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client105" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client106"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client106" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client107"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client107" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client108"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client108" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client109"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client109" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client110"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client110" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client111"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client111" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client112"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client112" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client113"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client113" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client114"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client114" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client115"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client115" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client116"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client116" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client117"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client117" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client118"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client118" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client119"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client119" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client120"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client120" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client121"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client121" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client122"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client122" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client123"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client123" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client124"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client124" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client125"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client125" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client126"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client126" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client127"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client127" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client128"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client128" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client129"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client129" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client130"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client130" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client131"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client131" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client132"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client132" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client133"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client133" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client134"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client134" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client135"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client135" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client136"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client136" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client137"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client137" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client138"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client138" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client139"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client139" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client140"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client140" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client141"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client141" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client142"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client142" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client143"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client143" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client144"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client144" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Servers.Server02"
+ classname="org.jboss.jbossts.qa.RawResources02Servers.Server02" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client145"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client145" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client146"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client146" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients2.Client147"
+ classname="org.jboss.jbossts.qa.RawResources02Clients2.Client147" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ </task_declaration>
+ <test_declaration id="RawResources02_2_Test001" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test001'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client001" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test002" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test002'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client002" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test003" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test003'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client003" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test004" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test004'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client004" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test005" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test005'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client005" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test006" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test006'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client006" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test007" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test007'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client007" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test008" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test008'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client008" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test009" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test009'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client009" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test010" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test010'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client010" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test011" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test011'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client011" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test012" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test012'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client012" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test013" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test013'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client013" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test014" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test014'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client014" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test015" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test015'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client015" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test016" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test016'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client016" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test017" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test017'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client017" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test018" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test018'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client018" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test019" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test019'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client019" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test020" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test020'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client020" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test021" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test021'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client021" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test022" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test022'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client022" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test023" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test023'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client023" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test024" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test024'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client024" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test025" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test025'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client025" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test026" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test026'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client026" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test027" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test027'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client027" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test028" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test028'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client028" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test029" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test029'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client029" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test030" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test030'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client030" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test031" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test031'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client031" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test032" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test032'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client032" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test033" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test033'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client033" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test034" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test034'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client034" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test035" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test035'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client035" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test036" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test036'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client036" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test037" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test037'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client037" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test038" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test038'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client038" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test039" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test039'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client039" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test040" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test040'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client040" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test041" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test041'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client041" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test042" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test042'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client042" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test043" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test043'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client043" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test044" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test044'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client044" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test045" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test045'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client045" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test046" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test046'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client046" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test047" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test047'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client047" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test048" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test048'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client048" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test049" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test049'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client049" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test050" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test050'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client050" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test051" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test051'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client051" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test052" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test052'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client052" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test053" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test053'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client053" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test054" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test054'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client054" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test055" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test055'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client055" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test056" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test056'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client056" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test057" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test057'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client057" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test058" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test058'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client058" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test059" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test059'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client059" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test060" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test060'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client060" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test061" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test061'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client061" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test062" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test062'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client062" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test063" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test063'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client063" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test064" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test064'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client064" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test065" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test065'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client065" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test066" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test066'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client066" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test067" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test067'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client067" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test068" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test068'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client068" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test069" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test069'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client069" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test070" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test070'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client070" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test071" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test071'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client071" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test072" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test072'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client072" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test073" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test073'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client073" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test074" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test074'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client074" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test075" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test075'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client075" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test076" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test076'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client076" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test077" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test077'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client077" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test078" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test078'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client078" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test079" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test079'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client079" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test080" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test080'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client080" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test081" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test081'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client081" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test082" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test082'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client082" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test083" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test083'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client083" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test084" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test084'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client084" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test085" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test085'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client085" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test086" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test086'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client086" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test087" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test087'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client087" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test088" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test088'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client088" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test089" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test089'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client089" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test090" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test090'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client090" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test091" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test091'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client091" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test092" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test092'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client092" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test093" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test093'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client093" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test094" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test094'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client094" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test095" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test095'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client095" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test096" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test096'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client096" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test097" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test097'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client097" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test098" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test098'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client098" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test099" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test099'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client099" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test100" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test100'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client100" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test101" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test101'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client101" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test102" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test102'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client102" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test103" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test103'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client103" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test104" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test104'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client104" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test105" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test105'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client105" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test106" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test106'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client106" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test107" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test107'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client107" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test108" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test108'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client108" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test109" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test109'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client109" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test110" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test110'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client110" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test111" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test111'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client111" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test112" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test112'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client112" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test113" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test113'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client113" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test114" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test114'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client114" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test115" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test115'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client115" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test116" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test116'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client116" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test117" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test117'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client117" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test118" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test118'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client118" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test119" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test119'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client119" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test120" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test120'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client120" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test121" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test121'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client121" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test122" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test122'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client122" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test123" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test123'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client123" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test124" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test124'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client124" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test125" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test125'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client125" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test126" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test126'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client126" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test127" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test127'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client127" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test128" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test128'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client128" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test129" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test129'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client129" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test130" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test130'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client130" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test131" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test131'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client131" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test132" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test132'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client132" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test133" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test133'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client133" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test134" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test134'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client134" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test135" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test135'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client135" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test136" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test136'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client136" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test137" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test137'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client137" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test138" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test138'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client138" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test139" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test139'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client139" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test140" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test140'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client140" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test141" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test141'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client141" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test142" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test142'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client142" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test143" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test143'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client143" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test144" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test144'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client144" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test145" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test145'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client001" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test146" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test146'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client002" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test147" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test147'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client003" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test148" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test148'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client004" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test149" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test149'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client005" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test150" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test150'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client006" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test151" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test151'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client007" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test152" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test152'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client008" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test153" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test153'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client009" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test154" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test154'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client010" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test155" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test155'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client011" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test156" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test156'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client012" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test157" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test157'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client013" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test158" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test158'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client014" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test159" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test159'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client015" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test160" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test160'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client016" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test161" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test161'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client017" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test162" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test162'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client018" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test163" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test163'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client019" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test164" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test164'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client020" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test165" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test165'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client021" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test166" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test166'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client022" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test167" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test167'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client023" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test168" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test168'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client024" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test169" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test169'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client025" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test170" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test170'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client026" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test171" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test171'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client027" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test172" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test172'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client028" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test173" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test173'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client029" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test174" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test174'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client030" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test175" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test175'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client031" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test176" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test176'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client032" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test177" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test177'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client033" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test178" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test178'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client034" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test179" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test179'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client035" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test180" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test180'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client036" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test181" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test181'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client037" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test182" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test182'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client038" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test183" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test183'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client039" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test184" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test184'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client040" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test185" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test185'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client041" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test186" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test186'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client042" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test187" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test187'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client043" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test188" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test188'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client044" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test189" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test189'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client045" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test190" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test190'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client046" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test191" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test191'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client047" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test192" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test192'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client048" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test193" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test193'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client049" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test194" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test194'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client050" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test195" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test195'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client051" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test196" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test196'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client052" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test197" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test197'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client053" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test198" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test198'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client054" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test199" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test199'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client055" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test200" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test200'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client056" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test201" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test201'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client057" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test202" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test202'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client058" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test203" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test203'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client059" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test204" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test204'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client060" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test205" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test205'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client061" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test206" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test206'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client062" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test207" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test207'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client063" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test208" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test208'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client064" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test209" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test209'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client065" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test210" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test210'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client066" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test211" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test211'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client067" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test212" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test212'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client068" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test213" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test213'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client069" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test214" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test214'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client070" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test215" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test215'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client071" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test216" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test216'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client072" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test217" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test217'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client073" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test218" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test218'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client074" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test219" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test219'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client075" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test220" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test220'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client076" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test221" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test221'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client077" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test222" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test222'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client078" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test223" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test223'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client079" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test224" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test224'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client080" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test225" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test225'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client081" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test226" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test226'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client082" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test227" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test227'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client083" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test228" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test228'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client084" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test229" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test229'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client085" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test230" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test230'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client086" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test231" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test231'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client087" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test232" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test232'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client088" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test233" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test233'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client089" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test234" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test234'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client090" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test235" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test235'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client091" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test236" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test236'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client092" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test237" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test237'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client093" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test238" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test238'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client094" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test239" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test239'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client095" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test240" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test240'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client096" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test241" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test241'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client097" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test242" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test242'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client098" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test243" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test243'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client099" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test244" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test244'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client100" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test245" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test245'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client101" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test246" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test246'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client102" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test247" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test247'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client103" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test248" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test248'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client104" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test249" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test249'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client105" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test250" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test250'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client106" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test251" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test251'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client107" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test252" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test252'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client108" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test253" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test253'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client109" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test254" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test254'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client110" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test255" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test255'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client111" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test256" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test256'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client112" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test257" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test257'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client113" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test258" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test258'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client114" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test259" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test259'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client115" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test260" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test260'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client116" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test261" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test261'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client117" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test262" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test262'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client118" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test263" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test263'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client119" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test264" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test264'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client120" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test265" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test265'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client121" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test266" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test266'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client122" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test267" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test267'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client123" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test268" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test268'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client124" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test269" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test269'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client125" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test270" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test270'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client126" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test271" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test271'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client127" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test272" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test272'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client128" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test273" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test273'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client129" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test274" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test274'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client130" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test275" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test275'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client131" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test276" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test276'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client132" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test277" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test277'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client133" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test278" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test278'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client134" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test279" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test279'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client135" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test280" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test280'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client136" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test281" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test281'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client137" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test282" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test282'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client138" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test283" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test283'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client139" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test284" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test284'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client140" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test285" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test285'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client141" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test286" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test286'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client142" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test287" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test287'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client143" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test288" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test288'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client144" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test289" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test289'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client145" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test290" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test290'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client146" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test291" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test291'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client147" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test292" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test292'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client145" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test293" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test293'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client146" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_2_Test294" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_2 Test294'</description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients2.Client147" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+</test_set>
Added: labs/jbosstm/trunk/qa/testdefs/jbossts-qa-rawresources02_3-testdefs.xml
===================================================================
--- labs/jbosstm/trunk/qa/testdefs/jbossts-qa-rawresources02_3-testdefs.xml (rev 0)
+++ labs/jbosstm/trunk/qa/testdefs/jbossts-qa-rawresources02_3-testdefs.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,6323 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<test_set>
+ <default_timeout value="480"/>
+ <description>Raw Resources Tests 02-3</description>
+
+
+ <test_group name="RawResources02_3">
+ <task_declaration>
+ <task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" classname="org.jboss.jbossts.qa.Utils.EmptyObjectStore"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="com.arjuna.ats.arjuna.recovery.RecoveryManager"
+ classname="com.arjuna.ats.arjuna.recovery.RecoveryManager" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Servers.Server01"
+ classname="org.jboss.jbossts.qa.RawResources02Servers.Server01" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients3.Client001"
+ classname="org.jboss.jbossts.qa.RawResources02Clients3.Client001" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore"
+ classname="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients3.Client002"
+ classname="org.jboss.jbossts.qa.RawResources02Clients3.Client002" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients3.Client003"
+ classname="org.jboss.jbossts.qa.RawResources02Clients3.Client003" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients3.Client004"
+ classname="org.jboss.jbossts.qa.RawResources02Clients3.Client004" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients3.Client005"
+ classname="org.jboss.jbossts.qa.RawResources02Clients3.Client005" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients3.Client006"
+ classname="org.jboss.jbossts.qa.RawResources02Clients3.Client006" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients3.Client007"
+ classname="org.jboss.jbossts.qa.RawResources02Clients3.Client007" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients3.Client008"
+ classname="org.jboss.jbossts.qa.RawResources02Clients3.Client008" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients3.Client009"
+ classname="org.jboss.jbossts.qa.RawResources02Clients3.Client009" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients3.Client010"
+ classname="org.jboss.jbossts.qa.RawResources02Clients3.Client010" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients3.Client011"
+ classname="org.jboss.jbossts.qa.RawResources02Clients3.Client011" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients3.Client012"
+ classname="org.jboss.jbossts.qa.RawResources02Clients3.Client012" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients3.Client013"
+ classname="org.jboss.jbossts.qa.RawResources02Clients3.Client013" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients3.Client014"
+ classname="org.jboss.jbossts.qa.RawResources02Clients3.Client014" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients3.Client015"
+ classname="org.jboss.jbossts.qa.RawResources02Clients3.Client015" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients3.Client016"
+ classname="org.jboss.jbossts.qa.RawResources02Clients3.Client016" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients3.Client017"
+ classname="org.jboss.jbossts.qa.RawResources02Clients3.Client017" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients3.Client018"
+ classname="org.jboss.jbossts.qa.RawResources02Clients3.Client018" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients3.Client019"
+ classname="org.jboss.jbossts.qa.RawResources02Clients3.Client019" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients3.Client020"
+ classname="org.jboss.jbossts.qa.RawResources02Clients3.Client020" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients3.Client021"
+ classname="org.jboss.jbossts.qa.RawResources02Clients3.Client021" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients3.Client022"
+ classname="org.jboss.jbossts.qa.RawResources02Clients3.Client022" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients3.Client023"
+ classname="org.jboss.jbossts.qa.RawResources02Clients3.Client023" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients3.Client024"
+ classname="org.jboss.jbossts.qa.RawResources02Clients3.Client024" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients3.Client025"
+ classname="org.jboss.jbossts.qa.RawResources02Clients3.Client025" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients3.Client026"
+ classname="org.jboss.jbossts.qa.RawResources02Clients3.Client026" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients3.Client027"
+ classname="org.jboss.jbossts.qa.RawResources02Clients3.Client027" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Servers.Server02"
+ classname="org.jboss.jbossts.qa.RawResources02Servers.Server02" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Servers.Server03"
+ classname="org.jboss.jbossts.qa.RawResources02Servers.Server03" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients3.Client028"
+ classname="org.jboss.jbossts.qa.RawResources02Clients3.Client028" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients3.Client029"
+ classname="org.jboss.jbossts.qa.RawResources02Clients3.Client029" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawResources02Clients3.Client030"
+ classname="org.jboss.jbossts.qa.RawResources02Clients3.Client030" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ </task_declaration>
+ <test_declaration id="RawResources02_3_Test001" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test001'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client001" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test002" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test002'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client002" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test003" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test003'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client003" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test004" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test004'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client004" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test005" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test005'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client005" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test006" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test006'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client006" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test007" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test007'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client007" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test008" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test008'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client008" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test009" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test009'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client009" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test010" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test010'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client010" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test011" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test011'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client011" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test012" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test012'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client012" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test013" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test013'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client013" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test014" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test014'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client014" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test015" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test015'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client015" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test016" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test016'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client016" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test017" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test017'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client017" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test018" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test018'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client018" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test019" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test019'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client019" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test020" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test020'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client020" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test021" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test021'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client021" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test022" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test022'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client022" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test023" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test023'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client023" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test024" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test024'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client024" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test025" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test025'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client025" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test026" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test026'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client026" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test027" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test027'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client027" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test028" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test028'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client001" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test029" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test029'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client002" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test030" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test030'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client003" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test031" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test031'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client004" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test032" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test032'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client005" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test033" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test033'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client006" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test034" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test034'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client007" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test035" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test035'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client008" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test036" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test036'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client009" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test037" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test037'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client010" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test038" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test038'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client011" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test039" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test039'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client012" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test040" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test040'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client013" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test041" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test041'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client014" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test042" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test042'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client015" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test043" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test043'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client016" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test044" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test044'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client017" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test045" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test045'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client018" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test046" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test046'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client019" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test047" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test047'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client020" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test048" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test048'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client021" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test049" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test049'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client022" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test050" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test050'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client023" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test051" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test051'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client024" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test052" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test052'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client025" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test053" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test053'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client026" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test054" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test054'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client027" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test055" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test055'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client001" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test056" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test056'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client002" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test057" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test057'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client003" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test058" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test058'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client004" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test059" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test059'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client005" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test060" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test060'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client006" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test061" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test061'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client007" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test062" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test062'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client008" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test063" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test063'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client009" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test064" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test064'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client010" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test065" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test065'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client011" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test066" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test066'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client012" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test067" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test067'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client013" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test068" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test068'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client014" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test069" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test069'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client015" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test070" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test070'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client016" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test071" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test071'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client017" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test072" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test072'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client018" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test073" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test073'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client019" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test074" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test074'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client020" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test075" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test075'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client021" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test076" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test076'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client022" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test077" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test077'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client023" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test078" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test078'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client024" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test079" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test079'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client025" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test080" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test080'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client026" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test081" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test081'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client027" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test082" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test082'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client001" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test083" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test083'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client002" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test084" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test084'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client003" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test085" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test085'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client004" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test086" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test086'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client005" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test087" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test087'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client006" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test088" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test088'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client007" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test089" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test089'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client008" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test090" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test090'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client009" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test091" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test091'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client010" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test092" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test092'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client011" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test093" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test093'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client012" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test094" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test094'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client013" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test095" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test095'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client014" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test096" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test096'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client015" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test097" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test097'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client016" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test098" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test098'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client017" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test099" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test099'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client018" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test100" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test100'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client019" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test101" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test101'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client020" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test102" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test102'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client021" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test103" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test103'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client022" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test104" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test104'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client023" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test105" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test105'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client024" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test106" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test106'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client025" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test107" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test107'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client026" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test108" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test108'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client027" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test109" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test109'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client001" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test110" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test110'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client002" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test111" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test111'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client003" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test112" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test112'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client004" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test113" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test113'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client005" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test114" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test114'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client006" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test115" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test115'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client007" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test116" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test116'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client008" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test117" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test117'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client009" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test118" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test118'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client010" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test119" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test119'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client011" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test120" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test120'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client012" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test121" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test121'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client013" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test122" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test122'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client014" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test123" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test123'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client015" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test124" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test124'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client016" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test125" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test125'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client017" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test126" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test126'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client018" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test127" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test127'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client019" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test128" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test128'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client020" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test129" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test129'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client021" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test130" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test130'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client022" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test131" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test131'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client023" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test132" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test132'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client024" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test133" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test133'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client025" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test134" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test134'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client026" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test135" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test135'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client027" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test136" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test136'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client028" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test137" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test137'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client029" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test138" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test138'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client030" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test139" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test139'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client028" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test140" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test140'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client029" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test141" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test141'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client030" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test142" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test142'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client028" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test143" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test143'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client029" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test144" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test144'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client030" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test145" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test145'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client028" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test146" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test146'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client029" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test147" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test147'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server02" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server01" runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client030" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test148" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test148'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client028" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test149" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test149'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client029" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawResources02_3_Test150" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawResources02_3 Test150'</description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Servers.Server03" runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawResources02Clients3.Client030" runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+</test_set>
Added: labs/jbosstm/trunk/qa/testdefs/jbossts-qa-rawsubtransactionawareresources01_1-testdefs.xml
===================================================================
--- labs/jbosstm/trunk/qa/testdefs/jbossts-qa-rawsubtransactionawareresources01_1-testdefs.xml (rev 0)
+++ labs/jbosstm/trunk/qa/testdefs/jbossts-qa-rawsubtransactionawareresources01_1-testdefs.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,277 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<test_set>
+ <default_timeout value="480"/>
+ <description>Raw Subtransaction Aware Resources Tests 01-1</description>
+
+
+ <test_group name="RawSubtransactionAwareResources01_1">
+ <task_declaration>
+ <task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" classname="org.jboss.jbossts.qa.Utils.EmptyObjectStore"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="com.arjuna.ats.arjuna.recovery.RecoveryManager"
+ classname="com.arjuna.ats.arjuna.recovery.RecoveryManager" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server04"
+ classname="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server04"
+ runner="JavaTaskRunner" type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients1.Client001"
+ classname="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients1.Client001"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore"
+ classname="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server01"
+ classname="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server01"
+ runner="JavaTaskRunner" type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients1.Client002"
+ classname="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients1.Client002"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients1.Client003"
+ classname="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients1.Client003"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients1.Client004"
+ classname="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients1.Client004"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients1.Client005"
+ classname="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients1.Client005"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients1.Client006"
+ classname="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients1.Client006"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ </task_declaration>
+ <test_declaration id="RawSubtransactionAwareResources01_1_Test001" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources01_1 Test001'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server04"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients1.Client001"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources01_1_Test002" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources01_1 Test002'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server01"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients1.Client002"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources01_1_Test003" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources01_1 Test003'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server01"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients1.Client003"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources01_1_Test004" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources01_1 Test004'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server01"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients1.Client004"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources01_1_Test005" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources01_1 Test005'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server01"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients1.Client005"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources01_1_Test006" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources01_1 Test006'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server01"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients1.Client006"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+</test_set>
Added: labs/jbosstm/trunk/qa/testdefs/jbossts-qa-rawsubtransactionawareresources01_2-testdefs.xml
===================================================================
--- labs/jbosstm/trunk/qa/testdefs/jbossts-qa-rawsubtransactionawareresources01_2-testdefs.xml (rev 0)
+++ labs/jbosstm/trunk/qa/testdefs/jbossts-qa-rawsubtransactionawareresources01_2-testdefs.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,469 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<test_set>
+ <default_timeout value="480"/>
+ <description>Raw Subtransaction Aware Resources Tests 01-2</description>
+
+
+ <test_group name="RawSubtransactionAwareResources01_2">
+ <task_declaration>
+ <task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" classname="org.jboss.jbossts.qa.Utils.EmptyObjectStore"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="com.arjuna.ats.arjuna.recovery.RecoveryManager"
+ classname="com.arjuna.ats.arjuna.recovery.RecoveryManager" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server02"
+ classname="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server02"
+ runner="JavaTaskRunner" type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients2.Client001"
+ classname="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients2.Client001"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore"
+ classname="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients2.Client002"
+ classname="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients2.Client002"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients2.Client003"
+ classname="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients2.Client003"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients2.Client004"
+ classname="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients2.Client004"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients2.Client005"
+ classname="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients2.Client005"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server01"
+ classname="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server01"
+ runner="JavaTaskRunner" type="expect_ready"/>
+
+ </task_declaration>
+ <test_declaration id="RawSubtransactionAwareResources01_2_Test001" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources01_2 Test001'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server02"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients2.Client001"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources01_2_Test002" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources01_2 Test002'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server02"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients2.Client002"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources01_2_Test003" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources01_2 Test003'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server02"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients2.Client003"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources01_2_Test004" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources01_2 Test004'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server02"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients2.Client004"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources01_2_Test005" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources01_2 Test005'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server02"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients2.Client005"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources01_2_Test006" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources01_2 Test006'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server01"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server01"
+ runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients2.Client001"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources01_2_Test007" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources01_2 Test007'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server01"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server01"
+ runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients2.Client002"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources01_2_Test008" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources01_2 Test008'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server01"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server01"
+ runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients2.Client003"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources01_2_Test009" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources01_2 Test009'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server01"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server01"
+ runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients2.Client004"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources01_2_Test010" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources01_2 Test010'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server01"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server01"
+ runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients2.Client005"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+</test_set>
Added: labs/jbosstm/trunk/qa/testdefs/jbossts-qa-rawsubtransactionawareresources01_3-testdefs.xml
===================================================================
--- labs/jbosstm/trunk/qa/testdefs/jbossts-qa-rawsubtransactionawareresources01_3-testdefs.xml (rev 0)
+++ labs/jbosstm/trunk/qa/testdefs/jbossts-qa-rawsubtransactionawareresources01_3-testdefs.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,1223 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<test_set>
+ <default_timeout value="480"/>
+ <description>Raw Subtransaction Aware Resources Tests 01-3</description>
+
+
+ <test_group name="RawSubtransactionAwareResources01_3">
+ <task_declaration>
+ <task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" classname="org.jboss.jbossts.qa.Utils.EmptyObjectStore"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="com.arjuna.ats.arjuna.recovery.RecoveryManager"
+ classname="com.arjuna.ats.arjuna.recovery.RecoveryManager" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server03"
+ classname="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server03"
+ runner="JavaTaskRunner" type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients3.Client001"
+ classname="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients3.Client001"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore"
+ classname="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients3.Client002"
+ classname="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients3.Client002"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients3.Client003"
+ classname="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients3.Client003"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients3.Client004"
+ classname="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients3.Client004"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients3.Client005"
+ classname="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients3.Client005"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server01"
+ classname="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server01"
+ runner="JavaTaskRunner" type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server02"
+ classname="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server02"
+ runner="JavaTaskRunner" type="expect_ready"/>
+
+ </task_declaration>
+ <test_declaration id="RawSubtransactionAwareResources01_3_Test001" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources01_3 Test001'
+ </description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server03"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients3.Client001"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources01_3_Test002" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources01_3 Test002'
+ </description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server03"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients3.Client002"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources01_3_Test003" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources01_3 Test003'
+ </description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server03"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients3.Client003"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources01_3_Test004" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources01_3 Test004'
+ </description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server03"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients3.Client004"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources01_3_Test005" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources01_3 Test005'
+ </description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server03"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients3.Client005"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources01_3_Test006" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources01_3 Test006'
+ </description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server01"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server02"
+ runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients3.Client001"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources01_3_Test007" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources01_3 Test007'
+ </description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server01"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server02"
+ runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients3.Client002"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources01_3_Test008" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources01_3 Test008'
+ </description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server01"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server02"
+ runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients3.Client003"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources01_3_Test009" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources01_3 Test009'
+ </description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server01"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server02"
+ runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients3.Client004"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources01_3_Test010" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources01_3 Test010'
+ </description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server01"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server02"
+ runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients3.Client005"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources01_3_Test011" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources01_3 Test011'
+ </description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server02"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server01"
+ runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients3.Client001"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources01_3_Test012" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources01_3 Test012'
+ </description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server02"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server01"
+ runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients3.Client002"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources01_3_Test013" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources01_3 Test013'
+ </description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server02"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server01"
+ runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients3.Client003"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources01_3_Test014" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources01_3 Test014'
+ </description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server02"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server01"
+ runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients3.Client004"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources01_3_Test015" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources01_3 Test015'
+ </description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server02"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server01"
+ runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients3.Client005"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources01_3_Test016" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources01_3 Test016'
+ </description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server02"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server01"
+ runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients3.Client001"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources01_3_Test017" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources01_3 Test017'
+ </description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server02"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server01"
+ runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients3.Client002"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources01_3_Test018" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources01_3 Test018'
+ </description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server02"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server01"
+ runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients3.Client003"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources01_3_Test019" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources01_3 Test019'
+ </description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server02"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server01"
+ runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients3.Client004"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources01_3_Test020" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources01_3 Test020'
+ </description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server02"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server01"
+ runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients3.Client005"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources01_3_Test021" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources01_3 Test021'
+ </description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server01"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server01"
+ runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server01"
+ runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients3.Client001"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources01_3_Test022" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources01_3 Test022'
+ </description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server01"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server01"
+ runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server01"
+ runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients3.Client002"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources01_3_Test023" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources01_3 Test023'
+ </description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server01"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server01"
+ runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server01"
+ runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients3.Client003"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources01_3_Test024" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources01_3 Test024'
+ </description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server01"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server01"
+ runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server01"
+ runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients3.Client004"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources01_3_Test025" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources01_3 Test025'
+ </description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server01"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server01"
+ runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers.Server01"
+ runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients3.Client005"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+</test_set>
Added: labs/jbosstm/trunk/qa/testdefs/jbossts-qa-rawsubtransactionawareresources02_1-testdefs.xml
===================================================================
--- labs/jbosstm/trunk/qa/testdefs/jbossts-qa-rawsubtransactionawareresources02_1-testdefs.xml (rev 0)
+++ labs/jbosstm/trunk/qa/testdefs/jbossts-qa-rawsubtransactionawareresources02_1-testdefs.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,277 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<test_set>
+ <default_timeout value="480"/>
+ <description>Raw Subtransaction Aware Resources Tests 02-1</description>
+
+
+ <test_group name="RawSubtransactionAwareResources02_1">
+ <task_declaration>
+ <task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" classname="org.jboss.jbossts.qa.Utils.EmptyObjectStore"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="com.arjuna.ats.arjuna.recovery.RecoveryManager"
+ classname="com.arjuna.ats.arjuna.recovery.RecoveryManager" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server04"
+ classname="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server04"
+ runner="JavaTaskRunner" type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients1.Client001"
+ classname="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients1.Client001"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore"
+ classname="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server01"
+ classname="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server01"
+ runner="JavaTaskRunner" type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients1.Client002"
+ classname="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients1.Client002"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients1.Client003"
+ classname="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients1.Client003"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients1.Client004"
+ classname="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients1.Client004"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients1.Client005"
+ classname="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients1.Client005"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients1.Client006"
+ classname="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients1.Client006"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ </task_declaration>
+ <test_declaration id="RawSubtransactionAwareResources02_1_Test001" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources02_1 Test001'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server04"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients1.Client001"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources02_1_Test002" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources02_1 Test002'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server01"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients1.Client002"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources02_1_Test003" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources02_1 Test003'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server01"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients1.Client003"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources02_1_Test004" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources02_1 Test004'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server01"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients1.Client004"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources02_1_Test005" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources02_1 Test005'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server01"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients1.Client005"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources02_1_Test006" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources02_1 Test006'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server01"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients1.Client006"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+</test_set>
Added: labs/jbosstm/trunk/qa/testdefs/jbossts-qa-rawsubtransactionawareresources02_2-testdefs.xml
===================================================================
--- labs/jbosstm/trunk/qa/testdefs/jbossts-qa-rawsubtransactionawareresources02_2-testdefs.xml (rev 0)
+++ labs/jbosstm/trunk/qa/testdefs/jbossts-qa-rawsubtransactionawareresources02_2-testdefs.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,469 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<test_set>
+ <default_timeout value="480"/>
+ <description>Raw Subtransaction Aware Resources Tests 02-2</description>
+
+
+ <test_group name="RawSubtransactionAwareResources02_2">
+ <task_declaration>
+ <task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" classname="org.jboss.jbossts.qa.Utils.EmptyObjectStore"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="com.arjuna.ats.arjuna.recovery.RecoveryManager"
+ classname="com.arjuna.ats.arjuna.recovery.RecoveryManager" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server02"
+ classname="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server02"
+ runner="JavaTaskRunner" type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients2.Client001"
+ classname="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients2.Client001"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore"
+ classname="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients2.Client002"
+ classname="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients2.Client002"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients2.Client003"
+ classname="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients2.Client003"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients2.Client004"
+ classname="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients2.Client004"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients2.Client005"
+ classname="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients2.Client005"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server01"
+ classname="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server01"
+ runner="JavaTaskRunner" type="expect_ready"/>
+
+ </task_declaration>
+ <test_declaration id="RawSubtransactionAwareResources02_2_Test001" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources02_2 Test001'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server02"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients2.Client001"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources02_2_Test002" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources02_2 Test002'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server02"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients2.Client002"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources02_2_Test003" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources02_2 Test003'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server02"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients2.Client003"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources02_2_Test004" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources02_2 Test004'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server02"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients2.Client004"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources02_2_Test005" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources02_2 Test005'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server02"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients2.Client005"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources02_2_Test006" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources02_2 Test006'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server01"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server01"
+ runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients2.Client001"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources02_2_Test007" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources02_2 Test007'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server01"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server01"
+ runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients2.Client002"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources02_2_Test008" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources02_2 Test008'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server01"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server01"
+ runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients2.Client003"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources02_2_Test009" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources02_2 Test009'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server01"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server01"
+ runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients2.Client004"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources02_2_Test010" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources02_2 Test010'
+ </description>
+ <configuration names_required="2"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server01"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server01"
+ runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients2.Client005"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+</test_set>
Added: labs/jbosstm/trunk/qa/testdefs/jbossts-qa-rawsubtransactionawareresources02_3-testdefs.xml
===================================================================
--- labs/jbosstm/trunk/qa/testdefs/jbossts-qa-rawsubtransactionawareresources02_3-testdefs.xml (rev 0)
+++ labs/jbosstm/trunk/qa/testdefs/jbossts-qa-rawsubtransactionawareresources02_3-testdefs.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,1223 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<test_set>
+ <default_timeout value="480"/>
+ <description>Raw Subtransaction Aware Resources Tests 02-3</description>
+
+
+ <test_group name="RawSubtransactionAwareResources02_3">
+ <task_declaration>
+ <task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" classname="org.jboss.jbossts.qa.Utils.EmptyObjectStore"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="com.arjuna.ats.arjuna.recovery.RecoveryManager"
+ classname="com.arjuna.ats.arjuna.recovery.RecoveryManager" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server03"
+ classname="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server03"
+ runner="JavaTaskRunner" type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients3.Client001"
+ classname="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients3.Client001"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore"
+ classname="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients3.Client002"
+ classname="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients3.Client002"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients3.Client003"
+ classname="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients3.Client003"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients3.Client004"
+ classname="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients3.Client004"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients3.Client005"
+ classname="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients3.Client005"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server01"
+ classname="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server01"
+ runner="JavaTaskRunner" type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server02"
+ classname="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server02"
+ runner="JavaTaskRunner" type="expect_ready"/>
+
+ </task_declaration>
+ <test_declaration id="RawSubtransactionAwareResources02_3_Test001" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources02_3 Test001'
+ </description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server03"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients3.Client001"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources02_3_Test002" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources02_3 Test002'
+ </description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server03"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients3.Client002"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources02_3_Test003" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources02_3 Test003'
+ </description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server03"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients3.Client003"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources02_3_Test004" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources02_3 Test004'
+ </description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server03"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients3.Client004"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources02_3_Test005" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources02_3 Test005'
+ </description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server03"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients3.Client005"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources02_3_Test006" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources02_3 Test006'
+ </description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server01"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server02"
+ runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients3.Client001"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources02_3_Test007" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources02_3 Test007'
+ </description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server01"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server02"
+ runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients3.Client002"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources02_3_Test008" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources02_3 Test008'
+ </description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server01"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server02"
+ runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients3.Client003"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources02_3_Test009" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources02_3 Test009'
+ </description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server01"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server02"
+ runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients3.Client004"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources02_3_Test010" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources02_3 Test010'
+ </description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server01"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server02"
+ runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients3.Client005"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources02_3_Test011" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources02_3 Test011'
+ </description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server02"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server01"
+ runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients3.Client001"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources02_3_Test012" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources02_3 Test012'
+ </description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server02"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server01"
+ runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients3.Client002"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources02_3_Test013" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources02_3 Test013'
+ </description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server02"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server01"
+ runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients3.Client003"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources02_3_Test014" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources02_3 Test014'
+ </description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server02"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server01"
+ runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients3.Client004"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources02_3_Test015" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources02_3 Test015'
+ </description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server02"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server01"
+ runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients3.Client005"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources02_3_Test016" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources02_3 Test016'
+ </description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server02"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server01"
+ runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients3.Client001"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources02_3_Test017" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources02_3 Test017'
+ </description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server02"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server01"
+ runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients3.Client002"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources02_3_Test018" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources02_3 Test018'
+ </description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server02"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server01"
+ runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients3.Client003"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources02_3_Test019" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources02_3 Test019'
+ </description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server02"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server01"
+ runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients3.Client004"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources02_3_Test020" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources02_3 Test020'
+ </description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server02"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server01"
+ runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients3.Client005"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources02_3_Test021" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources02_3 Test021'
+ </description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server01"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server01"
+ runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server01"
+ runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients3.Client001"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources02_3_Test022" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources02_3 Test022'
+ </description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server01"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server01"
+ runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server01"
+ runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients3.Client002"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources02_3_Test023" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources02_3 Test023'
+ </description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server01"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server01"
+ runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server01"
+ runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients3.Client003"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources02_3_Test024" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources02_3 Test024'
+ </description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server01"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server01"
+ runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server01"
+ runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients3.Client004"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="RawSubtransactionAwareResources02_3_Test025" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'RawSubtransactionAwareResources02_3 Test025'
+ </description>
+ <configuration names_required="3"/>
+ <action_list>
+ <perform_task id="org.jboss.jbossts.qa.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server01"
+ runtime_id="server1">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server01"
+ runtime_id="server2">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(2)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers.Server01"
+ runtime_id="server3">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients3.Client005"
+ runtime_id="client0">
+ <param>$(ORBFLAGS_1)</param>
+ <param>$(ORBFLAGS_2)</param>
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <terminate_task runtime_id="server3"/>
+ <terminate_task runtime_id="server2"/>
+ <terminate_task runtime_id="server1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ <param>$(1)</param>
+ <param>$(2)</param>
+ <param>$(3)</param>
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+</test_set>
Added: labs/jbosstm/trunk/qa/testdefs/jbossts-qa-txcore-testdefs.xml
===================================================================
--- labs/jbosstm/trunk/qa/testdefs/jbossts-qa-txcore-testdefs.xml (rev 0)
+++ labs/jbosstm/trunk/qa/testdefs/jbossts-qa-txcore-testdefs.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,7322 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<test_set>
+ <default_timeout value="480"/>
+ <description>Test Definitions merged</description>
+ <test_group name="UidTest">
+ <task_declaration>
+ <task id="org.jboss.jbossts.qa.ArjunaCore.Common.UidTest"
+ classname="org.jboss.jbossts.qa.ArjunaCore.Common.UidTest" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore"
+ classname="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore"
+ classname="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ </task_declaration>
+ <test_declaration id="Uid_Test001" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Uid Test001'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Common.UidTest" runtime_id="client0">
+ <param>1</param>
+ <param>100</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Uid_Test002" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Uid Test002'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Common.UidTest" runtime_id="client0">
+ <param>1</param>
+ <param>1000</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Uid_Test003" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Uid Test003'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Common.UidTest" runtime_id="client0">
+ <param>1</param>
+ <param>10000</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Uid_Test004" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Uid Test004'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Common.UidTest" runtime_id="client0">
+ <param>10</param>
+ <param>100</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Uid_Test005" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Uid Test005'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Common.UidTest" runtime_id="client0">
+ <param>10</param>
+ <param>800</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Uid_Test006" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Uid Test006'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Common.UidTest" runtime_id="client0">
+ <param>10</param>
+ <param>1000</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Uid_Test007" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Uid Test007'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Common.UidTest" runtime_id="client0">
+ <param>20</param>
+ <param>100</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Uid_Test008" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Uid Test008'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Common.UidTest" runtime_id="client0">
+ <param>20</param>
+ <param>1000</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Uid_Test009" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Uid Test009'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Common.UidTest" runtime_id="client0">
+ <param>20</param>
+ <param>2000</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Uid_Test010" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Uid Test010'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Common.UidTest" runtime_id="client0">
+ <param>25</param>
+ <param>100</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Uid_Test011" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Uid Test011'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Common.UidTest" runtime_id="client0">
+ <param>28</param>
+ <param>100</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Uid_Test012" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Uid Test012'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Common.UidTest" runtime_id="client0">
+ <param>30</param>
+ <param>50</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+ <test_group name="Utility">
+ <task_declaration>
+ <task id="org.jboss.jbossts.qa.ArjunaCore.Common.UtilityTest"
+ classname="org.jboss.jbossts.qa.ArjunaCore.Common.UtilityTest" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ </task_declaration>
+ <test_declaration id="Utility_Test001" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Utility Test001'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Common.UtilityTest" runtime_id="client0">
+ <param>int</param>
+ <param>0</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Utility_Test002" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Utility Test002'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Common.UtilityTest" runtime_id="client0">
+ <param>int</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Utility_Test003" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Utility Test003'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Common.UtilityTest" runtime_id="client0">
+ <param>int</param>
+ <param>50</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Utility_Test004" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Utility Test004'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Common.UtilityTest" runtime_id="client0">
+ <param>int</param>
+ <param>100</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Utility_Test005" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Utility Test005'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Common.UtilityTest" runtime_id="client0">
+ <param>int</param>
+ <param>250</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Utility_Test006" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Utility Test006'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Common.UtilityTest" runtime_id="client0">
+ <param>int</param>
+ <param>1000</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Utility_Test007" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Utility Test007'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Common.UtilityTest" runtime_id="client0">
+ <param>int</param>
+ <param>10000</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Utility_Test008" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Utility Test008'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Common.UtilityTest" runtime_id="client0">
+ <param>int</param>
+ <param>100000</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Utility_Test009" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Utility Test009'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Common.UtilityTest" runtime_id="client0">
+ <param>int</param>
+ <param>9999999</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Utility_Test010" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Utility Test010'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Common.UtilityTest" runtime_id="client0">
+ <param>int</param>
+ <param>max</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Utility_Test011" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Utility Test011'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Common.UtilityTest" runtime_id="client0">
+ <param>int</param>
+ <param>-1</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Utility_Test012" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Utility Test012'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Common.UtilityTest" runtime_id="client0">
+ <param>int</param>
+ <param>-10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Utility_Test013" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Utility Test013'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Common.UtilityTest" runtime_id="client0">
+ <param>int</param>
+ <param>-50</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Utility_Test014" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Utility Test014'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Common.UtilityTest" runtime_id="client0">
+ <param>int</param>
+ <param>-100</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Utility_Test015" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Utility Test015'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Common.UtilityTest" runtime_id="client0">
+ <param>int</param>
+ <param>-250</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Utility_Test016" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Utility Test016'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Common.UtilityTest" runtime_id="client0">
+ <param>int</param>
+ <param>-1000</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Utility_Test017" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Utility Test017'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Common.UtilityTest" runtime_id="client0">
+ <param>int</param>
+ <param>-10000</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Utility_Test018" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Utility Test018'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Common.UtilityTest" runtime_id="client0">
+ <param>int</param>
+ <param>-100000</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Utility_Test019" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Utility Test019'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Common.UtilityTest" runtime_id="client0">
+ <param>int</param>
+ <param>-9999999</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Utility_Test020" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Utility Test020'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Common.UtilityTest" runtime_id="client0">
+ <param>int</param>
+ <param>min</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Utility_Test021" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Utility Test021'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Common.UtilityTest" runtime_id="client0">
+ <param>long</param>
+ <param>0</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Utility_Test022" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Utility Test022'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Common.UtilityTest" runtime_id="client0">
+ <param>long</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Utility_Test023" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Utility Test023'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Common.UtilityTest" runtime_id="client0">
+ <param>long</param>
+ <param>50</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Utility_Test024" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Utility Test024'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Common.UtilityTest" runtime_id="client0">
+ <param>long</param>
+ <param>100</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Utility_Test025" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Utility Test025'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Common.UtilityTest" runtime_id="client0">
+ <param>long</param>
+ <param>250</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Utility_Test026" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Utility Test026'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Common.UtilityTest" runtime_id="client0">
+ <param>long</param>
+ <param>1000</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Utility_Test027" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Utility Test027'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Common.UtilityTest" runtime_id="client0">
+ <param>long</param>
+ <param>10000</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Utility_Test028" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Utility Test028'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Common.UtilityTest" runtime_id="client0">
+ <param>long</param>
+ <param>100000</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Utility_Test029" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Utility Test029'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Common.UtilityTest" runtime_id="client0">
+ <param>long</param>
+ <param>9999999</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Utility_Test030" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Utility Test030'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Common.UtilityTest" runtime_id="client0">
+ <param>long</param>
+ <param>max</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Utility_Test031" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Utility Test031'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Common.UtilityTest" runtime_id="client0">
+ <param>long</param>
+ <param>-1</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Utility_Test032" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Utility Test032'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Common.UtilityTest" runtime_id="client0">
+ <param>long</param>
+ <param>-10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Utility_Test033" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Utility Test033'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Common.UtilityTest" runtime_id="client0">
+ <param>long</param>
+ <param>-50</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Utility_Test034" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Utility Test034'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Common.UtilityTest" runtime_id="client0">
+ <param>long</param>
+ <param>-100</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Utility_Test035" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Utility Test035'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Common.UtilityTest" runtime_id="client0">
+ <param>long</param>
+ <param>-250</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Utility_Test036" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Utility Test036'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Common.UtilityTest" runtime_id="client0">
+ <param>long</param>
+ <param>-1000</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Utility_Test037" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Utility Test037'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Common.UtilityTest" runtime_id="client0">
+ <param>long</param>
+ <param>-10000</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Utility_Test038" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Utility Test038'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Common.UtilityTest" runtime_id="client0">
+ <param>long</param>
+ <param>-100000</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Utility_Test039" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Utility Test039'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Common.UtilityTest" runtime_id="client0">
+ <param>long</param>
+ <param>-9999999</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Utility_Test040" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Utility Test040'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Common.UtilityTest" runtime_id="client0">
+ <param>long</param>
+ <param>min</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+ <test_group name="TX-Stats">
+ <task_declaration>
+ <task id="org.jboss.jbossts.qa.ArjunaCore.Stats.Client001"
+ classname="org.jboss.jbossts.qa.ArjunaCore.Stats.Client001" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore"
+ classname="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.ArjunaCore.Stats.Client002"
+ classname="org.jboss.jbossts.qa.ArjunaCore.Stats.Client002" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.ArjunaCore.Stats.Client003"
+ classname="org.jboss.jbossts.qa.ArjunaCore.Stats.Client003" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.ArjunaCore.Stats.Client004"
+ classname="org.jboss.jbossts.qa.ArjunaCore.Stats.Client004" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ </task_declaration>
+ <test_declaration id="TX_Statistics_Test001" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'TX Statistics Test001'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Stats.Client001" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>1</param>
+ <jvm_param>-Dcom.arjuna.ats.arjuna.coordinator.enableStatistics=YES</jvm_param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="TX_Statistics_Test002" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'TX Statistics Test002'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Stats.Client001" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>2</param>
+ <jvm_param>-Dcom.arjuna.ats.arjuna.coordinator.enableStatistics=YES</jvm_param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="TX_Statistics_Test003" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'TX Statistics Test003'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Stats.Client001" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>3</param>
+ <jvm_param>-Dcom.arjuna.ats.arjuna.coordinator.enableStatistics=YES</jvm_param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="TX_Statistics_Test004" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'TX Statistics Test004'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Stats.Client001" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>4</param>
+ <jvm_param>-Dcom.arjuna.ats.arjuna.coordinator.enableStatistics=YES</jvm_param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="TX_Statistics_Test005" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'TX Statistics Test005'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Stats.Client002" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>1</param>
+ <jvm_param>-Dcom.arjuna.ats.arjuna.coordinator.enableStatistics=YES</jvm_param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="TX_Statistics_Test006" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'TX Statistics Test006'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Stats.Client002" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>2</param>
+ <jvm_param>-Dcom.arjuna.ats.arjuna.coordinator.enableStatistics=YES</jvm_param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="TX_Statistics_Test007" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'TX Statistics Test007'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Stats.Client002" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>3</param>
+ <jvm_param>-Dcom.arjuna.ats.arjuna.coordinator.enableStatistics=YES</jvm_param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="TX_Statistics_Test008" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'TX Statistics Test008'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Stats.Client002" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>4</param>
+ <jvm_param>-Dcom.arjuna.ats.arjuna.coordinator.enableStatistics=YES</jvm_param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="TX_Statistics_Test009" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'TX Statistics Test009'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Stats.Client003" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>1</param>
+ <jvm_param>-Dcom.arjuna.ats.arjuna.coordinator.enableStatistics=YES</jvm_param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="TX_Statistics_Test010" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'TX Statistics Test010'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Stats.Client003" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>2</param>
+ <jvm_param>-Dcom.arjuna.ats.arjuna.coordinator.enableStatistics=YES</jvm_param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="TX_Statistics_Test011" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'TX Statistics Test011'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Stats.Client003" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>3</param>
+ <jvm_param>-Dcom.arjuna.ats.arjuna.coordinator.enableStatistics=YES</jvm_param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="TX_Statistics_Test012" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'TX Statistics Test012'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Stats.Client003" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>4</param>
+ <jvm_param>-Dcom.arjuna.ats.arjuna.coordinator.enableStatistics=YES</jvm_param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="TX_Statistics_Test013" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'TX Statistics Test013'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Stats.Client004" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>1</param>
+ <jvm_param>-Dcom.arjuna.ats.arjuna.coordinator.enableStatistics=YES</jvm_param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="TX_Statistics_Test014" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'TX Statistics Test014'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Stats.Client004" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>2</param>
+ <jvm_param>-Dcom.arjuna.ats.arjuna.coordinator.enableStatistics=YES</jvm_param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="TX_Statistics_Test015" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'TX Statistics Test015'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Stats.Client004" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>3</param>
+ <jvm_param>-Dcom.arjuna.ats.arjuna.coordinator.enableStatistics=YES</jvm_param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="TX_Statistics_Test016" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'TX Statistics Test016'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Stats.Client004" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>4</param>
+ <jvm_param>-Dcom.arjuna.ats.arjuna.coordinator.enableStatistics=YES</jvm_param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+
+ <!-- DebugController is defunct, so tests disabled/obsolete
+ <test_group name="DebugController01">
+ <task_declaration>
+ <task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_set_get"
+ classname="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_set_get" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ </task_declaration>
+ <test_declaration id="DebugController_set_get_Test001" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_set_get Test001'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_set_get" runtime_id="client0">
+ <param>debug</param>
+ <param>NO_DEBUGGING</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_set_get_Test002" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_set_get Test002'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_set_get" runtime_id="client0">
+ <param>debug</param>
+ <param>CONSTRUCTORS</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_set_get_Test003" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_set_get Test003'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_set_get" runtime_id="client0">
+ <param>debug</param>
+ <param>DESTRUCTORS</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_set_get_Test004" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_set_get Test004'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_set_get" runtime_id="client0">
+ <param>debug</param>
+ <param>CONSTRUCT_AND_DESTRUCT</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_set_get_Test005" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_set_get Test005'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_set_get" runtime_id="client0">
+ <param>debug</param>
+ <param>FUNCTIONS</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_set_get_Test006" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_set_get Test006'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_set_get" runtime_id="client0">
+ <param>debug</param>
+ <param>OPERATORS</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_set_get_Test007" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_set_get Test007'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_set_get" runtime_id="client0">
+ <param>debug</param>
+ <param>FUNCS_AND_OPS</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_set_get_Test008" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_set_get Test008'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_set_get" runtime_id="client0">
+ <param>debug</param>
+ <param>ALL_NON_TRIVIAL</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_set_get_Test009" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_set_get Test009'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_set_get" runtime_id="client0">
+ <param>debug</param>
+ <param>TRIVIAL_FUNCS</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_set_get_Test010" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_set_get Test010'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_set_get" runtime_id="client0">
+ <param>debug</param>
+ <param>TRIVIAL_OPERATORS</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_set_get_Test011" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_set_get Test011'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_set_get" runtime_id="client0">
+ <param>debug</param>
+ <param>ALL_TRIVIAL</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_set_get_Test012" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_set_get Test012'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_set_get" runtime_id="client0">
+ <param>debug</param>
+ <param>ERROR_MESSAGES</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_set_get_Test013" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_set_get Test013'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_set_get" runtime_id="client0">
+ <param>debug</param>
+ <param>FULL_DEBUGGING</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_set_get_Test014" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_set_get Test014'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_set_get" runtime_id="client0">
+ <param>vis</param>
+ <param>VIS_PRIVATE</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_set_get_Test015" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_set_get Test015'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_set_get" runtime_id="client0">
+ <param>vis</param>
+ <param>VIS_PROTECTED</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_set_get_Test016" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_set_get Test016'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_set_get" runtime_id="client0">
+ <param>vis</param>
+ <param>VIS_PUBLIC</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_set_get_Test017" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_set_get Test017'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_set_get" runtime_id="client0">
+ <param>vis</param>
+ <param>VIS_PACKAGE</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_set_get_Test018" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_set_get Test018'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_set_get" runtime_id="client0">
+ <param>vis</param>
+ <param>VIS_ALL</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_set_get_Test019" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_set_get Test019'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_set_get" runtime_id="client0">
+ <param>fac</param>
+ <param>FAC_ATOMIC_ACTION</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_set_get_Test020" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_set_get Test020'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_set_get" runtime_id="client0">
+ <param>fac</param>
+ <param>FAC_CONCURRENCY_CONTROL</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_set_get_Test021" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_set_get Test021'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_set_get" runtime_id="client0">
+ <param>fac</param>
+ <param>FAC_BUFFER_MAN</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_set_get_Test022" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_set_get Test022'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_set_get" runtime_id="client0">
+ <param>fac</param>
+ <param>FAC_ABSTRACT_REC</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_set_get_Test023" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_set_get Test023'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_set_get" runtime_id="client0">
+ <param>fac</param>
+ <param>FAC_OBJECT_STORE</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_set_get_Test024" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_set_get Test024'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_set_get" runtime_id="client0">
+ <param>fac</param>
+ <param>FAC_STATE_MAN</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_set_get_Test025" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_set_get Test025'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_set_get" runtime_id="client0">
+ <param>fac</param>
+ <param>FAC_SHMEM</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_set_get_Test026" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_set_get Test026'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_set_get" runtime_id="client0">
+ <param>fac</param>
+ <param>FAC_GENERAL</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_set_get_Test027" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_set_get Test027'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_set_get" runtime_id="client0">
+ <param>fac</param>
+ <param>FAC_OTS</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_set_get_Test028" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_set_get Test028'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_set_get" runtime_id="client0">
+ <param>fac</param>
+ <param>FAC_POS</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_set_get_Test029" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_set_get Test029'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_set_get" runtime_id="client0">
+ <param>fac</param>
+ <param>FAC_OCCS</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_set_get_Test030" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_set_get Test030'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_set_get" runtime_id="client0">
+ <param>fac</param>
+ <param>FAC_CRASH_RECOVERY</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_set_get_Test031" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_set_get Test031'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_set_get" runtime_id="client0">
+ <param>fac</param>
+ <param>FAC_ORB_PORTABILITY</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_set_get_Test032" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_set_get Test032'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_set_get" runtime_id="client0">
+ <param>fac</param>
+ <param>FAC_THREADING</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_set_get_Test033" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_set_get Test033'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_set_get" runtime_id="client0">
+ <param>fac</param>
+ <param>FAC_FILTER</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_set_get_Test034" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_set_get Test034'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_set_get" runtime_id="client0">
+ <param>fac</param>
+ <param>FAC_JDBC</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_set_get_Test035" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_set_get Test035'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_set_get" runtime_id="client0">
+ <param>fac</param>
+ <param>FAC_LOCK_STORE</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_set_get_Test036" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_set_get Test036'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_set_get" runtime_id="client0">
+ <param>fac</param>
+ <param>FAC_JTA</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_set_get_Test037" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_set_get Test037'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_set_get" runtime_id="client0">
+ <param>fac</param>
+ <param>FAC_RECOVERY_NORMAL</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_set_get_Test038" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_set_get Test038'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_set_get" runtime_id="client0">
+ <param>fac</param>
+ <param>FAC_RESERVED1</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_set_get_Test039" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_set_get Test039'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_set_get" runtime_id="client0">
+ <param>fac</param>
+ <param>FAC_RESERVED2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_set_get_Test040" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_set_get Test040'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_set_get" runtime_id="client0">
+ <param>fac</param>
+ <param>FAC_RESERVED3</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_set_get_Test041" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_set_get Test041'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_set_get" runtime_id="client0">
+ <param>fac</param>
+ <param>FAC_RESERVED4</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_set_get_Test042" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_set_get Test042'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_set_get" runtime_id="client0">
+ <param>fac</param>
+ <param>FAC_USER1</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_set_get_Test043" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_set_get Test043'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_set_get" runtime_id="client0">
+ <param>fac</param>
+ <param>FAC_USER2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_set_get_Test044" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_set_get Test044'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_set_get" runtime_id="client0">
+ <param>fac</param>
+ <param>FAC_USER3</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_set_get_Test045" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_set_get Test045'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_set_get" runtime_id="client0">
+ <param>fac</param>
+ <param>FAC_USER4</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_set_get_Test046" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_set_get Test046'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_set_get" runtime_id="client0">
+ <param>fac</param>
+ <param>FAC_ALL</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_set_get_Test047" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_set_get Test047'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_set_get" runtime_id="client0">
+ <param>all</param>
+ <param>CONSTRUCTORS</param>
+ <param>VIS_PUBLIC</param>
+ <param>FAC_CONCURRENCY_CONTROL</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_set_get_Test048" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_set_get Test048'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_set_get" runtime_id="client0">
+ <param>all</param>
+ <param>OPERATORS</param>
+ <param>VIS_PACKAGE</param>
+ <param>FAC_OCCS</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_set_get_Test049" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_set_get Test049'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_set_get" runtime_id="client0">
+ <param>all</param>
+ <param>ALL_NON_TRIVIAL</param>
+ <param>VIS_PRIVATE</param>
+ <param>FAC_SHMEM</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_set_get_Test050" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_set_get Test050'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_set_get" runtime_id="client0">
+ <param>all</param>
+ <param>FULL_DEBUGGING</param>
+ <param>VIS_ALL</param>
+ <param>FAC_ALL</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+ <test_group name="DebugController02">
+ <task_declaration>
+ <task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_merge"
+ classname="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_merge" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ </task_declaration>
+ <test_declaration id="DebugController_merge_Test001" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_merge Test001'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_merge" runtime_id="client0">
+ <param>debug</param>
+ <param>NO_DEBUGGING</param>
+ <param>CONSTRUCTORS</param>
+ <param>CONSTRUCTORS</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_merge_Test002" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_merge Test002'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_merge" runtime_id="client0">
+ <param>debug</param>
+ <param>NO_DEBUGGING</param>
+ <param>DESTRUCTORS</param>
+ <param>DESTRUCTORS</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_merge_Test003" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_merge Test003'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_merge" runtime_id="client0">
+ <param>debug</param>
+ <param>NO_DEBUGGING</param>
+ <param>CONSTRUCT_AND_DESTRUCT</param>
+ <param>CONSTRUCT_AND_DESTRUCT</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_merge_Test004" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_merge Test004'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_merge" runtime_id="client0">
+ <param>debug</param>
+ <param>NO_DEBUGGING</param>
+ <param>FUNCTIONS</param>
+ <param>FUNCTIONS</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_merge_Test005" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_merge Test005'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_merge" runtime_id="client0">
+ <param>debug</param>
+ <param>NO_DEBUGGING</param>
+ <param>ALL_NON_TRIVIAL</param>
+ <param>ALL_NON_TRIVIAL</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_merge_Test006" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_merge Test006'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_merge" runtime_id="client0">
+ <param>debug</param>
+ <param>CONSTRUCTORS</param>
+ <param>DESTRUCTORS</param>
+ <param>CONSTRUCT_AND_DESTRUCT</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_merge_Test007" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_merge Test007'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_merge" runtime_id="client0">
+ <param>debug</param>
+ <param>CONSTRUCTORS</param>
+ <param>FUNCTIONS</param>
+ <param>FUNCTIONS</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_merge_Test008" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_merge Test008'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_merge" runtime_id="client0">
+ <param>debug</param>
+ <param>FUNCTIONS</param>
+ <param>OPERATORS</param>
+ <param>FUNCS_AND_OPS</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_merge_Test009" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_merge Test009'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_merge" runtime_id="client0">
+ <param>debug</param>
+ <param>CONSTRUCT_AND_DESTRUCT</param>
+ <param>FUNCS_AND_OPS</param>
+ <param>ALL_NON_TRIVIAL</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_merge_Test010" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_merge Test010'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_merge" runtime_id="client0">
+ <param>debug</param>
+ <param>TRIVIAL_FUNCS</param>
+ <param>TRIVIAL_OPERATORS</param>
+ <param>ALL_TRIVIAL</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_merge_Test011" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_merge Test011'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_merge" runtime_id="client0">
+ <param>vis</param>
+ <param>VIS_PRIVATE</param>
+ <param>VIS_PROTECTED</param>
+ <param>VIS_PROTECTED</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_merge_Test012" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_merge Test012'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_merge" runtime_id="client0">
+ <param>vis</param>
+ <param>VIS_PRIVATE</param>
+ <param>VIS_PUBLIC</param>
+ <param>VIS_PUBLIC</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_merge_Test013" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_merge Test013'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_merge" runtime_id="client0">
+ <param>vis</param>
+ <param>VIS_PRIVATE</param>
+ <param>VIS_PACKAGE</param>
+ <param>VIS_PACKAGE</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_merge_Test014" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_merge Test014'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_merge" runtime_id="client0">
+ <param>vis</param>
+ <param>VIS_PRIVATE</param>
+ <param>VIS_ALL</param>
+ <param>VIS_ALL</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_merge_Test015" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_merge Test015'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_merge" runtime_id="client0">
+ <param>vis</param>
+ <param>VIS_PROTECTED</param>
+ <param>VIS_PUBLIC</param>
+ <param>VIS_ALL</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_merge_Test016" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_merge Test016'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_merge" runtime_id="client0">
+ <param>fac</param>
+ <param>FAC_ATOMIC_ACTION</param>
+ <param>FAC_CONCURRENCY_CONTROL</param>
+ <param>FAC_CONCURRENCY_CONTROL</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_merge_Test017" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_merge Test017'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_merge" runtime_id="client0">
+ <param>fac</param>
+ <param>FAC_ATOMIC_ACTION</param>
+ <param>FAC_BUFFER_MAN</param>
+ <param>FAC_BUFFER_MAN</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_merge_Test018" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_merge Test018'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_merge" runtime_id="client0">
+ <param>fac</param>
+ <param>FAC_ATOMIC_ACTION</param>
+ <param>FAC_ABSTRACT_REC</param>
+ <param>FAC_ABSTRACT_REC</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_merge_Test019" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_merge Test019'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_merge" runtime_id="client0">
+ <param>fac</param>
+ <param>FAC_OBJECT_STORE</param>
+ <param>FAC_GENERAL</param>
+ <param>FAC_GENERAL</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="DebugController_merge_Test020" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'DebugController_merge Test020'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.Debug.DebugController_test_merge" runtime_id="client0">
+ <param>fac</param>
+ <param>FAC_STATE_MAN</param>
+ <param>FAC_GENERAL</param>
+ <param>FAC_OTS</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+ -->
+
+ <test_group name="AbstractRecord-BasicTests">
+ <task_declaration>
+ <task id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client.Client001"
+ classname="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client.Client001" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore"
+ classname="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client.Client002"
+ classname="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client.Client002" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ </task_declaration>
+ <test_declaration id="AbstractRecord_Test001" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AbstractRecord Test001'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client.Client001" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>1</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AbstractRecord_Test002" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AbstractRecord Test002'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client.Client001" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AbstractRecord_Test003" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AbstractRecord Test003'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client.Client001" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AbstractRecord_Test004" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AbstractRecord Test004'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client.Client001" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AbstractRecord_Test005" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AbstractRecord Test005'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client.Client002" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>1</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AbstractRecord_Test006" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AbstractRecord Test006'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client.Client002" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AbstractRecord_Test007" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AbstractRecord Test007'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client.Client002" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AbstractRecord_Test008" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AbstractRecord Test008'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client.Client002" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+ <test_group name="AbstractRecord-MemoryTests">
+ <task_declaration>
+ <task id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client.MemoryClient001"
+ classname="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client.MemoryClient001" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore"
+ classname="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client.MemoryClient002"
+ classname="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client.MemoryClient002" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ </task_declaration>
+ <test_declaration id="AbstractRecord_Memory_Test001" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AbstractRecord Memory Test001'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client.MemoryClient001"
+ runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>1</param>
+ <param>999</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AbstractRecord_Memory_Test002" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AbstractRecord Memory Test002'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client.MemoryClient001"
+ runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>2</param>
+ <param>999</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AbstractRecord_Memory_Test003" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AbstractRecord Memory Test003'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client.MemoryClient001"
+ runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>5</param>
+ <param>999</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AbstractRecord_Memory_Test004" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AbstractRecord Memory Test004'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client.MemoryClient001"
+ runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>10</param>
+ <param>999</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AbstractRecord_Memory_Test005" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AbstractRecord Memory Test005'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client.MemoryClient002"
+ runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>1</param>
+ <param>999</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AbstractRecord_Memory_Test006" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AbstractRecord Memory Test006'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client.MemoryClient002"
+ runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>2</param>
+ <param>999</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AbstractRecord_Memory_Test007" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AbstractRecord Memory Test007'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client.MemoryClient002"
+ runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>5</param>
+ <param>999</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AbstractRecord_Memory_Test008" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AbstractRecord Memory Test008'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client.MemoryClient002"
+ runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>10</param>
+ <param>999</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+ <test_group name="AbstractRecord-ThreadedTests">
+ <task_declaration>
+ <task id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client.WorkerClient001"
+ classname="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client.WorkerClient001" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore"
+ classname="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client.WorkerClient002"
+ classname="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client.WorkerClient002" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ </task_declaration>
+ <test_declaration id="AbstractRecord_Thread_Test001" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AbstractRecord Thread Test001'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client.WorkerClient001"
+ runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>1</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AbstractRecord_Thread_Test002" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AbstractRecord Thread Test002'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client.WorkerClient001"
+ runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>2</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AbstractRecord_Thread_Test003" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AbstractRecord Thread Test003'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client.WorkerClient001"
+ runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>5</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AbstractRecord_Thread_Test004" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AbstractRecord Thread Test004'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client.WorkerClient001"
+ runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>10</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AbstractRecord_Thread_Test005" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AbstractRecord Thread Test005'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client.WorkerClient001"
+ runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>1</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AbstractRecord_Thread_Test006" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AbstractRecord Thread Test006'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client.WorkerClient001"
+ runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>1</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AbstractRecord_Thread_Test007" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AbstractRecord Thread Test007'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client.WorkerClient001"
+ runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>1</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AbstractRecord_Thread_Test008" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AbstractRecord Thread Test008'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client.WorkerClient001"
+ runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>1</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AbstractRecord_Thread_Test009" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AbstractRecord Thread Test009'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client.WorkerClient001"
+ runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>1</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AbstractRecord_Thread_Test010" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AbstractRecord Thread Test010'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client.WorkerClient001"
+ runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>2</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AbstractRecord_Thread_Test011" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AbstractRecord Thread Test011'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client.WorkerClient001"
+ runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>5</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AbstractRecord_Thread_Test012" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AbstractRecord Thread Test012'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client.WorkerClient001"
+ runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>10</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AbstractRecord_Thread_Test013" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AbstractRecord Thread Test013'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client.WorkerClient002"
+ runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>1</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AbstractRecord_Thread_Test014" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AbstractRecord Thread Test014'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client.WorkerClient002"
+ runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>2</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AbstractRecord_Thread_Test015" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AbstractRecord Thread Test015'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client.WorkerClient002"
+ runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>5</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AbstractRecord_Thread_Test016" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AbstractRecord Thread Test016'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client.WorkerClient002"
+ runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>10</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AbstractRecord_Thread_Test017" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AbstractRecord Thread Test017'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client.WorkerClient002"
+ runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>1</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AbstractRecord_Thread_Test018" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AbstractRecord Thread Test018'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client.WorkerClient002"
+ runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>2</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AbstractRecord_Thread_Test019" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AbstractRecord Thread Test019'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client.WorkerClient002"
+ runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>5</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AbstractRecord_Thread_Test020" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AbstractRecord Thread Test020'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client.WorkerClient002"
+ runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>10</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AbstractRecord_Thread_Test021" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AbstractRecord Thread Test021'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client.WorkerClient002"
+ runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>1</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AbstractRecord_Thread_Test022" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AbstractRecord Thread Test022'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client.WorkerClient002"
+ runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>2</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AbstractRecord_Thread_Test023" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AbstractRecord Thread Test023'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client.WorkerClient002"
+ runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>5</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="AbstractRecord_Thread_Test024" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'AbstractRecord Thread Test024'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client.WorkerClient002"
+ runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>10</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+ <test_group name="LockManager-BasicTests">
+ <task_declaration>
+ <task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.Client001"
+ classname="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.Client001" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore"
+ classname="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.Client002"
+ classname="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.Client002" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.Client003"
+ classname="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.Client003" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.Client004"
+ classname="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.Client004" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ </task_declaration>
+ <test_declaration id="LockRecord_Test001" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Test001'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.Client001" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>1</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Test002" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Test002'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.Client001" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Test003" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Test003'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.Client001" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Test004" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Test004'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.Client001" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Test005" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Test005'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.Client002" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>1</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Test006" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Test006'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.Client002" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Test007" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Test007'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.Client002" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Test008" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Test008'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.Client002" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Test009" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Test009'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.Client003" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>1</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Test010" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Test010'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.Client003" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Test011" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Test011'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.Client003" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Test012" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Test012'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.Client003" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Test013" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Test013'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.Client004" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>1</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Test014" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Test014'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.Client004" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Test015" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Test015'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.Client002" runtime_id="client0">
+ <param>100</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Test016" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Test016'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.Client004" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+ <test_group name="LockManager-MemoryTests">
+ <task_declaration>
+ <task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.MemoryClient001"
+ classname="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.MemoryClient001" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore"
+ classname="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.MemoryClient002"
+ classname="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.MemoryClient002" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.MemoryClient003"
+ classname="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.MemoryClient003" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.MemoryClient004"
+ classname="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.MemoryClient004" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ </task_declaration>
+ <test_declaration id="LockRecord_Memory_Test001" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Memory Test001'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.MemoryClient001" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>1</param>
+ <param>999</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Memory_Test002" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Memory Test002'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.MemoryClient001" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>2</param>
+ <param>999</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Memory_Test003" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Memory Test003'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.MemoryClient001" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>5</param>
+ <param>999</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Memory_Test004" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Memory Test004'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.MemoryClient001" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>10</param>
+ <param>999</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Memory_Test005" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Memory Test005'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.MemoryClient002" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>1</param>
+ <param>999</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Memory_Test006" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Memory Test006'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.MemoryClient002" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>2</param>
+ <param>999</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Memory_Test007" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Memory Test007'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.MemoryClient002" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>5</param>
+ <param>999</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Memory_Test008" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Memory Test008'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.MemoryClient002" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>10</param>
+ <param>999</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Memory_Test009" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Memory Test009'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.MemoryClient003" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>1</param>
+ <param>999</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Memory_Test010" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Memory Test010'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.MemoryClient003" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>2</param>
+ <param>999</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Memory_Test011" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Memory Test011'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.MemoryClient003" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>5</param>
+ <param>999</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Memory_Test012" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Memory Test012'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.MemoryClient003" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>10</param>
+ <param>999</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Memory_Test013" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Memory Test013'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.MemoryClient004" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>1</param>
+ <param>999</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Memory_Test014" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Memory Test014'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.MemoryClient004" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>2</param>
+ <param>999</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Memory_Test015" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Memory Test015'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.MemoryClient004" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>5</param>
+ <param>999</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Memory_Test016" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Memory Test016'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.MemoryClient004" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>10</param>
+ <param>999</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+ <test_group name="LockManager-ThreadedTests-SingleNewLock">
+ <task_declaration>
+ <task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient001"
+ classname="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient001" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore"
+ classname="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient002"
+ classname="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient002" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient003"
+ classname="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient003" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient004"
+ classname="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient004" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ </task_declaration>
+ <test_declaration id="LockRecord_Thread_Test001" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test001'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient001" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>1</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test002" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test002'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient001" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>2</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test003" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test003'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient001" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>5</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test004" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test004'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient001" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>10</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test005" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test005'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient001" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>1</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test006" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test006'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient001" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>2</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test007" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test007'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient001" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>5</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test008" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test008'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient001" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>10</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test009" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test009'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient001" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>1</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test010" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test010'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient001" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>2</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test011" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test011'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient001" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>5</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test012" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test012'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient001" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>10</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test013" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test013'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient002" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>1</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test014" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test014'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient002" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>2</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test015" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test015'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient002" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>5</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test016" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test016'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient002" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>10</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test017" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test017'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient002" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>1</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test018" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test018'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient002" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>2</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test019" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test019'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient002" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>5</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test020" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test020'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient002" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>10</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test021" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test021'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient002" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>1</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test022" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test022'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient002" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>2</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test023" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test023'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient002" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>5</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test024" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test024'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient002" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>10</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test025" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test025'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient003" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>1</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test026" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test026'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient003" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>2</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test027" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test027'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient003" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>5</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test028" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test028'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient003" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>10</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test029" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test029'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient003" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>1</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test030" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test030'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient003" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>2</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test031" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test031'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient003" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>5</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test032" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test032'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient003" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>10</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test033" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test033'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient003" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>1</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test034" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test034'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient003" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>2</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test035" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test035'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient003" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>5</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test036" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test036'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient003" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>10</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test037" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test037'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient004" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>1</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test038" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test038'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient004" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>2</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test039" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test039'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient004" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>5</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test040" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test040'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient004" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>10</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test041" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test041'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient004" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>1</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test042" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test042'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient004" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>2</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test043" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test043'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient004" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>5</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test044" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test044'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient004" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>10</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test045" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test045'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient004" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>1</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test046" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test046'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient004" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>2</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test047" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test047'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient004" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>5</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test048" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test048'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient004" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>10</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+ <test_group name="LockManager-ThreadedTests-MultipleNewLock">
+ <task_declaration>
+ <task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient001"
+ classname="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient001" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore"
+ classname="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient002"
+ classname="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient002" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient003"
+ classname="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient003" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient004"
+ classname="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient004" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ </task_declaration>
+ <test_declaration id="LockRecord_Thread_Test001" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test001'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient001" runtime_id="client0">
+ <param>-newlock</param>
+ <param>$(CALLS)</param>
+ <param>1</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test002" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test002'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient001" runtime_id="client0">
+ <param>-newlock</param>
+ <param>$(CALLS)</param>
+ <param>2</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test003" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test003'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient001" runtime_id="client0">
+ <param>-newlock</param>
+ <param>$(CALLS)</param>
+ <param>5</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test004" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test004'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient001" runtime_id="client0">
+ <param>-newlock</param>
+ <param>$(CALLS)</param>
+ <param>10</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test005" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test005'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient001" runtime_id="client0">
+ <param>-newlock</param>
+ <param>$(CALLS)</param>
+ <param>1</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test006" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test006'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient001" runtime_id="client0">
+ <param>-newlock</param>
+ <param>$(CALLS)</param>
+ <param>2</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test007" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test007'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient001" runtime_id="client0">
+ <param>-newlock</param>
+ <param>$(CALLS)</param>
+ <param>5</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test008" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test008'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient001" runtime_id="client0">
+ <param>-newlock</param>
+ <param>$(CALLS)</param>
+ <param>10</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test009" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test009'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient001" runtime_id="client0">
+ <param>-newlock</param>
+ <param>$(CALLS)</param>
+ <param>1</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test010" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test010'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient001" runtime_id="client0">
+ <param>-newlock</param>
+ <param>$(CALLS)</param>
+ <param>2</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test011" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test011'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient001" runtime_id="client0">
+ <param>-newlock</param>
+ <param>$(CALLS)</param>
+ <param>5</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test012" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test012'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient001" runtime_id="client0">
+ <param>-newlock</param>
+ <param>$(CALLS)</param>
+ <param>10</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test013" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test013'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient002" runtime_id="client0">
+ <param>-newlock</param>
+ <param>$(CALLS)</param>
+ <param>1</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test014" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test014'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient002" runtime_id="client0">
+ <param>-newlock</param>
+ <param>$(CALLS)</param>
+ <param>2</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test015" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test015'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient002" runtime_id="client0">
+ <param>-newlock</param>
+ <param>$(CALLS)</param>
+ <param>5</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test016" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test016'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient002" runtime_id="client0">
+ <param>-newlock</param>
+ <param>$(CALLS)</param>
+ <param>10</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test017" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test017'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient002" runtime_id="client0">
+ <param>-newlock</param>
+ <param>$(CALLS)</param>
+ <param>1</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test018" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test018'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient002" runtime_id="client0">
+ <param>-newlock</param>
+ <param>$(CALLS)</param>
+ <param>2</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test019" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test019'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient002" runtime_id="client0">
+ <param>-newlock</param>
+ <param>$(CALLS)</param>
+ <param>5</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test020" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test020'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient002" runtime_id="client0">
+ <param>-newlock</param>
+ <param>$(CALLS)</param>
+ <param>10</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test021" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test021'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient002" runtime_id="client0">
+ <param>-newlock</param>
+ <param>$(CALLS)</param>
+ <param>1</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test022" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test022'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient002" runtime_id="client0">
+ <param>-newlock</param>
+ <param>$(CALLS)</param>
+ <param>2</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test023" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test023'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient002" runtime_id="client0">
+ <param>-newlock</param>
+ <param>$(CALLS)</param>
+ <param>5</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test024" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test024'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient002" runtime_id="client0">
+ <param>-newlock</param>
+ <param>$(CALLS)</param>
+ <param>10</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test025" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test025'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient003" runtime_id="client0">
+ <param>-newlock</param>
+ <param>$(CALLS)</param>
+ <param>1</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test026" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test026'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient003" runtime_id="client0">
+ <param>-newlock</param>
+ <param>$(CALLS)</param>
+ <param>2</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test027" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test027'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient003" runtime_id="client0">
+ <param>-newlock</param>
+ <param>$(CALLS)</param>
+ <param>5</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test028" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test028'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient003" runtime_id="client0">
+ <param>-newlock</param>
+ <param>$(CALLS)</param>
+ <param>10</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test029" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test029'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient003" runtime_id="client0">
+ <param>-newlock</param>
+ <param>$(CALLS)</param>
+ <param>1</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test030" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test030'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient003" runtime_id="client0">
+ <param>-newlock</param>
+ <param>$(CALLS)</param>
+ <param>2</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test031" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test031'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient003" runtime_id="client0">
+ <param>-newlock</param>
+ <param>$(CALLS)</param>
+ <param>5</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test032" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test032'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient003" runtime_id="client0">
+ <param>-newlock</param>
+ <param>$(CALLS)</param>
+ <param>10</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test033" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test033'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient003" runtime_id="client0">
+ <param>-newlock</param>
+ <param>$(CALLS)</param>
+ <param>1</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test034" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test034'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient003" runtime_id="client0">
+ <param>-newlock</param>
+ <param>$(CALLS)</param>
+ <param>2</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test035" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test035'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient003" runtime_id="client0">
+ <param>-newlock</param>
+ <param>$(CALLS)</param>
+ <param>5</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test036" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test036'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient003" runtime_id="client0">
+ <param>-newlock</param>
+ <param>$(CALLS)</param>
+ <param>10</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test037" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test037'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient004" runtime_id="client0">
+ <param>-newlock</param>
+ <param>$(CALLS)</param>
+ <param>1</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test038" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test038'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient004" runtime_id="client0">
+ <param>-newlock</param>
+ <param>$(CALLS)</param>
+ <param>2</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test039" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test039'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient004" runtime_id="client0">
+ <param>-newlock</param>
+ <param>$(CALLS)</param>
+ <param>5</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test040" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test040'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient004" runtime_id="client0">
+ <param>-newlock</param>
+ <param>$(CALLS)</param>
+ <param>10</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test041" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test041'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient004" runtime_id="client0">
+ <param>-newlock</param>
+ <param>$(CALLS)</param>
+ <param>1</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test042" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test042'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient004" runtime_id="client0">
+ <param>-newlock</param>
+ <param>$(CALLS)</param>
+ <param>2</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test043" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test043'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient004" runtime_id="client0">
+ <param>-newlock</param>
+ <param>$(CALLS)</param>
+ <param>5</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test044" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test044'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient004" runtime_id="client0">
+ <param>-newlock</param>
+ <param>$(CALLS)</param>
+ <param>10</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test045" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test045'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient004" runtime_id="client0">
+ <param>-newlock</param>
+ <param>$(CALLS)</param>
+ <param>1</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test046" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test046'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient004" runtime_id="client0">
+ <param>-newlock</param>
+ <param>$(CALLS)</param>
+ <param>2</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test047" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test047'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient004" runtime_id="client0">
+ <param>-newlock</param>
+ <param>$(CALLS)</param>
+ <param>5</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="LockRecord_Thread_Test048" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'LockRecord Thread Test048'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.client.WorkerClient004" runtime_id="client0">
+ <param>-newlock</param>
+ <param>$(CALLS)</param>
+ <param>10</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+ <test_group name="StateManager-BasicTests">
+ <task_declaration>
+ <task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.Client001"
+ classname="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.Client001" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore"
+ classname="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.Client002"
+ classname="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.Client002" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.Client003"
+ classname="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.Client003" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.Client004"
+ classname="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.Client004" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ </task_declaration>
+ <test_declaration id="StateManager_Test001" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Test001'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.Client001" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>1</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Test002" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Test002'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.Client001" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Test003" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Test003'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.Client001" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Test004" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Test004'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.Client001" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Test005" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Test005'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.Client002" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>1</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Test006" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Test006'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.Client002" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Test007" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Test007'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.Client002" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Test008" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Test008'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.Client002" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Test009" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Test009'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.Client003" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>1</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Test010" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Test010'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.Client003" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Test011" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Test011'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.Client003" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Test012" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Test012'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.Client003" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Test013" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Test013'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.Client004" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>1</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Test014" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Test014'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.Client004" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Test015" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Test015'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.Client004" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Test016" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Test016'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.Client004" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+ <test_group name="StateManager-MemoryTests">
+ <task_declaration>
+ <task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.MemoryClient001"
+ classname="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.MemoryClient001" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore"
+ classname="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.MemoryClient002"
+ classname="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.MemoryClient002" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.MemoryClient003"
+ classname="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.MemoryClient003" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.MemoryClient004"
+ classname="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.MemoryClient004" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ </task_declaration>
+ <test_declaration id="StateManager_Memory_Test001" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Memory Test001'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.MemoryClient001" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>1</param>
+ <param>999</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Memory_Test002" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Memory Test002'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.MemoryClient001" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>2</param>
+ <param>999</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Memory_Test003" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Memory Test003'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.MemoryClient001" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>5</param>
+ <param>999</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Memory_Test004" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Memory Test004'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.MemoryClient001" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>10</param>
+ <param>999</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Memory_Test005" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Memory Test005'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.MemoryClient002" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>1</param>
+ <param>999</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Memory_Test006" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Memory Test006'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.MemoryClient002" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>2</param>
+ <param>999</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Memory_Test007" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Memory Test007'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.MemoryClient002" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>5</param>
+ <param>999</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Memory_Test008" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Memory Test008'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.MemoryClient002" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>10</param>
+ <param>999</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Memory_Test009" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Memory Test009'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.MemoryClient003" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>1</param>
+ <param>999</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Memory_Test010" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Memory Test010'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.MemoryClient003" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>2</param>
+ <param>999</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Memory_Test011" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Memory Test011'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.MemoryClient003" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>5</param>
+ <param>999</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Memory_Test012" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Memory Test012'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.MemoryClient003" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>10</param>
+ <param>999</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Memory_Test013" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Memory Test013'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.MemoryClient004" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>1</param>
+ <param>999</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Memory_Test014" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Memory Test014'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.MemoryClient004" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>2</param>
+ <param>999</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Memory_Test015" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Memory Test015'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.MemoryClient004" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>5</param>
+ <param>999</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Memory_Test016" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Memory Test016'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.MemoryClient004" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>10</param>
+ <param>999</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+ <test_group name="StateManager-ThreadedTests">
+ <task_declaration>
+ <task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.WorkerClient001"
+ classname="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.WorkerClient001" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore"
+ classname="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.WorkerClient002"
+ classname="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.WorkerClient002" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.WorkerClient003"
+ classname="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.WorkerClient003" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.WorkerClient004"
+ classname="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.WorkerClient004" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ </task_declaration>
+ <test_declaration id="StateManager_Thread_Test001" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Thread Test001'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.WorkerClient001" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>1</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Thread_Test002" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Thread Test002'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.WorkerClient001" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>2</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Thread_Test003" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Thread Test003'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.WorkerClient001" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>5</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Thread_Test004" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Thread Test004'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.WorkerClient001" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>10</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Thread_Test005" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Thread Test005'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.WorkerClient001" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>1</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Thread_Test006" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Thread Test006'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.WorkerClient001" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>2</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Thread_Test007" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Thread Test007'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.WorkerClient001" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>5</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Thread_Test008" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Thread Test008'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.WorkerClient001" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>10</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Thread_Test009" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Thread Test009'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.WorkerClient001" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>1</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Thread_Test010" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Thread Test010'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.WorkerClient001" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>2</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Thread_Test011" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Thread Test011'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.WorkerClient001" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>5</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Thread_Test012" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Thread Test012'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.WorkerClient001" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>10</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Thread_Test013" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Thread Test013'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.WorkerClient002" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>1</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Thread_Test014" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Thread Test014'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.WorkerClient002" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>2</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Thread_Test015" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Thread Test015'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.WorkerClient002" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>5</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Thread_Test016" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Thread Test016'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.WorkerClient002" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>10</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Thread_Test017" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Thread Test017'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.WorkerClient002" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>1</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Thread_Test018" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Thread Test018'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.WorkerClient002" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>2</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Thread_Test019" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Thread Test019'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.WorkerClient002" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>5</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Thread_Test020" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Thread Test020'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.WorkerClient002" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>10</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Thread_Test021" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Thread Test021'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.WorkerClient002" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>1</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Thread_Test022" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Thread Test022'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.WorkerClient002" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>2</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Thread_Test023" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Thread Test023'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.WorkerClient002" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>5</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Thread_Test024" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Thread Test024'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.WorkerClient002" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>10</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Thread_Test025" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Thread Test025'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.WorkerClient003" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>1</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Thread_Test026" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Thread Test026'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.WorkerClient003" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>2</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Thread_Test027" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Thread Test027'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.WorkerClient003" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>5</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Thread_Test028" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Thread Test028'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.WorkerClient003" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>10</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Thread_Test029" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Thread Test029'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.WorkerClient003" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>1</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Thread_Test030" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Thread Test030'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.WorkerClient003" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>2</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Thread_Test031" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Thread Test031'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.WorkerClient003" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>5</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Thread_Test032" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Thread Test032'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.WorkerClient003" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>10</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Thread_Test033" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Thread Test033'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.WorkerClient003" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>1</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Thread_Test034" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Thread Test034'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.WorkerClient003" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>2</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Thread_Test035" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Thread Test035'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.WorkerClient003" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>5</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Thread_Test036" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Thread Test036'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.WorkerClient003" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>10</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Thread_Test037" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Thread Test037'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.WorkerClient004" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>1</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Thread_Test038" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Thread Test038'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.WorkerClient004" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>2</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Thread_Test039" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Thread Test039'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.WorkerClient004" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>5</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Thread_Test040" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Thread Test040'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.WorkerClient004" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>10</param>
+ <param>2</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Thread_Test041" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Thread Test041'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.WorkerClient004" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>1</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Thread_Test042" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Thread Test042'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.WorkerClient004" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>2</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Thread_Test043" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Thread Test043'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.WorkerClient004" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>5</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Thread_Test044" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Thread Test044'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.WorkerClient004" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>10</param>
+ <param>5</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Thread_Test045" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Thread Test045'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.WorkerClient004" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>1</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Thread_Test046" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Thread Test046'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.WorkerClient004" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>2</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Thread_Test047" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Thread Test047'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.WorkerClient004" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>5</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="StateManager_Thread_Test048" descriptive_name="Converted by QA-to-DTF" author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'StateManager Thread Test048'</description>
+ <configuration/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.client.WorkerClient004" runtime_id="client0">
+ <param>$(CALLS)</param>
+ <param>10</param>
+ <param>10</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+ <test_group name="AbstractRecord-Crash">
+ <task_declaration>
+ <task id="com.arjuna.ats.arjuna.recovery.RecoveryManager"
+ classname="com.arjuna.ats.arjuna.recovery.RecoveryManager" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.client.Client001b"
+ classname="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.client.Client001b"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.client.Client001a"
+ classname="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.client.Client001a"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore"
+ classname="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore"
+ classname="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ </task_declaration>
+ <test_declaration id="Recovery_(Crash)_AbstractRecord_Test001" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Recovery (Crash) AbstractRecord Test001'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <start_task
+ id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.client.Client001b"
+ runtime_id="client0">
+ <jvm_param>
+ -Dcom.arjuna.ats.internal.arjuna.inventory.staticInventoryImple=org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.setup.AddUserDefFirst0
+ </jvm_param>
+ <param>100</param>
+ <param>1</param>
+ <param>1</param>
+ <param>0</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <start_task
+ id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.client.Client001a"
+ runtime_id="client1">
+ <jvm_param>
+ -Dcom.arjuna.ats.internal.arjuna.inventory.staticInventoryImple=org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.setup.AddUserDefFirst0
+ </jvm_param>
+ <param>100</param>
+ <param>1</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Recovery_(Crash)_AbstractRecord_Test002" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Recovery (Crash) AbstractRecord Test002'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <start_task
+ id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.client.Client001b"
+ runtime_id="client0">
+ <jvm_param>
+ -Dcom.arjuna.ats.internal.arjuna.inventory.staticInventoryImple=org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.setup.AddUserDefFirst0
+ </jvm_param>
+ <param>100</param>
+ <param>2</param>
+ <param>1</param>
+ <param>0</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <start_task
+ id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.client.Client001a"
+ runtime_id="client1">
+ <jvm_param>
+ -Dcom.arjuna.ats.internal.arjuna.inventory.staticInventoryImple=org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.setup.AddUserDefFirst0
+ </jvm_param>
+ <param>100</param>
+ <param>2</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Recovery_(Crash)_AbstractRecord_Test003" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Recovery (Crash) AbstractRecord Test003'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <start_task
+ id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.client.Client001b"
+ runtime_id="client0">
+ <jvm_param>
+ -Dcom.arjuna.ats.internal.arjuna.inventory.staticInventoryImple=org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.setup.AddUserDefFirst0
+ </jvm_param>
+ <param>100</param>
+ <param>5</param>
+ <param>1</param>
+ <param>0</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <start_task
+ id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.client.Client001a"
+ runtime_id="client1">
+ <jvm_param>
+ -Dcom.arjuna.ats.internal.arjuna.inventory.staticInventoryImple=org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.setup.AddUserDefFirst0
+ </jvm_param>
+ <param>100</param>
+ <param>5</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Recovery_(Crash)_AbstractRecord_Test004" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Recovery (Crash) AbstractRecord Test004'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <start_task
+ id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.client.Client001b"
+ runtime_id="client0">
+ <jvm_param>
+ -Dcom.arjuna.ats.internal.arjuna.inventory.staticInventoryImple=org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.setup.AddUserDefFirst0
+ </jvm_param>
+ <param>100</param>
+ <param>10</param>
+ <param>1</param>
+ <param>0</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <start_task
+ id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.client.Client001a"
+ runtime_id="client1">
+ <jvm_param>
+ -Dcom.arjuna.ats.internal.arjuna.inventory.staticInventoryImple=org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.setup.AddUserDefFirst0
+ </jvm_param>
+ <param>100</param>
+ <param>10</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+ <test_group name="AbstractRecord-Fail">
+ <task_declaration>
+ <task id="com.arjuna.ats.arjuna.recovery.RecoveryManager"
+ classname="com.arjuna.ats.arjuna.recovery.RecoveryManager" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.client.Client001"
+ classname="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.client.Client001"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore"
+ classname="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore"
+ classname="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ </task_declaration>
+ <test_declaration id="Recovery_(Fail)_AbstractRecord_Test001" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Recovery (Fail) AbstractRecord Test001'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.client.Client001"
+ runtime_id="client0">
+ <param>100</param>
+ <param>2</param>
+ <param>1</param>
+ <param>1</param>
+ <param>$(1)</param>
+ <jvm_param>
+ -Dcom.arjuna.ats.internal.arjuna.inventory.staticInventoryImple=org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.setup.AddUserDefFirst1
+ </jvm_param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Recovery_(Fail)_AbstractRecord_Test002" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Recovery (Fail) AbstractRecord Test002'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.client.Client001"
+ runtime_id="client0">
+ <param>100</param>
+ <param>3</param>
+ <param>1</param>
+ <param>1</param>
+ <param>$(1)</param>
+ <jvm_param>
+ -Dcom.arjuna.ats.internal.arjuna.inventory.staticInventoryImple=org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.setup.AddUserDefFirst1
+ </jvm_param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Recovery_(Fail)_AbstractRecord_Test003" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Recovery (Fail) AbstractRecord Test003'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.client.Client001"
+ runtime_id="client0">
+ <param>100</param>
+ <param>5</param>
+ <param>1</param>
+ <param>1</param>
+ <param>$(1)</param>
+ <jvm_param>
+ -Dcom.arjuna.ats.internal.arjuna.inventory.staticInventoryImple=org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.setup.AddUserDefFirst1
+ </jvm_param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Recovery_(Fail)_AbstractRecord_Test004" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Recovery (Fail) AbstractRecord Test004'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.client.Client001"
+ runtime_id="client0">
+ <param>100</param>
+ <param>10</param>
+ <param>1</param>
+ <param>1</param>
+ <param>$(1)</param>
+ <jvm_param>
+ -Dcom.arjuna.ats.internal.arjuna.inventory.staticInventoryImple=org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.setup.AddUserDefFirst1
+ </jvm_param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+ <test_group name="AbstractRecord-Restore">
+ <task_declaration>
+ <task id="com.arjuna.ats.arjuna.recovery.RecoveryManager"
+ classname="com.arjuna.ats.arjuna.recovery.RecoveryManager" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.client.RestoreClient001b"
+ classname="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.client.RestoreClient001b"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.client.RestoreClient001a"
+ classname="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.client.RestoreClient001a"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore"
+ classname="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore"
+ classname="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.RemoveObjectUidStore"
+ classname="org.jboss.jbossts.qa.Utils.RemoveObjectUidStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ </task_declaration>
+ <test_declaration id="Recovery_(Restore)_AbstractRecord_Test001" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Recovery (Restore) AbstractRecord Test001'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.client.RestoreClient001b"
+ runtime_id="client0">
+ <param>100</param>
+ <param>1</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.client.RestoreClient001a"
+ runtime_id="client1">
+ <param>100</param>
+ <param>1</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveObjectUidStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Recovery_(Restore)_AbstractRecord_Test002" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Recovery (Restore) AbstractRecord Test002'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.client.RestoreClient001b"
+ runtime_id="client0">
+ <param>100</param>
+ <param>2</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.client.RestoreClient001a"
+ runtime_id="client1">
+ <param>100</param>
+ <param>2</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveObjectUidStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Recovery_(Restore)_AbstractRecord_Test003" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Recovery (Restore) AbstractRecord Test003'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.client.RestoreClient001b"
+ runtime_id="client0">
+ <param>100</param>
+ <param>5</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.client.RestoreClient001a"
+ runtime_id="client1">
+ <param>100</param>
+ <param>5</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveObjectUidStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Recovery_(Restore)_AbstractRecord_Test004" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Recovery (Restore) AbstractRecord Test004'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.client.RestoreClient001b"
+ runtime_id="client0">
+ <param>100</param>
+ <param>10</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.client.RestoreClient001a"
+ runtime_id="client1">
+ <param>100</param>
+ <param>10</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveObjectUidStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+ <test_group name="LockManager-Crash">
+ <task_declaration>
+ <task id="com.arjuna.ats.arjuna.recovery.RecoveryManager"
+ classname="com.arjuna.ats.arjuna.recovery.RecoveryManager" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.CrashRecovery.client.Client001b"
+ classname="org.jboss.jbossts.qa.ArjunaCore.LockManager.CrashRecovery.client.Client001b"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.CrashRecovery.client.Client001a"
+ classname="org.jboss.jbossts.qa.ArjunaCore.LockManager.CrashRecovery.client.Client001a"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore"
+ classname="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore"
+ classname="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.RemoveObjectUidStore"
+ classname="org.jboss.jbossts.qa.Utils.RemoveObjectUidStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.CrashRecovery.client.Client002b"
+ classname="org.jboss.jbossts.qa.ArjunaCore.LockManager.CrashRecovery.client.Client002b"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.CrashRecovery.client.Client002a"
+ classname="org.jboss.jbossts.qa.ArjunaCore.LockManager.CrashRecovery.client.Client002a"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ </task_declaration>
+ <test_declaration id="Recovery_(Crash)_LockManager_Test001" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Recovery (Crash) LockManager Test001'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.CrashRecovery.client.Client001b"
+ runtime_id="client0">
+ <param>100</param>
+ <param>1</param>
+ <param>1</param>
+ <param>0</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.CrashRecovery.client.Client001a"
+ runtime_id="client1">
+ <param>100</param>
+ <param>1</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveObjectUidStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Recovery_(Crash)_LockManager_Test002" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Recovery (Crash) LockManager Test002'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.CrashRecovery.client.Client001b"
+ runtime_id="client0">
+ <param>100</param>
+ <param>2</param>
+ <param>1</param>
+ <param>0</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.CrashRecovery.client.Client001a"
+ runtime_id="client1">
+ <param>100</param>
+ <param>2</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveObjectUidStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Recovery_(Crash)_LockManager_Test003" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Recovery (Crash) LockManager Test003'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.CrashRecovery.client.Client001b"
+ runtime_id="client0">
+ <param>100</param>
+ <param>5</param>
+ <param>1</param>
+ <param>0</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.CrashRecovery.client.Client001a"
+ runtime_id="client1">
+ <param>100</param>
+ <param>5</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveObjectUidStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Recovery_(Crash)_LockManager_Test004" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Recovery (Crash) LockManager Test004'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.CrashRecovery.client.Client001b"
+ runtime_id="client0">
+ <param>100</param>
+ <param>10</param>
+ <param>1</param>
+ <param>0</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.CrashRecovery.client.Client001a"
+ runtime_id="client1">
+ <param>100</param>
+ <param>10</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveObjectUidStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Recovery_(Crash)_LockManager_Test005" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Recovery (Crash) LockManager Test005'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.CrashRecovery.client.Client002b"
+ runtime_id="client0">
+ <param>100</param>
+ <param>1</param>
+ <param>3</param>
+ <param>0</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.CrashRecovery.client.Client002a"
+ runtime_id="client1">
+ <param>100</param>
+ <param>1</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveObjectUidStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Recovery_(Crash)_LockManager_Test006" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Recovery (Crash) LockManager Test006'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.CrashRecovery.client.Client002b"
+ runtime_id="client0">
+ <param>100</param>
+ <param>2</param>
+ <param>3</param>
+ <param>0</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.CrashRecovery.client.Client002a"
+ runtime_id="client1">
+ <param>100</param>
+ <param>2</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveObjectUidStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Recovery_(Crash)_LockManager_Test007" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Recovery (Crash) LockManager Test007'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.CrashRecovery.client.Client002b"
+ runtime_id="client0">
+ <param>100</param>
+ <param>5</param>
+ <param>3</param>
+ <param>0</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.CrashRecovery.client.Client002a"
+ runtime_id="client1">
+ <param>100</param>
+ <param>5</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveObjectUidStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Recovery_(Crash)_LockManager_Test008" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Recovery (Crash) LockManager Test008'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.CrashRecovery.client.Client002b"
+ runtime_id="client0">
+ <param>100</param>
+ <param>10</param>
+ <param>3</param>
+ <param>0</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.CrashRecovery.client.Client002a"
+ runtime_id="client1">
+ <param>100</param>
+ <param>10</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveObjectUidStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+ <test_group name="LockManager-Restore">
+ <task_declaration>
+ <task id="com.arjuna.ats.arjuna.recovery.RecoveryManager"
+ classname="com.arjuna.ats.arjuna.recovery.RecoveryManager" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.CrashRecovery.client.RestoreClient001b"
+ classname="org.jboss.jbossts.qa.ArjunaCore.LockManager.CrashRecovery.client.RestoreClient001b"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.CrashRecovery.client.RestoreClient001a"
+ classname="org.jboss.jbossts.qa.ArjunaCore.LockManager.CrashRecovery.client.RestoreClient001a"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore"
+ classname="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore"
+ classname="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.RemoveObjectUidStore"
+ classname="org.jboss.jbossts.qa.Utils.RemoveObjectUidStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ </task_declaration>
+ <test_declaration id="Recovery_(Restore)_LockManager_Test001" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Recovery (Restore) LockManager Test001'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.CrashRecovery.client.RestoreClient001b"
+ runtime_id="client0">
+ <param>100</param>
+ <param>1</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.CrashRecovery.client.RestoreClient001a"
+ runtime_id="client1">
+ <param>100</param>
+ <param>1</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveObjectUidStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Recovery_(Restore)_LockManager_Test002" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Recovery (Restore) LockManager Test002'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.CrashRecovery.client.RestoreClient001b"
+ runtime_id="client0">
+ <param>100</param>
+ <param>2</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.CrashRecovery.client.RestoreClient001a"
+ runtime_id="client1">
+ <param>100</param>
+ <param>2</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveObjectUidStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Recovery_(Restore)_LockManager_Test003" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Recovery (Restore) LockManager Test003'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.CrashRecovery.client.RestoreClient001b"
+ runtime_id="client0">
+ <param>100</param>
+ <param>5</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.CrashRecovery.client.RestoreClient001a"
+ runtime_id="client1">
+ <param>100</param>
+ <param>5</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveObjectUidStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Recovery_(Restore)_LockManager_Test004" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Recovery (Restore) LockManager Test004'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.CrashRecovery.client.RestoreClient001b"
+ runtime_id="client0">
+ <param>100</param>
+ <param>10</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.LockManager.CrashRecovery.client.RestoreClient001a"
+ runtime_id="client1">
+ <param>100</param>
+ <param>10</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveObjectUidStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+ <test_group name="StateManager-Crash">
+ <task_declaration>
+ <task id="com.arjuna.ats.arjuna.recovery.RecoveryManager"
+ classname="com.arjuna.ats.arjuna.recovery.RecoveryManager" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.CrashRecovery.client.Client001b"
+ classname="org.jboss.jbossts.qa.ArjunaCore.StateManager.CrashRecovery.client.Client001b"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.CrashRecovery.client.Client001a"
+ classname="org.jboss.jbossts.qa.ArjunaCore.StateManager.CrashRecovery.client.Client001a"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore"
+ classname="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore"
+ classname="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.RemoveObjectUidStore"
+ classname="org.jboss.jbossts.qa.Utils.RemoveObjectUidStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.CrashRecovery.client.Client002b"
+ classname="org.jboss.jbossts.qa.ArjunaCore.StateManager.CrashRecovery.client.Client002b"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.CrashRecovery.client.Client002a"
+ classname="org.jboss.jbossts.qa.ArjunaCore.StateManager.CrashRecovery.client.Client002a"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ </task_declaration>
+ <test_declaration id="Recovery_(Crash)_StateManager_Test001" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Recovery (Crash) StateManager Test001'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.CrashRecovery.client.Client001b"
+ runtime_id="client0">
+ <param>100</param>
+ <param>1</param>
+ <param>1</param>
+ <param>0</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.CrashRecovery.client.Client001a"
+ runtime_id="client1">
+ <param>100</param>
+ <param>1</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveObjectUidStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Recovery_(Crash)_StateManager_Test002" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Recovery (Crash) StateManager Test002'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.CrashRecovery.client.Client001b"
+ runtime_id="client0">
+ <param>100</param>
+ <param>2</param>
+ <param>1</param>
+ <param>0</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.CrashRecovery.client.Client001a"
+ runtime_id="client1">
+ <param>100</param>
+ <param>2</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveObjectUidStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Recovery_(Crash)_StateManager_Test003" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Recovery (Crash) StateManager Test003'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.CrashRecovery.client.Client001b"
+ runtime_id="client0">
+ <param>100</param>
+ <param>5</param>
+ <param>1</param>
+ <param>0</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.CrashRecovery.client.Client001a"
+ runtime_id="client1">
+ <param>100</param>
+ <param>5</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveObjectUidStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Recovery_(Crash)_StateManager_Test004" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Recovery (Crash) StateManager Test004'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.CrashRecovery.client.Client001b"
+ runtime_id="client0">
+ <param>100</param>
+ <param>10</param>
+ <param>1</param>
+ <param>0</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.CrashRecovery.client.Client001a"
+ runtime_id="client1">
+ <param>100</param>
+ <param>10</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveObjectUidStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Recovery_(Crash)_StateManager_Test005" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Recovery (Crash) StateManager Test005'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.CrashRecovery.client.Client002b"
+ runtime_id="client0">
+ <param>100</param>
+ <param>1</param>
+ <param>3</param>
+ <param>0</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.CrashRecovery.client.Client002a"
+ runtime_id="client1">
+ <param>100</param>
+ <param>1</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveObjectUidStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Recovery_(Crash)_StateManager_Test006" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Recovery (Crash) StateManager Test006'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.CrashRecovery.client.Client002b"
+ runtime_id="client0">
+ <param>100</param>
+ <param>2</param>
+ <param>3</param>
+ <param>0</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.CrashRecovery.client.Client002a"
+ runtime_id="client1">
+ <param>100</param>
+ <param>2</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveObjectUidStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Recovery_(Crash)_StateManager_Test007" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Recovery (Crash) StateManager Test007'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.CrashRecovery.client.Client002b"
+ runtime_id="client0">
+ <param>100</param>
+ <param>5</param>
+ <param>3</param>
+ <param>0</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.CrashRecovery.client.Client002a"
+ runtime_id="client1">
+ <param>100</param>
+ <param>5</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveObjectUidStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Recovery_(Crash)_StateManager_Test008" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Recovery (Crash) StateManager Test008'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.CrashRecovery.client.Client002b"
+ runtime_id="client0">
+ <param>100</param>
+ <param>10</param>
+ <param>3</param>
+ <param>0</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.CrashRecovery.client.Client002a"
+ runtime_id="client1">
+ <param>100</param>
+ <param>10</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveObjectUidStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+ <test_group name="StateManager-Restore">
+ <task_declaration>
+ <task id="com.arjuna.ats.arjuna.recovery.RecoveryManager"
+ classname="com.arjuna.ats.arjuna.recovery.RecoveryManager" runner="JavaTaskRunner"
+ type="expect_ready"/>
+
+ <task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.CrashRecovery.client.RestoreClient001b"
+ classname="org.jboss.jbossts.qa.ArjunaCore.StateManager.CrashRecovery.client.RestoreClient001b"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.CrashRecovery.client.RestoreClient001a"
+ classname="org.jboss.jbossts.qa.ArjunaCore.StateManager.CrashRecovery.client.RestoreClient001a"
+ runner="JavaTaskRunner" type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore"
+ classname="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore"
+ classname="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ <task id="org.jboss.jbossts.qa.Utils.RemoveObjectUidStore"
+ classname="org.jboss.jbossts.qa.Utils.RemoveObjectUidStore" runner="JavaTaskRunner"
+ type="expect_pass_fail"/>
+
+ </task_declaration>
+ <test_declaration id="Recovery_(Restore)_StateManager_Test001" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Recovery (Restore) StateManager Test001'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.CrashRecovery.client.RestoreClient001b"
+ runtime_id="client0">
+ <param>100</param>
+ <param>1</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.CrashRecovery.client.RestoreClient001a"
+ runtime_id="client1">
+ <param>100</param>
+ <param>1</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveObjectUidStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Recovery_(Restore)_StateManager_Test002" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Recovery (Restore) StateManager Test002'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.CrashRecovery.client.RestoreClient001b"
+ runtime_id="client0">
+ <param>100</param>
+ <param>2</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.CrashRecovery.client.RestoreClient001a"
+ runtime_id="client1">
+ <param>100</param>
+ <param>2</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveObjectUidStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Recovery_(Restore)_StateManager_Test003" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Recovery (Restore) StateManager Test003'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.CrashRecovery.client.RestoreClient001b"
+ runtime_id="client0">
+ <param>100</param>
+ <param>5</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.CrashRecovery.client.RestoreClient001a"
+ runtime_id="client1">
+ <param>100</param>
+ <param>5</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveObjectUidStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ <test_declaration id="Recovery_(Restore)_StateManager_Test004" descriptive_name="Converted by QA-to-DTF"
+ author="QA2DTF">
+ <description>This test was generated by QA-to-DTF for test 'Recovery (Restore) StateManager Test004'
+ </description>
+ <configuration names_required="1"/>
+ <action_list>
+ <start_task id="com.arjuna.ats.arjuna.recovery.RecoveryManager" runtime_id="server0" location="all">
+ <param>-test</param>
+ </start_task>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.CrashRecovery.client.RestoreClient001b"
+ runtime_id="client0">
+ <param>100</param>
+ <param>10</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client0"/>
+ <start_task id="org.jboss.jbossts.qa.ArjunaCore.StateManager.CrashRecovery.client.RestoreClient001a"
+ runtime_id="client1">
+ <param>100</param>
+ <param>10</param>
+ <param>$(1)</param>
+ </start_task>
+ <wait_for_task runtime_id="client1"/>
+ <terminate_task runtime_id="server0"/>
+ <perform_task id="org.jboss.jbossts.qa.ArjunaCore.Utils.EmptyObjectStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveServerIORStore" location="all">
+ </perform_task>
+ <perform_task id="org.jboss.jbossts.qa.Utils.RemoveObjectUidStore" location="all">
+ </perform_task>
+ </action_list>
+ </test_declaration>
+
+ </test_group>
+</test_set>
Added: labs/jbosstm/trunk/qa/testdefs/jbossts-qa-txoj-testdefs.xml
===================================================================
--- labs/jbosstm/trunk/qa/testdefs/jbossts-qa-txoj-testdefs.xml (rev 0)
+++ labs/jbosstm/trunk/qa/testdefs/jbossts-qa-txoj-testdefs.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,207 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<test_set>
+ <default_timeout value="480"/>
+ <description>
+ TxOJ test definitions.
+ </description>
+
+ <test_group name="atomicobject">
+
+ <task_declaration>
+ <task id="AtomicObjectTest1" classname="com.hp.mwtests.ts.txoj.atomicobject.AtomicObjectTest1"
+ runner="UnitTestRunner" type="expect_pass_fail"/>
+ <task id="AtomicObjectTest2" classname="com.hp.mwtests.ts.txoj.atomicobject.AtomicObjectTest2"
+ runner="UnitTestRunner" type="expect_pass_fail"/>
+ <task id="AtomicObjectTest3" classname="com.hp.mwtests.ts.txoj.atomicobject.AtomicObjectTest3"
+ runner="UnitTestRunner" type="expect_pass_fail" timeout="1200"/>
+ </task_declaration>
+
+ <test_declaration id="AtomicObjectTest1" descriptive_name="Simple TxOJ Atomic Object Test" author="Mark Litle">
+
+ <configuration/>
+
+ <action_list>
+ <perform_task id="AtomicObjectTest1"/>
+ </action_list>
+
+ </test_declaration>
+
+ <test_declaration id="AtomicObjectTest2" descriptive_name="Simple TxOJ Atomic Object Test" author="Mark Litle">
+
+ <configuration/>
+
+ <action_list>
+ <perform_task id="AtomicObjectTest2"/>
+ </action_list>
+
+ </test_declaration>
+
+ <test_declaration id="AtomicObjectTest3" descriptive_name="Simple TxOJ Atomic Object Test" author="Mark Litle">
+
+ <configuration/>
+
+ <action_list>
+ <perform_task id="AtomicObjectTest3"/>
+ </action_list>
+
+ </test_declaration>
+
+ </test_group>
+
+ <test_group name="basic">
+
+ <task_declaration>
+ <task id="RecoveryManager" classname="com.arjuna.ats.arjuna.recovery.RecoveryManager" runner="ServiceRunner"
+ type="expect_ready" location="all"/>
+ <task id="AtomicTest" classname="com.hp.mwtests.ts.txoj.basic.AtomicTest" runner="UnitTestRunner"
+ type="expect_pass_fail"/>
+ <task id="PersistenceTest" classname="com.hp.mwtests.ts.txoj.basic.PersistenceTest" runner="UnitTestRunner"
+ type="expect_pass_fail"/>
+ <task id="BasicActionTest" classname="com.hp.mwtests.ts.txoj.basic.BasicActionTest" runner="UnitTestRunner"
+ type="expect_pass_fail"/>
+ <task id="RecoverableTest" classname="com.hp.mwtests.ts.txoj.basic.RecoverableTest" runner="UnitTestRunner"
+ type="expect_pass_fail"/>
+ </task_declaration>
+
+ <test_declaration id="AtomicTest" descriptive_name="Basic TXOJ Atomic Test" author="Mark Litle">
+
+ <configuration/>
+
+ <action_list>
+ <perform_task id="AtomicTest"/>
+ </action_list>
+
+ </test_declaration>
+
+ <test_declaration id="PersistenceTest" descriptive_name="Basic TXOJ Persistence Test" author="Mark Litle">
+
+ <configuration/>
+
+ <action_list>
+ <perform_task id="PersistenceTest"/>
+ </action_list>
+
+ </test_declaration>
+
+ <test_declaration id="BasicActionTest" descriptive_name="Basic TXOJ Action Test" author="Mark Litle">
+
+ <configuration/>
+
+ <action_list>
+ <perform_task id="BasicActionTest"/>
+ </action_list>
+
+ </test_declaration>
+
+ <test_declaration id="BasicRecoverableTest" descriptive_name="Basic TXOJ Recovery Test" author="Mark Litle">
+
+ <configuration/>
+
+ <action_list>
+ <start_task id="RecoveryManager" runtime_id="RcvMngr">
+ <param>-test</param>
+ </start_task>
+ <perform_task id="RecoverableTest"/>
+ <terminate_task runtime_id="RcvMngr"/>
+ </action_list>
+
+ </test_declaration>
+
+ </test_group>
+
+ <test_group name="PerformanceTests">
+
+ <task_declaration>
+ <task id="PerformanceTest1" classname="com.hp.mwtests.ts.txoj.performance.PerformanceTest1"
+ runner="UnitTestRunner" type="expect_pass_fail"/>
+ </task_declaration>
+
+ <test_declaration id="PerformanceTest1" descriptive_name="Simple TxOJ Performance Test" author="Mark Litle">
+
+ <configuration/>
+
+ <action_list>
+ <perform_task id="PerformanceTest1"/>
+ </action_list>
+
+ </test_declaration>
+
+ </test_group>
+
+ <test_group name="concurrencycontrol">
+
+ <task_declaration>
+ <task id="ConcurrencyTest" classname="com.hp.mwtests.ts.txoj.concurrencycontrol.ConcurrencyTest"
+ runner="UnitTestRunner" type="expect_pass_fail"/>
+ </task_declaration>
+
+ <test_declaration id="ConcurrencyTest" descriptive_name="Simple TxOJ Concurrency Test" author="Mark Litle">
+
+ <configuration/>
+
+ <action_list>
+ <perform_task id="ConcurrencyTest"/>
+ </action_list>
+
+ </test_declaration>
+
+ </test_group>
+
+ <test_group name="destroy">
+
+ <task_declaration>
+ <task id="DestroyTest" classname="com.hp.mwtests.ts.txoj.destroy.DestroyTest" runner="UnitTestRunner"
+ type="expect_pass_fail"/>
+ </task_declaration>
+
+ <test_declaration id="DestroyTest" descriptive_name="Simple TxOJ Destroy Test" author="Mark Litle">
+
+ <configuration/>
+
+ <action_list>
+ <perform_task id="DestroyTest"/>
+ </action_list>
+
+ </test_declaration>
+
+ </test_group>
+
+ <test_group name="hammer">
+
+ <task_declaration>
+ <task id="HammerTest" classname="com.hp.mwtests.ts.txoj.hammer.Hammer" runner="UnitTestRunner"
+ type="expect_pass_fail"/>
+ </task_declaration>
+
+ <test_declaration id="HammerTest" descriptive_name="Simple TxOJ Hammer Test" author="Mark Litle">
+
+ <configuration/>
+
+ <action_list>
+ <perform_task id="HammerTest"/>
+ </action_list>
+
+ </test_declaration>
+
+ </test_group>
+
+</test_set>
Added: labs/jbosstm/trunk/qa/tests/build-core.xml
===================================================================
--- labs/jbosstm/trunk/qa/tests/build-core.xml (rev 0)
+++ labs/jbosstm/trunk/qa/tests/build-core.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,83 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<project name="JBossTS 'Core' QA Suite" default="build">
+
+ <!-- set this property to the location of a JBossTS core build -->
+ <property name="org.jboss.jbossts.qa.ts.home" location="/home/jhalli/IdeaProjects/jboss/jbossts/install/"/>
+
+ <!-- set this property to the location of a DTF TestingFramework build -->
+ <property name="org.jboss.jbossts.qa.testingframework_location" location="/home/jhalli/IdeaProjects/jboss/jbossdtf/DTF_3_9/dist/lib/TestingFramework.jar"/>
+
+
+ <property name="org.jboss.jbossts.qa.buildroot" location="build"/>
+ <property name="org.jboss.jbossts.qa.build.classes" value="${org.jboss.jbossts.qa.buildroot}/classes/"/>
+ <property name="org.jboss.jbossts.qa.core.src" location="src"/>
+ <property name="org.jboss.jbossts.qa.core.lib" location="lib"/>
+
+ <path id="core.classpath">
+ <fileset dir="${org.jboss.jbossts.qa.ts.home}/lib/">
+ <include name="jbosscore.jar"/>
+ </fileset>
+ <fileset dir="${org.jboss.jbossts.qa.ts.home}/lib/ext">
+ <include name="jbossts-common.jar"/>
+ </fileset>
+ </path>
+
+ <target name="org.jboss.jbossts.qa.core.init">
+ <mkdir dir="${org.jboss.jbossts.qa.buildroot}"/>
+ <mkdir dir="${org.jboss.jbossts.qa.build.classes}"/>
+ </target>
+
+ <target name="org.jboss.jbossts.qa.core.clean">
+ <delete dir="${org.jboss.jbossts.qa.buildroot}"/>
+ </target>
+
+ <target name="org.jboss.jbossts.qa.core.compile" depends="org.jboss.jbossts.qa.core.clean, org.jboss.jbossts.qa.core.init">
+
+ <javac srcdir="${org.jboss.jbossts.qa.core.src}"
+ destdir="${org.jboss.jbossts.qa.build.classes}"
+ debug="on" deprecation="on">
+
+ <include name="**/org/jboss/jbossts/qa/Utils/*Store*.java"/>
+ <exclude name="**/org/jboss/jbossts/qa/Utils/EmptyObjectStore.java"/>
+ <include name="**/org/jboss/jbossts/qa/Utils/BaseTestCase.java"/>
+ <include name="**/org/jboss/jbossts/qa/Utils/JVMStats.java"/>
+ <include name="**/core/**/*.java"/>
+
+ <classpath>
+ <path refid="core.classpath"/>
+ <pathelement location="${org.jboss.jbossts.qa.build.classes}"/>
+ <pathelement location="${org.jboss.jbossts.qa.testingframework_location}"/>
+ </classpath>
+
+ </javac>
+
+ </target>
+
+ <target name="org.jboss.jbossts.qa.core.jar" depends="org.jboss.jbossts.qa.core.compile">
+ <jar destfile="${org.jboss.jbossts.qa.buildroot}/jbossts-core-qa.jar"
+ basedir="${org.jboss.jbossts.qa.build.classes}"/>
+ </target>
+
+ <target name="build" depends="org.jboss.jbossts.qa.core.jar"/>
+ <target name="clean" depends="org.jboss.jbossts.qa.core.clean"/>
+
+</project>
Added: labs/jbosstm/trunk/qa/tests/build-jta.xml
===================================================================
--- labs/jbosstm/trunk/qa/tests/build-jta.xml (rev 0)
+++ labs/jbosstm/trunk/qa/tests/build-jta.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,105 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<project name="JBossTS JTA QA Suite" default="build">
+
+ <!-- set this property to the location of a JBossTS JTA build -->
+ <property name="org.jboss.jbossts.qa.ts.home" location="/home/jhalli/IdeaProjects/jboss/jbossts_trunk/install/"/>
+
+ <!-- set this property to the location of a DTF TestingFramework build -->
+ <property name="org.jboss.jbossts.qa.testingframework_location" location="/home/jhalli/IdeaProjects/jboss/jbossdtf/DTF_3_9/dist/lib/TestingFramework.jar"/>
+
+ <!-- set this to the location(s) of the database drivers -->
+ <path id="database.drivers.path">
+ <fileset dir="/oracle/product/10.2.0/db_1/jdbc/lib/">
+ <include name="ojdbc14.jar"/>
+ </fileset>
+ <fileset dir="/home/jhalli/javastuff/mssql2000jdbc/lib">
+ <include name="ms*.jar"/>
+ </fileset>
+ <fileset id="pgsql.drivers" dir="/home/jhalli/installers/">
+ <include name="postgresql-8.1-408.jdbc3.jar"/>
+ </fileset>
+ <fileset id="mysql.drivers" dir="/home/jhalli/javastuff/mysql-connector-java-5.0.4">
+ <include name="mysql-connector-java-5.0.4-bin.jar"/>
+ </fileset>
+ </path>
+
+
+ <property name="org.jboss.jbossts.qa.buildroot" location="build"/>
+ <property name="org.jboss.jbossts.qa.build.classes" value="${org.jboss.jbossts.qa.buildroot}/classes/"/>
+ <property name="org.jboss.jbossts.qa.src" location="src"/>
+ <property name="org.jboss.jbossts.qa.lib" location="lib"/>
+
+ <path id="jta.classpath">
+ <fileset dir="${org.jboss.jbossts.qa.ts.home}/lib/">
+ <include name="jbossjta.jar"/>
+ </fileset>
+ <fileset dir="${org.jboss.jbossts.qa.ts.home}/lib/ext">
+ <include name="jbossts-common.jar"/>
+ <include name="jta-spec1_0_1.jar"/>
+ <include name="jta-1_1-classes.zip"/>
+ </fileset>
+ </path>
+
+ <target name="org.jboss.jbossts.qa.init">
+ <mkdir dir="${org.jboss.jbossts.qa.buildroot}"/>
+ <mkdir dir="${org.jboss.jbossts.qa.build.classes}"/>
+ </target>
+
+ <target name="org.jboss.jbossts.qa.clean">
+ <delete dir="${org.jboss.jbossts.qa.buildroot}"/>
+ </target>
+
+ <target name="org.jboss.jbossts.qa.compile" depends="org.jboss.jbossts.qa.clean, org.jboss.jbossts.qa.init">
+
+ <javac srcdir="${org.jboss.jbossts.qa.src}"
+ destdir="${org.jboss.jbossts.qa.build.classes}"
+ debug="on"
+ excludes="org/jboss/jbossts/qa/ArjunaCore/Common/ClassPathParserTest.java">
+
+ <include name="**/org/jboss/jbossts/qa/Utils/*Store*.java"/>
+ <include name="**/org/jboss/jbossts/qa/Utils/BaseTestCase.java"/>
+ <include name="**/org/jboss/jbossts/qa/Utils/JVMStats.java"/>
+ <include name="**/org/jboss/jbossts/qa/Utils/JNDIManager.java"/>
+ <include name="**/ArjunaCore/**/*.java"/>
+ <include name="**/org/jboss/jbossts/qa/JDBCLocals*/*.java"/>
+ <include name="**/org/jboss/jbossts/qa/JTA01Tests/*.java"/>
+
+ <classpath>
+ <path refid="jta.classpath"/>
+ <path refid="database.drivers.path"/>
+ <pathelement location="${org.jboss.jbossts.qa.build.classes}"/>
+ <pathelement location="${org.jboss.jbossts.qa.testingframework_location}"/>
+ </classpath>
+
+ </javac>
+
+ </target>
+
+ <target name="org.jboss.jbossts.qa.jar" depends="org.jboss.jbossts.qa.compile">
+ <jar jarfile="${org.jboss.jbossts.qa.buildroot}/jbossts-jta-qa.jar"
+ basedir="${org.jboss.jbossts.qa.build.classes}"/>
+ </target>
+
+ <target name="build" depends="org.jboss.jbossts.qa.jar"/>
+ <target name="clean" depends="org.jboss.jbossts.qa.clean"/>
+
+</project>
Added: labs/jbosstm/trunk/qa/tests/build-jts.xml
===================================================================
--- labs/jbosstm/trunk/qa/tests/build-jts.xml (rev 0)
+++ labs/jbosstm/trunk/qa/tests/build-jts.xml 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,262 @@
+<!--
+ JBoss, Home of Professional Open Source
+ Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ as indicated by the @author tags.
+ 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.
+
+ (C) 2005-2006,
+ @author JBoss Inc.
+-->
+<project name="JBossTS JTS QA Suite" default="build">
+
+ <!-- set this property to the location of a JBossTS JTS build -->
+ <property name="org.jboss.jbossts.qa.ts.home" location="/home/jhalli/javastuff/jbossts-full-4.2.3.sp3"/>
+
+ <!-- set this property to the location of a DTF TestingFramework build -->
+ <property name="org.jboss.jbossts.qa.testingframework_location" location="/home/jhalli/IdeaProjects/jboss/jbossdtf/DTF_3_9/dist/lib/TestingFramework.jar"/>
+
+ <!-- TODO cd ArjunaJTS/orbportability; ant -f build-anttasks.xml -->
+ <property name="org.jboss.jbossts.qa.idlcompiler.lib"
+ location="/home/jhalli/IdeaProjects/jboss/jbossts/ArjunaJTS/orbportability/lib/ext"/>
+
+ <!-- set this to the location(s) of the database drivers -->
+ <path id="database.drivers.path">
+ <fileset dir="/oracle/product/10.2.0/db_1/jdbc/lib/">
+ <include name="ojdbc14.jar"/>
+ </fileset>
+ <fileset dir="/home/jhalli/javastuff/mssql2000jdbc/lib">
+ <include name="ms*.jar"/>
+ </fileset>
+ <fileset id="pgsql.drivers" dir="/home/jhalli/installers/">
+ <include name="postgresql-8.1-408.jdbc3.jar"/>
+ </fileset>
+ <fileset id="mysql.drivers" dir="/home/jhalli/javastuff/mysql-connector-java-5.0.4">
+ <include name="mysql-connector-java-5.0.4-bin.jar"/>
+ </fileset>
+ </path>
+
+ <property name="org.jboss.jbossts.qa.buildroot" location="build"/>
+ <property name="org.jboss.jbossts.qa.build.classes" value="${org.jboss.jbossts.qa.buildroot}/classes/"/>
+ <property name="org.jboss.jbossts.qa.build.idl" value="${org.jboss.jbossts.qa.buildroot}/idl/"/>
+ <property name="org.jboss.jbossts.qa.src" location="src"/>
+ <property name="org.jboss.jbossts.qa.lib" location="lib"/>
+ <property name="org.jboss.jbossts.qa.idl" location="idl"/>
+
+ <property name="org.jboss.jbossts.qa.orb.name.short" value="jacorb"/>
+ <property name="org.jboss.jbossts.qa.orb.name.long" value="JacORB"/>
+ <property name="org.jboss.jbossts.qa.orb.home" value="${org.jboss.jbossts.qa.ts.home}/jacorb"/>
+ <property name="org.jboss.jbossts.qa.orb.classpath" value="${org.jboss.jbossts.qa.orb.home}/lib/jacorb.jar;${org.jboss.jbossts.qa.orb.home}/lib/idl.jar;${org.jboss.jbossts.qa.orb.home}/lib/logkit-1.2.jar"/>
+
+ <path id="jts.classpath">
+ <fileset dir="${org.jboss.jbossts.qa.ts.home}/lib/">
+ <include name="jbossjts.jar"/>
+ <include name="jbossjts-${org.jboss.jbossts.qa.orb.name.short}.jar"/>
+ </fileset>
+ <fileset dir="${org.jboss.jbossts.qa.ts.home}/lib/ext">
+ <include name="jbossts-common.jar"/>
+ <include name="jta-spec1_0_1.jar"/>
+ <include name="jta-1_1-classes.zip"/>
+ </fileset>
+ <fileset dir="${org.jboss.jbossts.qa.idlcompiler.lib}">
+ <include name="orbportability-ant.jar"/>
+ </fileset>
+ <pathelement path="${org.jboss.jbossts.qa.orb.classpath}"/>
+ </path>
+
+ <target name="org.jboss.jbossts.qa.init">
+
+ <mkdir dir="${org.jboss.jbossts.qa.buildroot}"/>
+ <mkdir dir="${org.jboss.jbossts.qa.build.classes}"/>
+ <mkdir dir="${org.jboss.jbossts.qa.build.idl}"/>
+
+ <condition property="org.jboss.jbossts.qa.jacorb">
+ <equals arg1="${org.jboss.jbossts.qa.orb.name.short}" arg2="jacorb"/>
+ </condition>
+
+ <condition property="org.jboss.jbossts.qa.orbix">
+ <equals arg1="${org.jboss.jbossts.qa.orb.name.short}" arg2="orbix"/>
+ </condition>
+
+ </target>
+
+ <target name="org.jboss.jbossts.qa.clean">
+ <delete dir="${org.jboss.jbossts.qa.buildroot}"/>
+ </target>
+
+ <target name="org.jboss.jbossts.qa.idl.compile"
+ depends="org.jboss.jbossts.qa.clean, org.jboss.jbossts.qa.init, org.jboss.jbossts.qa.idl.compile.init, org.jboss.jbossts.qa.idl.orbix.compile, org.jboss.jbossts.qa.idl.jacorb.compile"/>
+
+ <target name="org.jboss.jbossts.qa.idl.compile.init">
+
+ <taskdef name="idl-build-list" classname="com.arjuna.orbportability.common.ant.IDLBuildList"
+ classpathref="jts.classpath"/>
+
+ <idl-build-list inproperty="org.jboss.jbossts.qa.jts.idl.buildlist">
+
+ <element src="${org.jboss.jbossts.qa.idl}/AITResources01.idl"
+ package="org.jboss.jbossts.qa.AITResources01"
+ mappings="AITResources01=org.jboss.jbossts.qa;CosTransactions=org.omg;CORBA=org.omg"/>
+ <element src="${org.jboss.jbossts.qa.idl}/AITResources02.idl"
+ package="org.jboss.jbossts.qa.AITResources02"
+ mappings="AITResources02=org.jboss.jbossts.qa;CosTransactions=org.omg;CORBA=org.omg"/>
+ <element src="${org.jboss.jbossts.qa.idl}/CrashRecovery01.idl"
+ package="org.jboss.jbossts.qa.CrashRecovery01"
+ mappings="CrashRecovery01=org.jboss.jbossts.qa;CosTransactions=org.omg;CORBA=org.omg"/>
+ <element src="${org.jboss.jbossts.qa.idl}/CrashRecovery02.idl"
+ package="org.jboss.jbossts.qa.CrashRecovery02"
+ mappings="CrashRecovery02=org.jboss.jbossts.qa;CosTransactions=org.omg;CORBA=org.omg"/>
+ <element src="${org.jboss.jbossts.qa.idl}/CrashRecovery03.idl"
+ package="org.jboss.jbossts.qa.CrashRecovery03"
+ mappings="CrashRecovery03=org.jboss.jbossts.qa;CosTransactions=org.omg;CORBA=org.omg"/>
+ <element src="${org.jboss.jbossts.qa.idl}/CrashRecovery04.idl"
+ package="org.jboss.jbossts.qa.CrashRecovery04"
+ mappings="CrashRecovery04=org.jboss.jbossts.qa;CosTransactions=org.omg;CORBA=org.omg"/>
+ <element src="${org.jboss.jbossts.qa.idl}/CrashRecovery05.idl"
+ package="org.jboss.jbossts.qa.CrashRecovery05"
+ mappings="CrashRecovery05=org.jboss.jbossts.qa;CosTransactions=org.omg;CORBA=org.omg"/>
+ <element src="${org.jboss.jbossts.qa.idl}/CrashRecovery06.idl"
+ package="org.jboss.jbossts.qa.CrashRecovery06"
+ mappings="CrashRecovery06=org.jboss.jbossts.qa;CosTransactions=org.omg;CORBA=org.omg"/>
+ <element src="${org.jboss.jbossts.qa.idl}/CrashRecovery07.idl"
+ package="org.jboss.jbossts.qa.CrashRecovery07"
+ mappings="CrashRecovery07=org.jboss.jbossts.qa;CosTransactions=org.omg;CORBA=org.omg"/>
+ <element src="${org.jboss.jbossts.qa.idl}/CrashRecovery08.idl"
+ package="org.jboss.jbossts.qa.CrashRecovery08"
+ mappings="CrashRecovery08=org.jboss.jbossts.qa;CosTransactions=org.omg;CORBA=org.omg"/>
+ <element src="${org.jboss.jbossts.qa.idl}/CrashRecovery09.idl"
+ package="org.jboss.jbossts.qa.CrashRecovery09"
+ mappings="CrashRecovery09=org.jboss.jbossts.qa;CosTransactions=org.omg;CORBA=org.omg"/>
+ <element src="${org.jboss.jbossts.qa.idl}/CrashRecovery10.idl"
+ package="org.jboss.jbossts.qa.CrashRecovery10"
+ mappings="CrashRecovery10=org.jboss.jbossts.qa;CosTransactions=org.omg;CORBA=org.omg"/>
+ <element src="${org.jboss.jbossts.qa.idl}/CrashRecovery11.idl"
+ package="org.jboss.jbossts.qa.CrashRecovery11"
+ mappings="CrashRecovery11=org.jboss.jbossts.qa;CosTransactions=org.omg;CORBA=org.omg"/>
+ <element src="${org.jboss.jbossts.qa.idl}/EnlistDelistEnlist01.idl"
+ package="org.jboss.jbossts.qa.EnlistDelistEnlist01"
+ mappings="EnlistDelistEnlist01=org.jboss.jbossts.qa;CosTransactions=org.omg;CORBA=org.omg"/>
+ <element src="${org.jboss.jbossts.qa.idl}/Hammer01.idl"
+ package="org.jboss.jbossts.qa.Hammer01"
+ mappings="Hammer01=org.jboss.jbossts.qa;CosTransactions=org.omg;CORBA=org.omg"/>
+ <element src="${org.jboss.jbossts.qa.idl}/Hammer02.idl"
+ package="org.jboss.jbossts.qa.Hammer02"
+ mappings="Hammer02=org.jboss.jbossts.qa;CosTransactions=org.omg;CORBA=org.omg"/>
+ <element src="${org.jboss.jbossts.qa.idl}/Issues0001.idl"
+ package="org.jboss.jbossts.qa.Issues0001"
+ mappings="Issues0001=org.jboss.jbossts.qa;CosTransactions=org.omg;CORBA=org.omg"/>
+ <element src="${org.jboss.jbossts.qa.idl}/JDBCResources01.idl"
+ package="org.jboss.jbossts.qa.JDBCResources01"
+ mappings="JDBCResources01=org.jboss.jbossts.qa;CosTransactions=org.omg;CORBA=org.omg"/>
+ <element src="${org.jboss.jbossts.qa.idl}/JDBCResources02.idl"
+ package="org.jboss.jbossts.qa.JDBCResources02"
+ mappings="JDBCResources02=org.jboss.jbossts.qa;CosTransactions=org.omg;CORBA=org.omg"/>
+ <element src="${org.jboss.jbossts.qa.idl}/JDBCResources03.idl"
+ package="org.jboss.jbossts.qa.JDBCResources03"
+ mappings="JDBCResources03=org.jboss.jbossts.qa;CosTransactions=org.omg;CORBA=org.omg"/>
+ <element src="${org.jboss.jbossts.qa.idl}/JDBCResources04.idl"
+ package="org.jboss.jbossts.qa.JDBCResources04"
+ mappings="JDBCResources04=org.jboss.jbossts.qa;CosTransactions=org.omg;CORBA=org.omg"/>
+ <element src="${org.jboss.jbossts.qa.idl}/PerfProfile01.idl"
+ package="org.jboss.jbossts.qa.PerfProfile01"
+ mappings="PerfProfile01=org.jboss.jbossts.qa;CosTransactions=org.omg;CORBA=org.omg"/>
+ <element src="${org.jboss.jbossts.qa.idl}/RawResources01.idl"
+ package="org.jboss.jbossts.qa.RawResources01"
+ mappings="RawResources01=org.jboss.jbossts.qa;CosTransactions=org.omg;CORBA=org.omg"/>
+ <element src="${org.jboss.jbossts.qa.idl}/RawResources02.idl"
+ package="org.jboss.jbossts.qa.RawResources02"
+ mappings="RawResources02=org.jboss.jbossts.qa;CosTransactions=org.omg;CORBA=org.omg"/>
+ <element src="${org.jboss.jbossts.qa.idl}/RawSubtransactionAwareResources01.idl"
+ package="org.jboss.jbossts.qa.RawSubtransactionAwareResources01"
+ mappings="RawSubtransactionAwareResources01=org.jboss.jbossts.qa;CosTransactions=org.omg;CORBA=org.omg"/>
+ <element src="${org.jboss.jbossts.qa.idl}/RawSubtransactionAwareResources02.idl"
+ package="org.jboss.jbossts.qa.RawSubtransactionAwareResources02"
+ mappings="RawSubtransactionAwareResources02=org.jboss.jbossts.qa;CosTransactions=org.omg;CORBA=org.omg"/>
+ <element src="${org.jboss.jbossts.qa.idl}/SupportTests01.idl"
+ package="org.jboss.jbossts.qa.SupportTests01"
+ mappings="SupportTests01=org.jboss.jbossts.qa;CosTransactions=org.omg;CORBA=org.omg"/>
+ </idl-build-list>
+
+ </target>
+
+ <target name="org.jboss.jbossts.qa.idl.jacorb.compile" if="org.jboss.jbossts.qa.jacorb">
+
+ <taskdef name="idl-compiler" classname="com.arjuna.orbportability.common.ant.IDLCompiler"
+ classpathref="jts.classpath"/>
+
+ <idl-compiler orb="${org.jboss.jbossts.qa.orb.name.long}"
+ buildlist="${org.jboss.jbossts.qa.jts.idl.buildlist}"
+ destdir="${org.jboss.jbossts.qa.build.idl}"
+ parameters="include='${org.jboss.jbossts.qa.ts.home}/idl/;${org.jboss.jbossts.qa.orb.home}/idl/omg',classpath='${org.jboss.jbossts.qa.orb.classpath}'"/>
+
+ <javac srcdir="${org.jboss.jbossts.qa.build.idl}"
+ destdir="${org.jboss.jbossts.qa.build.classes}"
+ debug="on">
+
+ <classpath>
+ <path refid="jts.classpath"/>
+ </classpath>
+
+ </javac>
+
+ </target>
+
+ <target name="org.jboss.jbossts.qa.idl.orbix.compile" if="org.jboss.jbossts.qa.orbix">
+
+ <taskdef name="idl-compiler" classname="com.hp.mw.orbportability.common.ant.IDLCompiler"
+ classpathref="jts.classpath"/>
+
+ <idl-compiler orb="${org.jboss.jbossts.qa.orb.name.long}"
+ buildlist="${org.jboss.jbossts.qa.jts.idl.buildlist}"
+ destdir="${org.jboss.jbossts.qa.build.idl}"
+ parameters="include='${org.jboss.jbossts.qa.ts.home}/idl/'"/>
+
+ <javac srcdir="${org.jboss.jbossts.qa.build.idl}"
+ destdir="${org.jboss.jbossts.qa.build.classes}"
+ debug="on">
+
+ <classpath>
+ <path refid="jts.classpath"/>
+ </classpath>
+
+ </javac>
+
+ </target>
+
+ <target name="org.jboss.jbossts.qa.compile" depends="org.jboss.jbossts.qa.idl.compile">
+
+ <javac srcdir="${org.jboss.jbossts.qa.src}"
+ destdir="${org.jboss.jbossts.qa.build.classes}"
+ debug="on" deprecation="on"
+ excludes="org/jboss/jbossts/qa/ArjunaCore/Common/ClassPathParserTest.java">
+
+ <classpath>
+ <path refid="jts.classpath"/>
+ <path refid="database.drivers.path"/>
+ <pathelement location="${org.jboss.jbossts.qa.build.classes}"/>
+ <pathelement location="${org.jboss.jbossts.qa.testingframework_location}"/>
+ </classpath>
+
+ </javac>
+
+ </target>
+
+ <target name="org.jboss.jbossts.qa.jar" depends="org.jboss.jbossts.qa.compile">
+ <jar jarfile="${org.jboss.jbossts.qa.buildroot}/jbossts-jts-qa.jar"
+ basedir="${org.jboss.jbossts.qa.build.classes}"/>
+ </target>
+
+ <target name="build" depends="org.jboss.jbossts.qa.jar"/>
+ <target name="clean" depends="org.jboss.jbossts.qa.clean"/>
+
+</project>
Added: labs/jbosstm/trunk/qa/tests/idl/AITResources01.idl
===================================================================
--- labs/jbosstm/trunk/qa/tests/idl/AITResources01.idl (rev 0)
+++ labs/jbosstm/trunk/qa/tests/idl/AITResources01.idl 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,63 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 2000,
+//
+// Arjuna Solutions, Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: AITResources01.idl,v 1.3 2004/03/19 15:43:50 jcoleman Exp $
+//
+
+#include <CosTransactions.idl>
+
+#pragma prefix "qa.jbossts.jboss.org"
+
+module AITResources01
+{
+ exception InvocationException {};
+
+ interface Counter : CosTransactions::TransactionalObject
+ {
+ void get(out long value)
+ raises (InvocationException);
+ void set(in long value)
+ raises (InvocationException);
+ void increase()
+ raises (InvocationException);
+
+ long getMemory();
+ };
+
+ interface PingPong : CosTransactions::TransactionalObject
+ {
+ void hit(in long count, in PingPong ponger, in PingPong pinger)
+ raises (InvocationException);
+ void bad_hit(in long count, in long bad_count, in PingPong ponger, in PingPong pinger)
+ raises (InvocationException);
+ void get(out long value)
+ raises (InvocationException);
+
+ long getMemory();
+ };
+};
Added: labs/jbosstm/trunk/qa/tests/idl/AITResources02.idl
===================================================================
--- labs/jbosstm/trunk/qa/tests/idl/AITResources02.idl (rev 0)
+++ labs/jbosstm/trunk/qa/tests/idl/AITResources02.idl 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,72 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 2000,
+//
+// Arjuna Solutions, Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: AITResources02.idl,v 1.3 2004/03/19 15:43:50 jcoleman Exp $
+//
+
+
+
+
+#include <CosTransactions.idl>
+
+
+#pragma prefix "qa.jbossts.jboss.org"
+
+
+
+
+module AITResources02
+{
+ exception InvocationException {};
+
+ interface Counter
+ {
+ void get(out long value, in CosTransactions::Control ctrl)
+ raises (InvocationException);
+ void set(in long value, in CosTransactions::Control ctrl)
+ raises (InvocationException);
+ void increase(in CosTransactions::Control ctrl)
+ raises (InvocationException);
+
+ long getMemory();
+ };
+
+ interface PingPong
+ {
+ void hit(in long count, in PingPong ponger, in PingPong pinger, in CosTransactions::Control ctrl)
+ raises (InvocationException);
+ void bad_hit(in long count, in long bad_count, in PingPong ponger, in PingPong pinger, in CosTransactions::Control ctrl)
+ raises (InvocationException);
+ void get(out long value, in CosTransactions::Control ctrl)
+ raises (InvocationException);
+
+ long getMemory();
+ };
+};
+
+
Added: labs/jbosstm/trunk/qa/tests/idl/CrashRecovery01.idl
===================================================================
--- labs/jbosstm/trunk/qa/tests/idl/CrashRecovery01.idl (rev 0)
+++ labs/jbosstm/trunk/qa/tests/idl/CrashRecovery01.idl 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,66 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 2000,
+//
+// Arjuna Solutions, Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: CrashRecovery01.idl,v 1.3 2004/03/19 15:43:51 jcoleman Exp $
+//
+
+
+
+
+#include <CosTransactions.idl>
+
+
+#pragma prefix "qa.jbossts.jboss.org"
+
+
+
+
+module CrashRecovery01
+{
+ enum ResourceTrace
+ {
+ ResourceTraceUnknown,
+ ResourceTraceNone,
+ ResourceTracePrepare,
+ ResourceTracePrepareCommit,
+ ResourceTracePrepareRollback,
+ ResourceTraceCommitOnePhase,
+ ResourceTraceRollback
+ };
+
+ interface Service : CosTransactions::TransactionalObject
+ {
+ void setup_oper(in long number_of_resources);
+ boolean check_oper();
+
+ boolean is_correct();
+ ResourceTrace get_resource_trace(in long resource_number);
+ };
+};
+
+
Added: labs/jbosstm/trunk/qa/tests/idl/CrashRecovery02.idl
===================================================================
--- labs/jbosstm/trunk/qa/tests/idl/CrashRecovery02.idl (rev 0)
+++ labs/jbosstm/trunk/qa/tests/idl/CrashRecovery02.idl 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,103 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 2000,
+//
+// Arjuna Solutions, Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: CrashRecovery02.idl,v 1.3 2004/03/19 15:43:51 jcoleman Exp $
+//
+
+
+
+
+#include <CosTransactions.idl>
+
+
+#pragma prefix "qa.jbossts.jboss.org"
+
+
+
+
+module CrashRecovery02
+{
+ enum CrashBehavior
+ {
+ CrashBehaviorCrashInPrepare,
+ CrashBehaviorCrashInCommit,
+ CrashBehaviorCrashInRollback,
+ CrashBehaviorCrashInCommitOnePhase,
+ CrashBehaviorCrashInForget,
+ CrashBehaviorNoCrash
+ };
+
+ struct ResourceBehavior
+ {
+ CrashBehavior crash_behavior;
+ };
+ typedef sequence<ResourceBehavior> ResourceBehaviorSeq;
+
+ struct CheckBehavior
+ {
+ boolean allow_done;
+ boolean allow_returned_prepared;
+ boolean allow_returned_committing;
+ boolean allow_returned_committed;
+ boolean allow_returned_rolledback;
+ boolean allow_raised_not_prepared;
+ };
+ typedef sequence<CheckBehavior> CheckBehaviorSeq;
+
+ enum ResourceTrace
+ {
+ ResourceTraceUnknown,
+ ResourceTraceNone,
+ ResourceTracePrepare,
+ ResourceTracePrepareCommit,
+ ResourceTracePrepareRollback,
+ ResourceTraceCommitOnePhase,
+ ResourceTraceRollback,
+ ResourceTracePrepareForget,
+ ResourceTracePrepareCommitForget,
+ ResourceTracePrepareRollbackForget,
+ ResourceTraceCommitOnePhaseForget,
+ ResourceTraceCommit
+ };
+
+ interface BeforeCrashService : CosTransactions::TransactionalObject
+ {
+ void setup_oper(in ResourceBehaviorSeq resource_behaviors);
+ boolean is_correct();
+ };
+
+ interface AfterCrashService : CosTransactions::TransactionalObject
+ {
+ void setup_oper(in long number_of_resources);
+ boolean check_oper(in CheckBehaviorSeq check_behaviors);
+ boolean is_correct();
+ ResourceTrace get_resource_trace(in long resource_number);
+ };
+};
+
+
Added: labs/jbosstm/trunk/qa/tests/idl/CrashRecovery03.idl
===================================================================
--- labs/jbosstm/trunk/qa/tests/idl/CrashRecovery03.idl (rev 0)
+++ labs/jbosstm/trunk/qa/tests/idl/CrashRecovery03.idl 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,53 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 2000,
+//
+// Arjuna Solutions, Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: CrashRecovery03.idl,v 1.3 2004/03/19 15:43:51 jcoleman Exp $
+//
+
+
+
+
+#include <CosTransactions.idl>
+
+
+#pragma prefix "qa.jbossts.jboss.org"
+
+
+
+
+module CrashRecovery03
+{
+ interface Service : CosTransactions::TransactionalObject
+ {
+ void setup_oper();
+ boolean check_oper();
+ boolean is_correct();
+ };
+};
+
+
Added: labs/jbosstm/trunk/qa/tests/idl/CrashRecovery04.idl
===================================================================
--- labs/jbosstm/trunk/qa/tests/idl/CrashRecovery04.idl (rev 0)
+++ labs/jbosstm/trunk/qa/tests/idl/CrashRecovery04.idl 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,66 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 2000,
+//
+// Arjuna Solutions, Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: CrashRecovery04.idl,v 1.3 2004/03/19 15:43:51 jcoleman Exp $
+//
+
+
+
+
+#include <CosTransactions.idl>
+
+
+#pragma prefix "qa.jbossts.jboss.org"
+
+
+
+
+module CrashRecovery04
+{
+ enum ResourceTrace
+ {
+ ResourceTraceUnknown,
+ ResourceTraceNone,
+ ResourceTracePrepare,
+ ResourceTracePrepareCommit,
+ ResourceTracePrepareRollback,
+ ResourceTraceCommitOnePhase,
+ ResourceTraceRollback
+ };
+
+ interface Service
+ {
+ void setup_oper(in CosTransactions::Control ctrl, in long number_of_resources);
+ boolean check_oper();
+
+ boolean is_correct();
+ ResourceTrace get_resource_trace(in long resource_number);
+ };
+};
+
+
Added: labs/jbosstm/trunk/qa/tests/idl/CrashRecovery05.idl
===================================================================
--- labs/jbosstm/trunk/qa/tests/idl/CrashRecovery05.idl (rev 0)
+++ labs/jbosstm/trunk/qa/tests/idl/CrashRecovery05.idl 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,103 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 2000,
+//
+// Arjuna Solutions, Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: CrashRecovery05.idl,v 1.3 2004/03/19 15:43:51 jcoleman Exp $
+//
+
+
+
+
+#include <CosTransactions.idl>
+
+
+#pragma prefix "qa.jbossts.jboss.org"
+
+
+
+
+module CrashRecovery05
+{
+ enum CrashBehavior
+ {
+ CrashBehaviorCrashInPrepare,
+ CrashBehaviorCrashInCommit,
+ CrashBehaviorCrashInRollback,
+ CrashBehaviorCrashInCommitOnePhase,
+ CrashBehaviorCrashInForget,
+ CrashBehaviorNoCrash
+ };
+
+ struct ResourceBehavior
+ {
+ CrashBehavior crash_behavior;
+ };
+ typedef sequence<ResourceBehavior> ResourceBehaviorSeq;
+
+ struct CheckBehavior
+ {
+ boolean allow_done;
+ boolean allow_returned_prepared;
+ boolean allow_returned_committing;
+ boolean allow_returned_committed;
+ boolean allow_returned_rolledback;
+ boolean allow_raised_not_prepared;
+ };
+ typedef sequence<CheckBehavior> CheckBehaviorSeq;
+
+ enum ResourceTrace
+ {
+ ResourceTraceUnknown,
+ ResourceTraceNone,
+ ResourceTracePrepare,
+ ResourceTracePrepareCommit,
+ ResourceTracePrepareRollback,
+ ResourceTraceCommitOnePhase,
+ ResourceTraceRollback,
+ ResourceTracePrepareForget,
+ ResourceTracePrepareCommitForget,
+ ResourceTracePrepareRollbackForget,
+ ResourceTraceCommitOnePhaseForget,
+ ResourceTraceCommit
+ };
+
+ interface BeforeCrashService
+ {
+ void setup_oper(in CosTransactions::Control ctrl, in ResourceBehaviorSeq resource_behaviors);
+ boolean is_correct();
+ };
+
+ interface AfterCrashService
+ {
+ void setup_oper(in long number_of_resources);
+ boolean check_oper(in CheckBehaviorSeq check_behaviors);
+ boolean is_correct();
+ ResourceTrace get_resource_trace(in long resource_number);
+ };
+};
+
+
Added: labs/jbosstm/trunk/qa/tests/idl/CrashRecovery06.idl
===================================================================
--- labs/jbosstm/trunk/qa/tests/idl/CrashRecovery06.idl (rev 0)
+++ labs/jbosstm/trunk/qa/tests/idl/CrashRecovery06.idl 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,53 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 2000,
+//
+// Arjuna Solutions, Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: CrashRecovery06.idl,v 1.3 2004/03/19 15:43:51 jcoleman Exp $
+//
+
+
+
+
+#include <CosTransactions.idl>
+
+
+#pragma prefix "qa.jbossts.jboss.org"
+
+
+
+
+module CrashRecovery06
+{
+ interface Service
+ {
+ void setup_oper(in CosTransactions::Control ctrl);
+ boolean check_oper();
+ boolean is_correct();
+ };
+};
+
+
Added: labs/jbosstm/trunk/qa/tests/idl/CrashRecovery07.idl
===================================================================
--- labs/jbosstm/trunk/qa/tests/idl/CrashRecovery07.idl (rev 0)
+++ labs/jbosstm/trunk/qa/tests/idl/CrashRecovery07.idl 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,65 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 2000,
+//
+// Arjuna Solutions, Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: CrashRecovery07.idl,v 1.3 2004/03/19 15:43:51 jcoleman Exp $
+//
+
+
+
+
+#include <CosTransactions.idl>
+
+
+#pragma prefix "qa.jbossts.jboss.org"
+
+
+
+
+module CrashRecovery07
+{
+ enum ResourceTrace
+ {
+ ResourceTraceUnknown,
+ ResourceTraceNone,
+ ResourceTracePrepare,
+ ResourceTracePrepareCommit,
+ ResourceTracePrepareRollback,
+ ResourceTraceCommitOnePhase,
+ ResourceTraceRollback
+ };
+
+ interface Service : CosTransactions::TransactionalObject
+ {
+ void setup_oper(in long number_of_resources);
+ boolean is_correct();
+
+ ResourceTrace get_resource_trace(in long resource_number);
+ };
+};
+
+
Added: labs/jbosstm/trunk/qa/tests/idl/CrashRecovery08.idl
===================================================================
--- labs/jbosstm/trunk/qa/tests/idl/CrashRecovery08.idl (rev 0)
+++ labs/jbosstm/trunk/qa/tests/idl/CrashRecovery08.idl 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,65 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 2000,
+//
+// Arjuna Solutions, Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: CrashRecovery08.idl,v 1.3 2004/03/19 15:43:51 jcoleman Exp $
+//
+
+
+
+
+#include <CosTransactions.idl>
+
+
+#pragma prefix "qa.jbossts.jboss.org"
+
+
+
+
+module CrashRecovery08
+{
+ enum ResourceTrace
+ {
+ ResourceTraceUnknown,
+ ResourceTraceNone,
+ ResourceTracePrepare,
+ ResourceTracePrepareCommit,
+ ResourceTracePrepareRollback,
+ ResourceTraceCommitOnePhase,
+ ResourceTraceRollback
+ };
+
+ interface Service
+ {
+ void setup_oper(in CosTransactions::Control ctrl, in long number_of_resources);
+ boolean is_correct();
+
+ ResourceTrace get_resource_trace(in long resource_number);
+ };
+};
+
+
Added: labs/jbosstm/trunk/qa/tests/idl/CrashRecovery09.idl
===================================================================
--- labs/jbosstm/trunk/qa/tests/idl/CrashRecovery09.idl (rev 0)
+++ labs/jbosstm/trunk/qa/tests/idl/CrashRecovery09.idl 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,56 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 2000,
+//
+// Arjuna Solutions, Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: CrashRecovery09.idl,v 1.3 2004/03/19 15:43:51 jcoleman Exp $
+//
+
+
+
+
+#include <CosTransactions.idl>
+
+
+#pragma prefix "qa.jbossts.jboss.org"
+
+
+
+
+module CrashRecovery09
+{
+ exception InvocationException {};
+
+ interface Service : CosTransactions::TransactionalObject
+ {
+ void set(in long value)
+ raises (InvocationException);
+ void get(out long value)
+ raises (InvocationException);
+ };
+};
+
+
Added: labs/jbosstm/trunk/qa/tests/idl/CrashRecovery10.idl
===================================================================
--- labs/jbosstm/trunk/qa/tests/idl/CrashRecovery10.idl (rev 0)
+++ labs/jbosstm/trunk/qa/tests/idl/CrashRecovery10.idl 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,56 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 2000,
+//
+// Arjuna Solutions, Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: CrashRecovery10.idl,v 1.3 2004/03/19 15:43:51 jcoleman Exp $
+//
+
+
+
+
+#include <CosTransactions.idl>
+
+
+#pragma prefix "qa.jbossts.jboss.org"
+
+
+
+
+module CrashRecovery10
+{
+ exception InvocationException {};
+
+ interface Service
+ {
+ void set(in CosTransactions::Control ctrl, in long value)
+ raises (InvocationException);
+ void get(in CosTransactions::Control ctrl, out long value)
+ raises (InvocationException);
+ };
+};
+
+
Added: labs/jbosstm/trunk/qa/tests/idl/CrashRecovery11.idl
===================================================================
--- labs/jbosstm/trunk/qa/tests/idl/CrashRecovery11.idl (rev 0)
+++ labs/jbosstm/trunk/qa/tests/idl/CrashRecovery11.idl 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,89 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 2000,
+//
+// Arjuna Solutions, Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: CrashRecovery11.idl,v 1.3 2004/03/19 15:43:51 jcoleman Exp $
+//
+
+
+
+
+#include <CosTransactions.idl>
+
+
+#pragma prefix "qa.jbossts.jboss.org"
+
+
+
+
+module CrashRecovery11
+{
+ enum CrashBehavior
+ {
+ CrashBehaviorCrashInPrepare,
+ CrashBehaviorCrashInCommit,
+ CrashBehaviorCrashInRollback,
+ CrashBehaviorCrashInCommitOnePhase,
+ CrashBehaviorCrashInForget,
+ CrashBehaviorNoCrash
+ };
+
+ struct ResourceBehavior
+ {
+ CrashBehavior crash_behavior;
+ };
+
+ exception InvocationException {};
+
+ interface BeforeCrashService : CosTransactions::TransactionalObject
+ {
+ void set(in long value)
+ raises (InvocationException);
+
+ void get(out long value)
+ raises (InvocationException);
+
+ void setStartCrashAbstractRecordAction(in CrashBehavior action)
+ raises (InvocationException);
+
+ void setEndCrashAbstractRecordAction(in CrashBehavior action)
+ raises (InvocationException);
+
+ boolean is_correct();
+
+ };
+
+ interface AfterCrashService
+ {
+ void get(out long value)
+ raises (InvocationException);
+ };
+
+};
+
+
+
Added: labs/jbosstm/trunk/qa/tests/idl/EnlistDelistEnlist01.idl
===================================================================
--- labs/jbosstm/trunk/qa/tests/idl/EnlistDelistEnlist01.idl (rev 0)
+++ labs/jbosstm/trunk/qa/tests/idl/EnlistDelistEnlist01.idl 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,68 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 2000,
+//
+// Arjuna Solutions, Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: EnlistDelistEnlist01.idl,v 1.3 2004/03/19 15:43:51 jcoleman Exp $
+//
+
+
+
+
+#include <CosTransactions.idl>
+
+
+#pragma prefix "qa.jbossts.jboss.org"
+
+
+
+
+module EnlistDelistEnlist01
+{
+ exception InvocationException {};
+
+ interface Service
+ {
+ void begin_begin()
+ raises (InvocationException);
+
+ void begin_enlist_delist_enlist_commit()
+ raises (InvocationException);
+
+ void begin_enlist_delist_close_commit()
+ raises (InvocationException);
+
+ void begin_enlist_enlist_delist_commit()
+ raises (InvocationException);
+
+ boolean isCorrect()
+ raises (InvocationException);
+
+
+ };
+};
+
+
Added: labs/jbosstm/trunk/qa/tests/idl/Hammer01.idl
===================================================================
--- labs/jbosstm/trunk/qa/tests/idl/Hammer01.idl (rev 0)
+++ labs/jbosstm/trunk/qa/tests/idl/Hammer01.idl 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,69 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 2000,
+//
+// Arjuna Solutions, Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: Hammer01.idl,v 1.3 2004/03/19 15:43:51 jcoleman Exp $
+//
+
+
+
+
+#include <CosTransactions.idl>
+
+
+#pragma prefix "qa.jbossts.jboss.org"
+
+
+
+
+module Hammer01
+{
+ enum Reason
+ {
+ ReasonUnknown,
+ ReasonConcurrencyControl
+ };
+
+ exception InvocationException
+ {
+ Reason myreason;
+ };
+
+ interface Matrix : CosTransactions::TransactionalObject
+ {
+ long get_width()
+ raises (InvocationException);
+ long get_height()
+ raises (InvocationException);
+ void get_value(in long x, in long y, out long value)
+ raises (InvocationException);
+ void set_value(in long x, in long y, in long value)
+ raises (InvocationException);
+ };
+};
+
+
Added: labs/jbosstm/trunk/qa/tests/idl/Hammer02.idl
===================================================================
--- labs/jbosstm/trunk/qa/tests/idl/Hammer02.idl (rev 0)
+++ labs/jbosstm/trunk/qa/tests/idl/Hammer02.idl 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,69 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 2000,
+//
+// Arjuna Solutions, Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: Hammer02.idl,v 1.3 2004/03/19 15:43:51 jcoleman Exp $
+//
+
+
+
+
+#include <CosTransactions.idl>
+
+
+#pragma prefix "qa.jbossts.jboss.org"
+
+
+
+
+module Hammer02
+{
+ enum Reason
+ {
+ ReasonUnknown,
+ ReasonConcurrencyControl
+ };
+
+ exception InvocationException
+ {
+ Reason myreason;
+ };
+
+ interface Matrix
+ {
+ long get_width()
+ raises (InvocationException);
+ long get_height()
+ raises (InvocationException);
+ void get_value(in long x, in long y, out long value, in CosTransactions::Control ctrl)
+ raises (InvocationException);
+ void set_value(in long x, in long y, in long value, in CosTransactions::Control ctrl)
+ raises (InvocationException);
+ };
+};
+
+
Added: labs/jbosstm/trunk/qa/tests/idl/Issues0001.idl
===================================================================
--- labs/jbosstm/trunk/qa/tests/idl/Issues0001.idl (rev 0)
+++ labs/jbosstm/trunk/qa/tests/idl/Issues0001.idl 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,58 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 2000,
+//
+// Arjuna Solutions, Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: Issues0001.idl,v 1.3 2004/03/19 15:43:51 jcoleman Exp $
+//
+
+
+
+
+#include <CosTransactions.idl>
+
+
+#pragma prefix "qa.jbossts.jboss.org"
+
+
+
+
+module Issues0001
+{
+ exception InvocationException {};
+
+ interface Counter : CosTransactions::TransactionalObject
+ {
+ void get(out long value)
+ raises (InvocationException);
+ void set(in long value)
+ raises (InvocationException);
+ void increase()
+ raises (InvocationException);
+ };
+};
+
+
Added: labs/jbosstm/trunk/qa/tests/idl/JDBCResources01.idl
===================================================================
--- labs/jbosstm/trunk/qa/tests/idl/JDBCResources01.idl (rev 0)
+++ labs/jbosstm/trunk/qa/tests/idl/JDBCResources01.idl 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,60 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 2000,
+//
+// Arjuna Solutions, Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: JDBCResources01.idl,v 1.3 2004/03/19 15:43:51 jcoleman Exp $
+//
+
+
+
+
+#include <CosTransactions.idl>
+
+
+#pragma prefix "qa.jbossts.jboss.org"
+
+
+
+
+module JDBCResources01
+{
+ exception InvocationException {};
+
+ interface InfoTable : CosTransactions::TransactionalObject
+ {
+ void insert(in string name, in string value)
+ raises (InvocationException);
+ void update(in string name, in string value)
+ raises (InvocationException);
+ void select(in string name, out string value)
+ raises (InvocationException);
+ void delete(in string name)
+ raises (InvocationException);
+ };
+};
+
+
Added: labs/jbosstm/trunk/qa/tests/idl/JDBCResources02.idl
===================================================================
--- labs/jbosstm/trunk/qa/tests/idl/JDBCResources02.idl (rev 0)
+++ labs/jbosstm/trunk/qa/tests/idl/JDBCResources02.idl 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,60 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 2000,
+//
+// Arjuna Solutions, Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: JDBCResources02.idl,v 1.3 2004/03/19 15:43:51 jcoleman Exp $
+//
+
+
+
+
+#include <CosTransactions.idl>
+
+
+#pragma prefix "qa.jbossts.jboss.org"
+
+
+
+
+module JDBCResources02
+{
+ exception InvocationException {};
+
+ interface InfoTable
+ {
+ void insert(in string name, in string value, in CosTransactions::Control ctrl)
+ raises (InvocationException);
+ void update(in string name, in string value, in CosTransactions::Control ctrl)
+ raises (InvocationException);
+ void select(in string name, out string value, in CosTransactions::Control ctrl)
+ raises (InvocationException);
+ void delete(in string name, in CosTransactions::Control ctrl)
+ raises (InvocationException);
+ };
+};
+
+
Added: labs/jbosstm/trunk/qa/tests/idl/JDBCResources03.idl
===================================================================
--- labs/jbosstm/trunk/qa/tests/idl/JDBCResources03.idl (rev 0)
+++ labs/jbosstm/trunk/qa/tests/idl/JDBCResources03.idl 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,65 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 2000,
+//
+// Arjuna Solutions, Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: JDBCResources03.idl,v 1.3 2004/03/19 15:43:51 jcoleman Exp $
+//
+
+
+
+
+#include <CosTransactions.idl>
+
+
+#pragma prefix "qa.jbossts.jboss.org"
+
+
+
+
+module JDBCResources03
+{
+ enum Reason {
+ ReasonCantSerializeAccess,
+ ReasonUnknown
+ };
+
+ exception InvocationException {
+ Reason myreason;
+ };
+
+ interface NumberTable : CosTransactions::TransactionalObject
+ {
+ void get(in string name, out long value)
+ raises (InvocationException);
+ void set(in string name, in long value)
+ raises (InvocationException);
+ void increase(in string name)
+ raises (InvocationException);
+ };
+};
+
+
Added: labs/jbosstm/trunk/qa/tests/idl/JDBCResources04.idl
===================================================================
--- labs/jbosstm/trunk/qa/tests/idl/JDBCResources04.idl (rev 0)
+++ labs/jbosstm/trunk/qa/tests/idl/JDBCResources04.idl 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,65 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 2000,
+//
+// Arjuna Solutions, Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: JDBCResources04.idl,v 1.3 2004/03/19 15:43:51 jcoleman Exp $
+//
+
+
+
+
+#include <CosTransactions.idl>
+
+
+#pragma prefix "qa.jbossts.jboss.org"
+
+
+
+
+module JDBCResources04
+{
+ enum Reason {
+ ReasonCantSerializeAccess,
+ ReasonUnknown
+ };
+
+ exception InvocationException {
+ Reason myreason;
+ };
+
+ interface NumberTable
+ {
+ void get(in string name, out long value, in CosTransactions::Control ctrl)
+ raises (InvocationException);
+ void set(in string name, in long value, in CosTransactions::Control ctrl)
+ raises (InvocationException);
+ void increase(in string name, in CosTransactions::Control ctrl)
+ raises (InvocationException);
+ };
+};
+
+
Added: labs/jbosstm/trunk/qa/tests/idl/PerfProfile01.idl
===================================================================
--- labs/jbosstm/trunk/qa/tests/idl/PerfProfile01.idl (rev 0)
+++ labs/jbosstm/trunk/qa/tests/idl/PerfProfile01.idl 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,98 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 2000,
+//
+// Arjuna Solutions, Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: PerfProfile01.idl,v 1.3 2004/03/19 15:43:51 jcoleman Exp $
+//
+
+
+
+
+#include <CosTransactions.idl>
+
+
+#pragma prefix "qa.jbossts.jboss.org"
+
+
+
+
+module PerfProfile01
+{
+ exception InvocationException {};
+
+ interface NullObject
+ {
+ void nulloper()
+ raises (InvocationException);
+ };
+
+ interface ImplicitObject : CosTransactions::TransactionalObject
+ {
+ void no_tran_nulloper()
+ raises (InvocationException);
+ void no_tran_readlock()
+ raises (InvocationException);
+ void no_tran_writelock()
+ raises (InvocationException);
+ void tran_commit_nulloper()
+ raises (InvocationException);
+ void tran_commit_readlock()
+ raises (InvocationException);
+ void tran_commit_writelock()
+ raises (InvocationException);
+ void tran_rollback_nulloper()
+ raises (InvocationException);
+ void tran_rollback_readlock()
+ raises (InvocationException);
+ void tran_rollback_writelock()
+ raises (InvocationException);
+ };
+
+ interface ExplicitObject
+ {
+ void no_tran_nulloper(in CosTransactions::Control ctrl)
+ raises (InvocationException);
+ void no_tran_readlock(in CosTransactions::Control ctrl)
+ raises (InvocationException);
+ void no_tran_writelock(in CosTransactions::Control ctrl)
+ raises (InvocationException);
+ void tran_commit_nulloper(in CosTransactions::Control ctrl)
+ raises (InvocationException);
+ void tran_commit_readlock(in CosTransactions::Control ctrl)
+ raises (InvocationException);
+ void tran_commit_writelock(in CosTransactions::Control ctrl)
+ raises (InvocationException);
+ void tran_rollback_nulloper(in CosTransactions::Control ctrl)
+ raises (InvocationException);
+ void tran_rollback_readlock(in CosTransactions::Control ctrl)
+ raises (InvocationException);
+ void tran_rollback_writelock(in CosTransactions::Control ctrl)
+ raises (InvocationException);
+ };
+};
+
+
Added: labs/jbosstm/trunk/qa/tests/idl/RawResources01.idl
===================================================================
--- labs/jbosstm/trunk/qa/tests/idl/RawResources01.idl (rev 0)
+++ labs/jbosstm/trunk/qa/tests/idl/RawResources01.idl 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,111 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 2000,
+//
+// Arjuna Solutions, Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: RawResources01.idl,v 1.3 2004/03/19 15:43:51 jcoleman Exp $
+//
+
+
+
+
+#include <CosTransactions.idl>
+
+
+#pragma prefix "qa.jbossts.jboss.org"
+
+
+
+
+module RawResources01
+{
+ enum PrepareBehavior
+ {
+ PrepareBehaviorReturnVoteCommit,
+ PrepareBehaviorReturnVoteRollback,
+ PrepareBehaviorReturnVoteReadOnly,
+ PrepareBehaviorRaiseHeuristicMixed,
+ PrepareBehaviorRaiseHeuristicHazard
+ };
+
+ enum RollbackBehavior
+ {
+ RollbackBehaviorReturn,
+ RollbackBehaviorRaiseHeuristicCommit,
+ RollbackBehaviorRaiseHeuristicMixed,
+ RollbackBehaviorRaiseHeuristicHazard
+ };
+
+ enum CommitBehavior
+ {
+ CommitBehaviorReturn,
+ CommitBehaviorRaiseNotPrepared,
+ CommitBehaviorRaiseHeuristicRollback,
+ CommitBehaviorRaiseHeuristicMixed,
+ CommitBehaviorRaiseHeuristicHazard
+ };
+
+ enum CommitOnePhaseBehavior
+ {
+ CommitOnePhaseBehaviorReturn,
+ CommitOnePhaseBehaviorRaiseHeuristicHazard,
+ CommitOnePhaseBehaviorRaiseTransactionRolledback
+ };
+
+ struct ResourceBehavior
+ {
+ PrepareBehavior prepare_behavior;
+ RollbackBehavior rollback_behavior;
+ CommitBehavior commit_behavior;
+ CommitOnePhaseBehavior commitonephase_behavior;
+ };
+ typedef sequence<ResourceBehavior> ResourceBehaviorSeq;
+
+ enum ResourceTrace
+ {
+ ResourceTraceUnknown,
+ ResourceTraceNone,
+ ResourceTracePrepare,
+ ResourceTracePrepareCommit,
+ ResourceTracePrepareRollback,
+ ResourceTraceCommitOnePhase,
+ ResourceTraceRollback,
+ ResourceTracePrepareForget,
+ ResourceTracePrepareCommitForget,
+ ResourceTracePrepareRollbackForget,
+ ResourceTraceCommitOnePhaseForget
+ };
+
+ interface Service : CosTransactions::TransactionalObject
+ {
+ void oper(in ResourceBehaviorSeq resource_behaviors);
+
+ boolean is_correct();
+ ResourceTrace get_resource_trace(in long resource_number);
+ };
+};
+
+
Added: labs/jbosstm/trunk/qa/tests/idl/RawResources02.idl
===================================================================
--- labs/jbosstm/trunk/qa/tests/idl/RawResources02.idl (rev 0)
+++ labs/jbosstm/trunk/qa/tests/idl/RawResources02.idl 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,111 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 2000,
+//
+// Arjuna Solutions, Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: RawResources02.idl,v 1.3 2004/03/19 15:43:51 jcoleman Exp $
+//
+
+
+
+
+#include <CosTransactions.idl>
+
+
+#pragma prefix "qa.jbossts.jboss.org"
+
+
+
+
+module RawResources02
+{
+ enum PrepareBehavior
+ {
+ PrepareBehaviorReturnVoteCommit,
+ PrepareBehaviorReturnVoteRollback,
+ PrepareBehaviorReturnVoteReadOnly,
+ PrepareBehaviorRaiseHeuristicMixed,
+ PrepareBehaviorRaiseHeuristicHazard
+ };
+
+ enum RollbackBehavior
+ {
+ RollbackBehaviorReturn,
+ RollbackBehaviorRaiseHeuristicCommit,
+ RollbackBehaviorRaiseHeuristicMixed,
+ RollbackBehaviorRaiseHeuristicHazard
+ };
+
+ enum CommitBehavior
+ {
+ CommitBehaviorReturn,
+ CommitBehaviorRaiseNotPrepared,
+ CommitBehaviorRaiseHeuristicRollback,
+ CommitBehaviorRaiseHeuristicMixed,
+ CommitBehaviorRaiseHeuristicHazard
+ };
+
+ enum CommitOnePhaseBehavior
+ {
+ CommitOnePhaseBehaviorReturn,
+ CommitOnePhaseBehaviorRaiseHeuristicHazard,
+ CommitOnePhaseBehaviorRaiseTransactionRolledback
+ };
+
+ struct ResourceBehavior
+ {
+ PrepareBehavior prepare_behavior;
+ RollbackBehavior rollback_behavior;
+ CommitBehavior commit_behavior;
+ CommitOnePhaseBehavior commitonephase_behavior;
+ };
+ typedef sequence<ResourceBehavior> ResourceBehaviorSeq;
+
+ enum ResourceTrace
+ {
+ ResourceTraceUnknown,
+ ResourceTraceNone,
+ ResourceTracePrepare,
+ ResourceTracePrepareCommit,
+ ResourceTracePrepareRollback,
+ ResourceTraceCommitOnePhase,
+ ResourceTraceRollback,
+ ResourceTracePrepareForget,
+ ResourceTracePrepareCommitForget,
+ ResourceTracePrepareRollbackForget,
+ ResourceTraceCommitOnePhaseForget
+ };
+
+ interface Service
+ {
+ void oper(in ResourceBehaviorSeq resource_behaviors, in CosTransactions::Control ctrl);
+
+ boolean is_correct();
+ ResourceTrace get_resource_trace(in long resource_number);
+ };
+};
+
+
Added: labs/jbosstm/trunk/qa/tests/idl/RawSubtransactionAwareResources01.idl
===================================================================
--- labs/jbosstm/trunk/qa/tests/idl/RawSubtransactionAwareResources01.idl (rev 0)
+++ labs/jbosstm/trunk/qa/tests/idl/RawSubtransactionAwareResources01.idl 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,62 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 2000,
+//
+// Arjuna Solutions, Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: RawSubtransactionAwareResources01.idl,v 1.3 2004/03/19 15:43:51 jcoleman Exp $
+//
+
+
+
+
+#include <CosTransactions.idl>
+
+
+#pragma prefix "qa.jbossts.jboss.org"
+
+
+
+
+module RawSubtransactionAwareResources01
+{
+ enum SubtransactionAwareResourceTrace
+ {
+ SubtransactionAwareResourceTraceUnknown,
+ SubtransactionAwareResourceTraceNone,
+ SubtransactionAwareResourceTraceCommitSubtransaction,
+ SubtransactionAwareResourceTraceRollbackSubtransaction
+ };
+
+ interface Service : CosTransactions::TransactionalObject
+ {
+ void oper(in long subtransaction_aware_resource_number);
+
+ boolean is_correct();
+ SubtransactionAwareResourceTrace get_subtransaction_aware_resource_trace(in long subtransaction_aware_resource_number);
+ };
+};
+
+
Added: labs/jbosstm/trunk/qa/tests/idl/RawSubtransactionAwareResources02.idl
===================================================================
--- labs/jbosstm/trunk/qa/tests/idl/RawSubtransactionAwareResources02.idl (rev 0)
+++ labs/jbosstm/trunk/qa/tests/idl/RawSubtransactionAwareResources02.idl 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,62 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 2000,
+//
+// Arjuna Solutions, Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: RawSubtransactionAwareResources02.idl,v 1.3 2004/03/19 15:43:51 jcoleman Exp $
+//
+
+
+
+
+#include <CosTransactions.idl>
+
+
+#pragma prefix "qa.jbossts.jboss.org"
+
+
+
+
+module RawSubtransactionAwareResources02
+{
+ enum SubtransactionAwareResourceTrace
+ {
+ SubtransactionAwareResourceTraceUnknown,
+ SubtransactionAwareResourceTraceNone,
+ SubtransactionAwareResourceTraceCommitSubtransaction,
+ SubtransactionAwareResourceTraceRollbackSubtransaction
+ };
+
+ interface Service
+ {
+ void oper(in long subtransaction_aware_resource_number, in CosTransactions::Control ctrl);
+
+ boolean is_correct();
+ SubtransactionAwareResourceTrace get_subtransaction_aware_resource_trace(in long subtransaction_aware_resource_number);
+ };
+};
+
+
Added: labs/jbosstm/trunk/qa/tests/idl/SupportTests01.idl
===================================================================
--- labs/jbosstm/trunk/qa/tests/idl/SupportTests01.idl (rev 0)
+++ labs/jbosstm/trunk/qa/tests/idl/SupportTests01.idl 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,57 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 2000,
+//
+// Arjuna Solutions, Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: SupportTests01.idl,v 1.3 2004/03/19 15:43:52 jcoleman Exp $
+//
+
+
+
+#include <CosTransactions.idl>
+
+
+#pragma prefix "qa.jbossts.jboss.org"
+
+
+
+
+module SupportTests01
+{
+ exception InvocationException {};
+
+ interface Service
+ {
+ void test()
+ raises (InvocationException);
+ boolean isCorrect()
+ raises (InvocationException);
+ };
+};
+
+
+
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,115 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.AITResources01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client01.java,v 1.2 2003/06/26 11:43:06 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client01.java,v 1.2 2003/06/26 11:43:06 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.AITResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.IntHolder;
+
+public class Client01
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String counterIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Counter counter = CounterHelper.narrow(ORBInterface.orb().string_to_object(counterIOR));
+
+ int numberOfCalls = 1000;
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ counter.increase();
+ }
+
+ IntHolder value = new IntHolder();
+ counter.get(value);
+
+ if (value.value == numberOfCalls)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,135 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.AITResources01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client02.java,v 1.2 2003/06/26 11:43:06 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client02.java,v 1.2 2003/06/26 11:43:06 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import org.jboss.jbossts.qa.AITResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.IntHolder;
+
+public class Client02
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String counterIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Counter counter = CounterHelper.narrow(ORBInterface.orb().string_to_object(counterIOR));
+
+ int numberOfCalls = 1000;
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ counter.increase();
+
+ if ((index % 2) == 0)
+ {
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ atomicTransaction.rollback();
+ }
+ }
+
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ IntHolder value = new IntHolder();
+ counter.get(value);
+
+ atomicTransaction.commit(true);
+
+ if (value.value == (numberOfCalls / 2))
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client02.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client02.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client03.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client03.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client03.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,165 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+///////////////////////////////////////////////////////////////////////////////////////////
+//
+// Copyright (C) 2001, HP Bluestone Arjuna.
+//
+// File : Client03.javatmpl (AITResources01)
+//
+// Description : Memory Test version of Client01 (counter increase & check - no client trans).
+//
+// Client performs a specified number of remote calls before
+// the memory growth is checked. If client or server memory growth
+// exceeds specified parameters then the test fails and "Failed" is output.
+// Otherwise "Passed" is output.
+//
+// Author : Stewart Wheater
+//
+// History : 1.0 25 Feb 2000 S Wheater Creation.
+// 1.1 07 Jul 2001 M Buckingham Added facility to use client/server
+// thresholds in config file
+// MemoryTestProfile.
+//
+///////////////////////////////////////////////////////////////////////////////////////////
+
+package org.jboss.jbossts.qa.AITResources01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client03.java,v 1.2 2003/06/26 11:43:07 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client03.java,v 1.2 2003/06/26 11:43:07 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.AITResources01.*;
+import org.jboss.jbossts.qa.Utils.*;
+
+public class Client03
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String counterIOR = ServerIORStore.loadIOR(args[args.length - 4]);
+ Counter counter = CounterHelper.narrow(ORBInterface.orb().string_to_object(counterIOR));
+
+ int numberOfCalls = Integer.parseInt(args[args.length - 3]);
+
+ float clientIncreaseThreshold;
+ float serverIncreaseThreshold;
+
+ // If no threshold value then use default.
+ if (MemoryTestProfileStore.getNoThresholdValue().equals(args[args.length - 2]))
+ {
+ clientIncreaseThreshold = Float.parseFloat(MemoryTestProfileStore.getDefaultClientIncreaseThreshold());
+ }
+ else // Use passed threshold
+ {
+ clientIncreaseThreshold = Float.parseFloat(args[args.length - 2]);
+ }
+
+ // If no threshold value then use default.
+ if (MemoryTestProfileStore.getNoThresholdValue().equals(args[args.length - 1]))
+ {
+ serverIncreaseThreshold = Float.parseFloat(MemoryTestProfileStore.getDefaultServerIncreaseThreshold());
+ }
+ else // Use passed threshold
+ {
+ serverIncreaseThreshold = Float.parseFloat(args[args.length - 1]);
+ }
+
+ counter.increase();
+
+ int clientMemory0 = (int) JVMStats.getMemory();
+ int serverMemory0 = counter.getMemory();
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ counter.increase();
+ }
+
+ int clientMemory1 = (int) JVMStats.getMemory();
+ int serverMemory1 = counter.getMemory();
+
+ float clientMemoryIncrease = ((float) (clientMemory1 - clientMemory0)) / ((float) clientMemory0);
+ float serverMemoryIncrease = ((float) (serverMemory1 - serverMemory0)) / ((float) serverMemory0);
+
+ System.err.println("Client memory increase threshold : " + (float) (100.0 * clientIncreaseThreshold) + "%");
+ System.err.println("Server memory increase threshold : " + (float) (100.0 * serverIncreaseThreshold) + "%");
+
+ System.err.println("Client percentage memory increase: " + (float) (100.0 * clientMemoryIncrease) + "%");
+ System.err.println("Client memory increase per call : " + (clientMemory1 - clientMemory0) / numberOfCalls);
+ System.err.println("Server percentage memory increase: " + (float) (100.0 * serverMemoryIncrease) + "%");
+ System.err.println("Server memory increase per call : " + (serverMemory1 - serverMemory0) / numberOfCalls);
+
+ if ((clientMemoryIncrease < clientIncreaseThreshold) && (serverMemoryIncrease < serverIncreaseThreshold))
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client03.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client03.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client04.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client04.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client04.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,194 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+///////////////////////////////////////////////////////////////////////////////////////////
+//
+// Copyright (C) 2001, HP Bluestone Arjuna.
+//
+// File : Client04.javatmpl (AITResources01)
+//
+// Description : Memory Test version of Client02. (counter increase & check - with trans).
+//
+// Client performs a specified number of remote calls before
+// the memory growth is checked. If client or server memory growth
+// exceeds specified parameters then the test fails and "Failed" is output.
+// Otherwise "Passed" is output.
+//
+// Author : Stewart Wheater
+//
+// History : 1.0 25 Feb 2000 S Wheater Creation.
+// 1.1 07 Jul 2001 M Buckingham Added facility to use client/server
+// thresholds in config file
+// MemoryTestProfile.
+//
+///////////////////////////////////////////////////////////////////////////////////////////
+
+package org.jboss.jbossts.qa.AITResources01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client04.java,v 1.2 2003/06/26 11:43:07 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client04.java,v 1.2 2003/06/26 11:43:07 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import org.jboss.jbossts.qa.AITResources01.*;
+import org.jboss.jbossts.qa.Utils.*;
+
+public class Client04
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String counterIOR = ServerIORStore.loadIOR(args[args.length - 4]);
+ Counter counter = CounterHelper.narrow(ORBInterface.orb().string_to_object(counterIOR));
+
+ int numberOfCalls = Integer.parseInt(args[args.length - 3]);
+
+ float clientIncreaseThreshold;
+ float serverIncreaseThreshold;
+
+ // If no threshold value then use default.
+ if (MemoryTestProfileStore.getNoThresholdValue().equals(args[args.length - 2]))
+ {
+ clientIncreaseThreshold = Float.parseFloat(MemoryTestProfileStore.getDefaultClientIncreaseThreshold());
+ }
+ else // Use passed threshold
+ {
+ clientIncreaseThreshold = Float.parseFloat(args[args.length - 2]);
+ }
+
+ // If no threshold value then use default.
+ if (MemoryTestProfileStore.getNoThresholdValue().equals(args[args.length - 1]))
+ {
+ serverIncreaseThreshold = Float.parseFloat(MemoryTestProfileStore.getDefaultServerIncreaseThreshold());
+ }
+ else // Use passed threshold
+ {
+ serverIncreaseThreshold = Float.parseFloat(args[args.length - 1]);
+ }
+
+ for (int index = 0; index < 2; index++)
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ counter.increase();
+
+ if ((index % 2) == 0)
+ {
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ atomicTransaction.rollback();
+ }
+ }
+
+ int clientMemory0 = (int) JVMStats.getMemory();
+ int serverMemory0 = counter.getMemory();
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ counter.increase();
+
+ if ((index % 2) == 0)
+ {
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ atomicTransaction.rollback();
+ }
+ }
+
+ int clientMemory1 = (int) JVMStats.getMemory();
+ int serverMemory1 = counter.getMemory();
+
+ float clientMemoryIncrease = ((float) (clientMemory1 - clientMemory0)) / ((float) clientMemory0);
+ float serverMemoryIncrease = ((float) (serverMemory1 - serverMemory0)) / ((float) serverMemory0);
+
+ System.err.println("Client memory increase threshold : " + (float) (100.0 * clientIncreaseThreshold) + "%");
+ System.err.println("Server memory increase threshold : " + (float) (100.0 * serverIncreaseThreshold) + "%");
+
+ System.err.println("Client percentage memory increase: " + (float) (100.0 * clientMemoryIncrease) + "%");
+ System.err.println("Client memory increase per call : " + (clientMemory1 - clientMemory0) / numberOfCalls);
+ System.err.println("Server percentage memory increase: " + (float) (100.0 * serverMemoryIncrease) + "%");
+ System.err.println("Server memory increase per call : " + (serverMemory1 - serverMemory0) / numberOfCalls);
+
+ if ((clientMemoryIncrease < clientIncreaseThreshold) && (serverMemoryIncrease < clientIncreaseThreshold))
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client04.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client04.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client05.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client05.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client05.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,115 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.AITResources01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client05.java,v 1.2 2003/06/26 11:43:07 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client05.java,v 1.2 2003/06/26 11:43:07 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.AITResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.IntHolder;
+
+public class Client05
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String pingPongIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ PingPong pingPong = PingPongHelper.narrow(ORBInterface.orb().string_to_object(pingPongIOR));
+
+ int numberOfCalls = 10;
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ pingPong.hit(index, pingPong, pingPong);
+ }
+
+ IntHolder pingPongValue = new IntHolder();
+ pingPong.get(pingPongValue);
+
+ if (pingPongValue.value == numberOfCalls)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client05.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client05.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client06.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client06.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client06.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,121 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.AITResources01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client06.java,v 1.2 2003/06/26 11:43:07 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client06.java,v 1.2 2003/06/26 11:43:07 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.AITResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.IntHolder;
+
+public class Client06
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String pingerIOR = ServerIORStore.loadIOR(args[args.length - 2]);
+ PingPong pinger = PingPongHelper.narrow(ORBInterface.orb().string_to_object(pingerIOR));
+
+ String pongerIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ PingPong ponger = PingPongHelper.narrow(ORBInterface.orb().string_to_object(pongerIOR));
+
+ int numberOfCalls = 10;
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ pinger.hit(index, ponger, pinger);
+ }
+
+ IntHolder pingerValue = new IntHolder();
+ pinger.get(pingerValue);
+
+ IntHolder pongerValue = new IntHolder();
+ ponger.get(pongerValue);
+
+ if ((pingerValue.value == (numberOfCalls / 2)) && (pongerValue.value == (numberOfCalls / 2)))
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client06.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client06.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client07.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client07.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client07.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,164 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+///////////////////////////////////////////////////////////////////////////////////////////
+//
+// Copyright (C) 2001, HP Bluestone Arjuna.
+//
+// File : Client07.javatmpl (AITResources01)
+//
+// Description : Memory Test version of Client05 (Ping Pong Test with no client transaction).
+//
+// Client performs a specified number of remote calls before
+// the memory growth is checked. If client or server memory growth
+// exceeds specified parameters then the test fails and "Failed" is output.
+// Otherwise "Passed" is output.
+//
+// Author : Stewart Wheater
+//
+// History : 1.0 25 Feb 2000 S Wheater Creation.
+// 1.1 07 Jul 2001 M Buckingham Added facility to use client/server
+// thresholds in config file
+// MemoryTestProfile.
+//
+///////////////////////////////////////////////////////////////////////////////////////////
+
+package org.jboss.jbossts.qa.AITResources01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client07.java,v 1.2 2003/06/26 11:43:07 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client07.java,v 1.2 2003/06/26 11:43:07 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.AITResources01.*;
+import org.jboss.jbossts.qa.Utils.*;
+
+public class Client07
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String pingPongIOR = ServerIORStore.loadIOR(args[args.length - 4]);
+ PingPong pingPong = PingPongHelper.narrow(ORBInterface.orb().string_to_object(pingPongIOR));
+
+ int numberOfCalls = Integer.parseInt(args[args.length - 3]);
+
+ float clientIncreaseThreshold;
+ float serverIncreaseThreshold;
+
+ // If no threshold value then use default.
+ if (MemoryTestProfileStore.getNoThresholdValue().equals(args[args.length - 2]))
+ {
+ clientIncreaseThreshold = Float.parseFloat(MemoryTestProfileStore.getDefaultClientIncreaseThreshold());
+ }
+ else // Use passed threshold
+ {
+ clientIncreaseThreshold = Float.parseFloat(args[args.length - 2]);
+ }
+
+ // If no threshold value then use default.
+ if (MemoryTestProfileStore.getNoThresholdValue().equals(args[args.length - 1]))
+ {
+ serverIncreaseThreshold = Float.parseFloat(MemoryTestProfileStore.getDefaultServerIncreaseThreshold());
+ }
+ else // Use passed threshold
+ {
+ serverIncreaseThreshold = Float.parseFloat(args[args.length - 1]);
+ }
+
+ pingPong.hit(0, pingPong, pingPong);
+
+ int clientMemory0 = (int) JVMStats.getMemory();
+ int serverMemory0 = pingPong.getMemory();
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ pingPong.hit(index, pingPong, pingPong);
+ }
+
+ int clientMemory1 = (int) JVMStats.getMemory();
+ int serverMemory1 = pingPong.getMemory();
+
+ float clientMemoryIncrease = ((float) (clientMemory1 - clientMemory0)) / ((float) clientMemory0);
+ float serverMemoryIncrease = ((float) (serverMemory1 - serverMemory0)) / ((float) serverMemory0);
+
+ System.err.println("Client memory increase threshold : " + (float) (100.0 * clientIncreaseThreshold) + "%");
+ System.err.println("Server memory increase threshold : " + (float) (100.0 * serverIncreaseThreshold) + "%");
+
+ System.err.println("Client percentage memory increase: " + (float) (100.0 * clientMemoryIncrease) + "%");
+ System.err.println("Client memory increase per call : " + (clientMemory1 - clientMemory0) / numberOfCalls);
+ System.err.println("Server percentage memory increase: " + (float) (100.0 * serverMemoryIncrease) + "%");
+ System.err.println("Server memory increase per call : " + (serverMemory1 - serverMemory0) / numberOfCalls);
+
+ if ((clientMemoryIncrease < clientIncreaseThreshold) && (serverMemoryIncrease < serverIncreaseThreshold))
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client07.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client07.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client08.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client08.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client08.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,173 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+///////////////////////////////////////////////////////////////////////////////////////////
+//
+// Copyright (C) 2001, HP Bluestone Arjuna.
+//
+// File : Client08.javatmpl (AITResources01)
+//
+// Description : Memory Test version of Client06 (ping pong test with no client transaction).
+//
+// Client performs a specified number of remote calls before
+// the memory growth is checked. If client or server memory growth
+// exceeds specified parameters then the test fails and "Failed" is output.
+// Otherwise "Passed" is output.
+//
+// Author : Stewart Wheater
+//
+// History : 1.0 25 Feb 2000 S Wheater Creation.
+// 1.1 07 Jul 2001 M Buckingham Added facility to use client/server
+// thresholds in config file
+// MemoryTestProfile.
+//
+///////////////////////////////////////////////////////////////////////////////////////////
+
+package org.jboss.jbossts.qa.AITResources01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client08.java,v 1.2 2003/06/26 11:43:07 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client08.java,v 1.2 2003/06/26 11:43:07 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.AITResources01.*;
+import org.jboss.jbossts.qa.Utils.*;
+
+public class Client08
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String pingerIOR = ServerIORStore.loadIOR(args[args.length - 5]);
+ PingPong pinger = PingPongHelper.narrow(ORBInterface.orb().string_to_object(pingerIOR));
+
+ String pongerIOR = ServerIORStore.loadIOR(args[args.length - 4]);
+ PingPong ponger = PingPongHelper.narrow(ORBInterface.orb().string_to_object(pongerIOR));
+
+ int numberOfCalls = Integer.parseInt(args[args.length - 3]);
+
+ float clientIncreaseThreshold;
+ float serverIncreaseThreshold;
+
+ // If no threshold value then use default.
+ if (MemoryTestProfileStore.getNoThresholdValue().equals(args[args.length - 2]))
+ {
+ clientIncreaseThreshold = Float.parseFloat(MemoryTestProfileStore.getDefaultClientIncreaseThreshold());
+ }
+ else // Use passed threshold
+ {
+ clientIncreaseThreshold = Float.parseFloat(args[args.length - 2]);
+ }
+
+ // If no threshold value then use default.
+ if (MemoryTestProfileStore.getNoThresholdValue().equals(args[args.length - 1]))
+ {
+ serverIncreaseThreshold = Float.parseFloat(MemoryTestProfileStore.getDefaultServerIncreaseThreshold());
+ }
+ else // Use passed threshold
+ {
+ serverIncreaseThreshold = Float.parseFloat(args[args.length - 1]);
+ }
+
+ pinger.hit(numberOfCalls, pinger, pinger);
+ ponger.hit(numberOfCalls, ponger, ponger);
+
+ int clientMemory0 = (int) JVMStats.getMemory();
+ int server1Memory0 = pinger.getMemory();
+ int server2Memory0 = ponger.getMemory();
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ pinger.hit(index, ponger, pinger);
+ }
+
+ int clientMemory1 = (int) JVMStats.getMemory();
+ int server1Memory1 = pinger.getMemory();
+ int server2Memory1 = ponger.getMemory();
+
+ float clientMemoryIncrease = ((float) (clientMemory1 - clientMemory0)) / ((float) clientMemory0);
+ float server1MemoryIncrease = ((float) (server1Memory1 - server1Memory0)) / ((float) server1Memory0);
+ float server2MemoryIncrease = ((float) (server2Memory1 - server2Memory0)) / ((float) server2Memory0);
+
+ System.err.println("Client memory increase threshold : " + (float) (100.0 * clientIncreaseThreshold) + "%");
+ System.err.println("Server memory increase threshold : " + (float) (100.0 * serverIncreaseThreshold) + "%");
+
+ System.err.println("Client percentage memory increase: " + (float) (100.0 * clientMemoryIncrease) + "%");
+ System.err.println("Client memory increase per call : " + (clientMemory1 - clientMemory0) / numberOfCalls);
+ System.err.println("Server 1 percentage memory increase: " + (float) (100.0 * server1MemoryIncrease) + "%");
+ System.err.println("Server 1 memory increase per call : " + (server1Memory1 - server1Memory0) / numberOfCalls);
+ System.err.println("Server 2 percentage memory increase: " + (float) (100.0 * server2MemoryIncrease) + "%");
+ System.err.println("Server 2 memory increase per call : " + (server2Memory1 - server2Memory0) / numberOfCalls);
+
+ if ((clientMemoryIncrease < clientIncreaseThreshold) && (server1MemoryIncrease < serverIncreaseThreshold) && (server2MemoryIncrease < serverIncreaseThreshold))
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client08.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client08.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client09.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client09.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client09.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,112 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.AITResources01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client09.java,v 1.2 2003/06/26 11:43:07 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client09.java,v 1.2 2003/06/26 11:43:07 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.AITResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client09
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String counterIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Counter counter = CounterHelper.narrow(ORBInterface.orb().string_to_object(counterIOR));
+
+ int numberOfCalls = 1000;
+
+ int index = 0;
+ while (index < numberOfCalls)
+ {
+ try
+ {
+ counter.increase();
+ index++;
+ }
+ catch (InvocationException invocationException)
+ {
+ }
+ }
+
+ System.out.println("Passed");
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client09.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client09.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client10.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client10.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client10.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,118 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.AITResources01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client10.java,v 1.2 2003/06/26 11:43:07 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client10.java,v 1.2 2003/06/26 11:43:07 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.AITResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.IntHolder;
+
+public class Client10
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String pingPongIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ PingPong pingPong = PingPongHelper.narrow(ORBInterface.orb().string_to_object(pingPongIOR));
+
+ int numberOfCalls = 10;
+
+ for (int index0 = 0; index0 < numberOfCalls; index0++)
+ {
+ for (int index1 = 0; index1 <= index0; index1++)
+ {
+ pingPong.bad_hit(index0, index1, pingPong, pingPong);
+ }
+ }
+
+ IntHolder pingPongValue = new IntHolder();
+ pingPong.get(pingPongValue);
+
+ if (pingPongValue.value == 0)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client10.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client10.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client11.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client11.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client11.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,124 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.AITResources01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client11.java,v 1.2 2003/06/26 11:43:07 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client11.java,v 1.2 2003/06/26 11:43:07 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.AITResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.IntHolder;
+
+public class Client11
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String pingerIOR = ServerIORStore.loadIOR(args[args.length - 2]);
+ PingPong pinger = PingPongHelper.narrow(ORBInterface.orb().string_to_object(pingerIOR));
+
+ String pongerIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ PingPong ponger = PingPongHelper.narrow(ORBInterface.orb().string_to_object(pongerIOR));
+
+ int numberOfCalls = 10;
+
+ for (int index0 = 0; index0 < numberOfCalls; index0++)
+ {
+ for (int index1 = 0; index1 <= index0; index1++)
+ {
+ pinger.bad_hit(index0, index1, ponger, pinger);
+ }
+ }
+
+ IntHolder pingerValue = new IntHolder();
+ pinger.get(pingerValue);
+
+ IntHolder pongerValue = new IntHolder();
+ ponger.get(pongerValue);
+
+ if ((pingerValue.value == 0) && (pongerValue.value == 0))
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client11.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client11.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client12.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client12.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client12.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,167 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+///////////////////////////////////////////////////////////////////////////////////////////
+//
+// Copyright (C) 2001, HP Bluestone Arjuna.
+//
+// File : Client12.javatmpl (AITResources01)
+//
+// Description : Memory Test version of Client10 (ping pong test with no client transaction).
+//
+// Client performs a specified number of remote calls before
+// the memory growth is checked. If client or server memory growth
+// exceeds specified parameters then the test fails and "Failed" is output.
+// Otherwise "Passed" is output.
+//
+// Author : Stewart Wheater
+//
+// History : 1.0 25 Feb 2000 S Wheater Creation.
+// 1.1 07 Jul 2001 M Buckingham Added facility to use client/server
+// thresholds in config file
+// MemoryTestProfile.
+//
+///////////////////////////////////////////////////////////////////////////////////////////
+
+package org.jboss.jbossts.qa.AITResources01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client12.java,v 1.2 2003/06/26 11:43:07 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client12.java,v 1.2 2003/06/26 11:43:07 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.AITResources01.*;
+import org.jboss.jbossts.qa.Utils.*;
+
+public class Client12
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String pingPongIOR = ServerIORStore.loadIOR(args[args.length - 4]);
+ PingPong pingPong = PingPongHelper.narrow(ORBInterface.orb().string_to_object(pingPongIOR));
+
+ int numberOfCalls = Integer.parseInt(args[args.length - 3]);
+
+ float clientIncreaseThreshold;
+ float serverIncreaseThreshold;
+
+ // If no threshold value then use default.
+ if (MemoryTestProfileStore.getNoThresholdValue().equals(args[args.length - 2]))
+ {
+ clientIncreaseThreshold = Float.parseFloat(MemoryTestProfileStore.getDefaultClientIncreaseThreshold());
+ }
+ else // Use passed threshold
+ {
+ clientIncreaseThreshold = Float.parseFloat(args[args.length - 2]);
+ }
+
+ // If no threshold value then use default.
+ if (MemoryTestProfileStore.getNoThresholdValue().equals(args[args.length - 1]))
+ {
+ serverIncreaseThreshold = Float.parseFloat(MemoryTestProfileStore.getDefaultServerIncreaseThreshold());
+ }
+ else // Use passed threshold
+ {
+ serverIncreaseThreshold = Float.parseFloat(args[args.length - 1]);
+ }
+
+ pingPong.bad_hit(0, 0, pingPong, pingPong);
+
+ int clientMemory0 = (int) JVMStats.getMemory();
+ int serverMemory0 = pingPong.getMemory();
+
+ for (int index0 = 0; index0 < numberOfCalls; index0++)
+ {
+ for (int index1 = 0; index1 <= index0; index1++)
+ {
+ pingPong.bad_hit(index0, index1, pingPong, pingPong);
+ }
+ }
+
+ int clientMemory1 = (int) JVMStats.getMemory();
+ int serverMemory1 = pingPong.getMemory();
+
+ float clientMemoryIncrease = ((float) (clientMemory1 - clientMemory0)) / ((float) clientMemory0);
+ float serverMemoryIncrease = ((float) (serverMemory1 - serverMemory0)) / ((float) serverMemory0);
+
+ System.err.println("Client memory increase threshold : " + (float) (100.0 * clientIncreaseThreshold) + "%");
+ System.err.println("Server memory increase threshold : " + (float) (100.0 * serverIncreaseThreshold) + "%");
+
+ System.err.println("Client percentage memory increase: " + (float) (100.0 * clientMemoryIncrease) + "%");
+ System.err.println("Client memory increase per call : " + (clientMemory1 - clientMemory0) / numberOfCalls);
+ System.err.println("Server percentage memory increase: " + (float) (100.0 * serverMemoryIncrease) + "%");
+ System.err.println("Server memory increase per call : " + (serverMemory1 - serverMemory0) / numberOfCalls);
+
+ if ((clientMemoryIncrease < clientIncreaseThreshold) && (serverMemoryIncrease < clientIncreaseThreshold))
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client12.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client12.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client13.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client13.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client13.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,176 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+///////////////////////////////////////////////////////////////////////////////////////////
+//
+// Copyright (C) 2001, HP Bluestone Arjuna.
+//
+// File : Client13.javatmpl (AITResources01)
+//
+// Description : Memory Test version of Client11 (ping pong test with no client transaction).
+//
+// Client performs a specified number of remote calls before
+// the memory growth is checked. If client or server memory growth
+// exceeds specified parameters then the test fails and "Failed" is output.
+// Otherwise "Passed" is output.
+//
+// Author : Stewart Wheater
+//
+// History : 1.0 25 Feb 2000 S Wheater Creation.
+// 1.1 07 Jul 2001 M Buckingham Added facility to use client/server
+// thresholds in config file
+// MemoryTestProfile.
+//
+///////////////////////////////////////////////////////////////////////////////////////////
+
+package org.jboss.jbossts.qa.AITResources01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client13.java,v 1.2 2003/06/26 11:43:07 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client13.java,v 1.2 2003/06/26 11:43:07 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.AITResources01.*;
+import org.jboss.jbossts.qa.Utils.*;
+
+public class Client13
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String pingerIOR = ServerIORStore.loadIOR(args[args.length - 5]);
+ PingPong pinger = PingPongHelper.narrow(ORBInterface.orb().string_to_object(pingerIOR));
+
+ String pongerIOR = ServerIORStore.loadIOR(args[args.length - 4]);
+ PingPong ponger = PingPongHelper.narrow(ORBInterface.orb().string_to_object(pongerIOR));
+
+ int numberOfCalls = Integer.parseInt(args[args.length - 3]);
+
+ float clientIncreaseThreshold;
+ float serverIncreaseThreshold;
+
+ // If no threshold value then use default.
+ if (MemoryTestProfileStore.getNoThresholdValue().equals(args[args.length - 2]))
+ {
+ clientIncreaseThreshold = Float.parseFloat(MemoryTestProfileStore.getDefaultClientIncreaseThreshold());
+ }
+ else // Use passed threshold
+ {
+ clientIncreaseThreshold = Float.parseFloat(args[args.length - 2]);
+ }
+
+ // If no threshold value then use default.
+ if (MemoryTestProfileStore.getNoThresholdValue().equals(args[args.length - 1]))
+ {
+ serverIncreaseThreshold = Float.parseFloat(MemoryTestProfileStore.getDefaultServerIncreaseThreshold());
+ }
+ else // Use passed threshold
+ {
+ serverIncreaseThreshold = Float.parseFloat(args[args.length - 1]);
+ }
+
+ pinger.bad_hit(numberOfCalls, 0, pinger, pinger);
+ ponger.bad_hit(numberOfCalls, 0, ponger, ponger);
+
+ int clientMemory0 = (int) JVMStats.getMemory();
+ int server1Memory0 = pinger.getMemory();
+ int server2Memory0 = ponger.getMemory();
+
+ for (int index0 = 0; index0 < numberOfCalls; index0++)
+ {
+ for (int index1 = 0; index1 <= index0; index1++)
+ {
+ pinger.bad_hit(index0, index1, ponger, pinger);
+ }
+ }
+
+ int clientMemory1 = (int) JVMStats.getMemory();
+ int server1Memory1 = pinger.getMemory();
+ int server2Memory1 = ponger.getMemory();
+
+ float clientMemoryIncrease = ((float) (clientMemory1 - clientMemory0)) / ((float) clientMemory0);
+ float server1MemoryIncrease = ((float) (server1Memory1 - server1Memory0)) / ((float) server1Memory0);
+ float server2MemoryIncrease = ((float) (server2Memory1 - server2Memory0)) / ((float) server2Memory0);
+
+ System.err.println("Client memory increase threshold : " + (float) (100.0 * clientIncreaseThreshold) + "%");
+ System.err.println("Server memory increase threshold : " + (float) (100.0 * serverIncreaseThreshold) + "%");
+
+ System.err.println("Client percentage memory increase: " + (float) (100.0 * clientMemoryIncrease) + "%");
+ System.err.println("Client memory increase per call : " + (clientMemory1 - clientMemory0) / numberOfCalls);
+ System.err.println("Server 1 percentage memory increase: " + (float) (100.0 * server1MemoryIncrease) + "%");
+ System.err.println("Server 1 memory increase per call : " + (server1Memory1 - server1Memory0) / numberOfCalls);
+ System.err.println("Server 2 percentage memory increase: " + (float) (100.0 * server2MemoryIncrease) + "%");
+ System.err.println("Server 2 memory increase per call : " + (server2Memory1 - server2Memory0) / numberOfCalls);
+
+ if ((clientMemoryIncrease < clientIncreaseThreshold) && (server1MemoryIncrease < serverIncreaseThreshold) && (server2MemoryIncrease < serverIncreaseThreshold))
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client13.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client13.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client14.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client14.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client14.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,175 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.AITResources01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client14.java,v 1.2 2003/06/26 11:43:07 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client14.java,v 1.2 2003/06/26 11:43:07 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.AITResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.IntHolder;
+
+public class Client14
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String counterIOR = ServerIORStore.loadIOR(args[args.length - 3]);
+ Counter counter = CounterHelper.narrow(ORBInterface.orb().string_to_object(counterIOR));
+
+ int numberOfWorkers = Integer.parseInt(args[args.length - 2]);
+ int numberOfCalls = Integer.parseInt(args[args.length - 1]);
+
+ Worker[] workers = new Worker[numberOfWorkers];
+
+ for (int index = 0; index < workers.length; index++)
+ {
+ workers[index] = new Worker(numberOfCalls, counter);
+ }
+
+ for (int index = 0; index < workers.length; index++)
+ {
+ workers[index].start();
+ }
+
+ boolean correct = true;
+
+ for (int index = 0; index < workers.length; index++)
+ {
+ workers[index].join();
+ correct = correct && workers[index].isCorrect();
+ }
+
+ IntHolder value = new IntHolder();
+ counter.get(value);
+ correct = correct && (value.value == (numberOfWorkers * numberOfCalls));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client14.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client14.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+
+ private static class Worker extends Thread
+ {
+ public Worker(int numberOfCalls, Counter counter)
+ {
+ _numberOfCalls = numberOfCalls;
+ _counter = counter;
+ }
+
+ public void run()
+ {
+ try
+ {
+ int index = 0;
+ while (index < _numberOfCalls)
+ {
+ try
+ {
+ _counter.increase();
+ index++;
+ }
+ catch (InvocationException invocationException)
+ {
+ }
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client14.Worker.run: " + exception);
+ exception.printStackTrace(System.err);
+ _correct = false;
+ }
+ }
+
+ public boolean isCorrect()
+ {
+ return _correct;
+ }
+
+ private boolean _correct = true;
+ private int _numberOfCalls;
+ private Counter _counter = null;
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client15.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client15.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client15.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,225 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+///////////////////////////////////////////////////////////////////////////////////////////
+//
+// Copyright (C) 2001, HP Bluestone Arjuna.
+//
+// File : Client15.javatmpl (AITResources01)
+//
+// Description : Memory Test version of Client14.
+//
+// Client performs a specified number of remote calls before
+// the memory growth is checked. If client or server memory growth
+// exceeds specified parameters then the test fails and "Failed" is output.
+// Otherwise "Passed" is output.
+//
+// Author : Stewart Wheater
+//
+// History : 1.0 25 Feb 2000 S Wheater Creation.
+// 1.1 07 Jul 2001 M Buckingham Added facility to use client/server
+// thresholds in config file
+// MemoryTestProfile.
+//
+///////////////////////////////////////////////////////////////////////////////////////////
+
+package org.jboss.jbossts.qa.AITResources01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client15.java,v 1.2 2003/06/26 11:43:07 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client15.java,v 1.2 2003/06/26 11:43:07 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.AITResources01.*;
+import org.jboss.jbossts.qa.Utils.*;
+
+public class Client15
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String counterIOR = ServerIORStore.loadIOR(args[args.length - 5]);
+ Counter counter = CounterHelper.narrow(ORBInterface.orb().string_to_object(counterIOR));
+
+ int numberOfWorkers = Integer.parseInt(args[args.length - 4]);
+ int numberOfCalls = Integer.parseInt(args[args.length - 3]);
+
+ float clientIncreaseThreshold;
+ float serverIncreaseThreshold;
+
+ // If no threshold value then use default.
+ if (MemoryTestProfileStore.getNoThresholdValue().equals(args[args.length - 2]))
+ {
+ clientIncreaseThreshold = Float.parseFloat(MemoryTestProfileStore.getDefaultClientIncreaseThreshold());
+ }
+ else // Use passed threshold
+ {
+ clientIncreaseThreshold = Float.parseFloat(args[args.length - 2]);
+ }
+
+ // If no threshold value then use default.
+ if (MemoryTestProfileStore.getNoThresholdValue().equals(args[args.length - 1]))
+ {
+ serverIncreaseThreshold = Float.parseFloat(MemoryTestProfileStore.getDefaultServerIncreaseThreshold());
+ }
+ else // Use passed threshold
+ {
+ serverIncreaseThreshold = Float.parseFloat(args[args.length - 1]);
+ }
+
+ counter.increase();
+
+ int clientMemory0 = (int) JVMStats.getMemory();
+ int serverMemory0 = counter.getMemory();
+
+ Worker[] workers = new Worker[numberOfWorkers];
+
+ for (int index = 0; index < workers.length; index++)
+ {
+ workers[index] = new Worker(numberOfCalls, counter);
+ }
+
+ for (int index = 0; index < workers.length; index++)
+ {
+ workers[index].start();
+ }
+
+ boolean correct = true;
+
+ for (int index = 0; index < workers.length; index++)
+ {
+ workers[index].join();
+ correct = correct && workers[index].isCorrect();
+ workers[index] = null;
+ }
+ workers = null;
+
+ int clientMemory1 = (int) JVMStats.getMemory();
+ int serverMemory1 = counter.getMemory();
+
+ float clientMemoryIncrease = ((float) (clientMemory1 - clientMemory0)) / ((float) clientMemory0);
+ float serverMemoryIncrease = ((float) (serverMemory1 - serverMemory0)) / ((float) serverMemory0);
+
+ System.err.println("Client memory increase threshold : " + (float) (100.0 * clientIncreaseThreshold) + "%");
+ System.err.println("Server memory increase threshold : " + (float) (100.0 * serverIncreaseThreshold) + "%");
+
+ System.err.println("Client percentage memory increase: " + (float) (100.0 * clientMemoryIncrease) + "%");
+ System.err.println("Client memory increase per call : " + (clientMemory1 - clientMemory0) / (numberOfCalls * numberOfWorkers));
+ System.err.println("Server percentage memory increase: " + (float) (100.0 * serverMemoryIncrease) + "%");
+ System.err.println("Server memory increase per call : " + (serverMemory1 - serverMemory0) / (numberOfCalls * numberOfWorkers));
+
+ if ((clientMemoryIncrease < clientIncreaseThreshold) && (serverMemoryIncrease < serverIncreaseThreshold))
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client15.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client15.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+
+ private static class Worker extends Thread
+ {
+ public Worker(int numberOfCalls, Counter counter)
+ {
+ _numberOfCalls = numberOfCalls;
+ _counter = counter;
+ }
+
+ public void run()
+ {
+ try
+ {
+ int index = 0;
+ while (index < _numberOfCalls)
+ {
+ try
+ {
+ _counter.increase();
+ index++;
+ }
+ catch (InvocationException invocationException)
+ {
+ }
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client15.Worker.run: " + exception);
+ exception.printStackTrace(System.err);
+ _correct = false;
+ }
+ }
+
+ public boolean isCorrect()
+ {
+ return _correct;
+ }
+
+ private boolean _correct = true;
+ private int _numberOfCalls;
+ private Counter _counter = null;
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client16.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client16.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client16.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,187 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.AITResources01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client16.java,v 1.2 2003/06/26 11:43:07 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client16.java,v 1.2 2003/06/26 11:43:07 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import org.jboss.jbossts.qa.AITResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.IntHolder;
+
+public class Client16
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String counterIOR = ServerIORStore.loadIOR(args[args.length - 3]);
+ Counter counter = CounterHelper.narrow(ORBInterface.orb().string_to_object(counterIOR));
+
+ int numberOfWorkers = Integer.parseInt(args[args.length - 2]);
+ int numberOfCalls = Integer.parseInt(args[args.length - 1]);
+
+ Worker[] workers = new Worker[numberOfWorkers];
+
+ for (int index = 0; index < workers.length; index++)
+ {
+ workers[index] = new Worker(numberOfCalls, counter);
+ }
+
+ for (int index = 0; index < workers.length; index++)
+ {
+ workers[index].start();
+ }
+
+ boolean correct = true;
+
+ for (int index = 0; index < workers.length; index++)
+ {
+ workers[index].join();
+ correct = correct && workers[index].isCorrect();
+ }
+
+ IntHolder value = new IntHolder();
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+ counter.get(value);
+ atomicTransaction.commit(true);
+
+ correct = correct && (value.value == (numberOfWorkers * numberOfCalls));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client16.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client16.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+
+ private static class Worker extends Thread
+ {
+ public Worker(int numberOfCalls, Counter counter)
+ {
+ _numberOfCalls = numberOfCalls;
+ _counter = counter;
+ }
+
+ public void run()
+ {
+ try
+ {
+ int index = 0;
+ while (index < _numberOfCalls)
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ try
+ {
+ _counter.increase();
+ index++;
+ atomicTransaction.commit(true);
+ }
+ catch (InvocationException invocationException)
+ {
+ atomicTransaction.rollback();
+ }
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client16.Worker.run: " + exception);
+ exception.printStackTrace(System.err);
+ _correct = false;
+ }
+ }
+
+ public boolean isCorrect()
+ {
+ return _correct;
+ }
+
+ private boolean _correct = true;
+ private int _numberOfCalls;
+ private Counter _counter = null;
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client17.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client17.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client17.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,236 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+///////////////////////////////////////////////////////////////////////////////////////////
+//
+// Copyright (C) 2001, HP Bluestone Arjuna.
+//
+// File : Client17.javatmpl (AITResources01)
+//
+// Description : Memory Test version of Client16.
+//
+// Client performs a specified number of remote calls before
+// the memory growth is checked. If client or server memory growth
+// exceeds specified parameters then the test fails and "Failed" is output.
+// Otherwise "Passed" is output.
+//
+// Author : Stewart Wheater
+//
+// History : 1.0 25 Feb 2000 S Wheater Creation.
+// 1.1 07 Jul 2001 M Buckingham Added facility to use client/server
+// thresholds in config file
+// MemoryTestProfile.
+//
+///////////////////////////////////////////////////////////////////////////////////////////
+
+package org.jboss.jbossts.qa.AITResources01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client17.java,v 1.2 2003/06/26 11:43:07 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client17.java,v 1.2 2003/06/26 11:43:07 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import org.jboss.jbossts.qa.AITResources01.*;
+import org.jboss.jbossts.qa.Utils.*;
+
+public class Client17
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String counterIOR = ServerIORStore.loadIOR(args[args.length - 5]);
+ Counter counter = CounterHelper.narrow(ORBInterface.orb().string_to_object(counterIOR));
+
+ int numberOfWorkers = Integer.parseInt(args[args.length - 4]);
+ int numberOfCalls = Integer.parseInt(args[args.length - 3]);
+
+ float clientIncreaseThreshold;
+ float serverIncreaseThreshold;
+
+ // If no threshold value then use default.
+ if (MemoryTestProfileStore.getNoThresholdValue().equals(args[args.length - 2]))
+ {
+ clientIncreaseThreshold = Float.parseFloat(MemoryTestProfileStore.getDefaultClientIncreaseThreshold());
+ }
+ else // Use passed threshold
+ {
+ clientIncreaseThreshold = Float.parseFloat(args[args.length - 2]);
+ }
+
+ // If no threshold value then use default.
+ if (MemoryTestProfileStore.getNoThresholdValue().equals(args[args.length - 1]))
+ {
+ serverIncreaseThreshold = Float.parseFloat(MemoryTestProfileStore.getDefaultServerIncreaseThreshold());
+ }
+ else // Use passed threshold
+ {
+ serverIncreaseThreshold = Float.parseFloat(args[args.length - 1]);
+ }
+
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+ counter.increase();
+ atomicTransaction.commit(true);
+
+ int clientMemory0 = (int) JVMStats.getMemory();
+ int serverMemory0 = counter.getMemory();
+
+ Worker[] workers = new Worker[numberOfWorkers];
+
+ for (int index = 0; index < workers.length; index++)
+ {
+ workers[index] = new Worker(numberOfCalls, counter);
+ }
+
+ for (int index = 0; index < workers.length; index++)
+ {
+ workers[index].start();
+ }
+
+ boolean correct = true;
+
+ for (int index = 0; index < workers.length; index++)
+ {
+ workers[index].join();
+ correct = correct && workers[index].isCorrect();
+ workers[index] = null;
+ }
+ workers = null;
+
+ int clientMemory1 = (int) JVMStats.getMemory();
+ int serverMemory1 = counter.getMemory();
+
+ float clientMemoryIncrease = ((float) (clientMemory1 - clientMemory0)) / ((float) clientMemory0);
+ float serverMemoryIncrease = ((float) (serverMemory1 - serverMemory0)) / ((float) serverMemory0);
+
+ System.err.println("Client memory increase threshold : " + (float) (100.0 * clientIncreaseThreshold) + "%");
+ System.err.println("Server memory increase threshold : " + (float) (100.0 * serverIncreaseThreshold) + "%");
+
+ System.err.println("Client percentage memory increase: " + (float) (100.0 * clientMemoryIncrease) + "%");
+ System.err.println("Client memory increase per call : " + (clientMemory1 - clientMemory0) / (numberOfCalls * numberOfWorkers));
+ System.err.println("Server percentage memory increase: " + (float) (100.0 * serverMemoryIncrease) + "%");
+ System.err.println("Server memory increase per call : " + (serverMemory1 - serverMemory0) / (numberOfCalls * numberOfWorkers));
+
+ if ((clientMemoryIncrease < clientIncreaseThreshold) && (serverMemoryIncrease < serverIncreaseThreshold))
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client17.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client17.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+
+ private static class Worker extends Thread
+ {
+ public Worker(int numberOfCalls, Counter counter)
+ {
+ _numberOfCalls = numberOfCalls;
+ _counter = counter;
+ }
+
+ public void run()
+ {
+ try
+ {
+ int index = 0;
+ while (index < _numberOfCalls)
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ try
+ {
+ _counter.increase();
+ index++;
+ atomicTransaction.commit(true);
+ }
+ catch (InvocationException invocationException)
+ {
+ atomicTransaction.rollback();
+ }
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client17.Worker.run: " + exception);
+ exception.printStackTrace(System.err);
+ _correct = false;
+ }
+ }
+
+ public boolean isCorrect()
+ {
+ return _correct;
+ }
+
+ private boolean _correct = true;
+ private int _numberOfCalls;
+ private Counter _counter = null;
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client19.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client19.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Clients/Client19.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,267 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.AITResources01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client19.java,v 1.2 2003/06/26 11:43:07 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client19.java,v 1.2 2003/06/26 11:43:07 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import org.jboss.jbossts.qa.AITResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.IntHolder;
+
+public class Client19
+{
+ public static void main(String[] args)
+ {
+
+ boolean correct = true;
+ int numberOfCalls = 10;
+ Counter counter = null;
+
+ System.err.println("Starting first init");
+
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+ }
+ catch (Exception exception)
+ {
+ correct = false;
+ System.err.println("exception in first start: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+
+ System.err.println("Starting first block");
+
+ try
+ {
+ String counterIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ counter = CounterHelper.narrow(ORBInterface.orb().string_to_object(counterIOR));
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ counter.increase();
+
+ if ((index % 2) == 0)
+ {
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ atomicTransaction.rollback();
+ }
+ }
+
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ IntHolder value = new IntHolder();
+ counter.get(value);
+
+ atomicTransaction.commit(true);
+
+ if (value.value == (numberOfCalls / 2) && correct)
+ {
+ correct = true;
+ }
+ else
+ {
+ correct = false;
+ }
+ }
+ catch (Exception exception)
+ {
+ correct = false;
+ System.err.println("exception in first block" + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ System.err.println("Starting first shutdown");
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ correct = false;
+ System.err.println("exception in first shutdown" + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ System.err.println("----Starting second block -------");
+
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+ }
+ catch (Exception exception)
+ {
+ correct = false;
+ System.err.println("exception in second start " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ System.err.println("init done starting second block");
+
+ try
+ {
+ String counterIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ counter = CounterHelper.narrow(ORBInterface.orb().string_to_object(counterIOR));
+
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+ atomicTransaction.begin();
+ counter.set(0);
+ atomicTransaction.commit(true);
+ }
+ catch (Exception exception)
+ {
+ correct = false;
+ System.err.println("exception in set operation " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ counter.increase();
+
+ if ((index % 2) == 0)
+ {
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ atomicTransaction.rollback();
+ }
+ }
+
+ }
+ catch (Exception exception)
+ {
+ correct = false;
+ System.err.println("exception in second loop block " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ IntHolder value = new IntHolder();
+ counter.get(value);
+
+ atomicTransaction.commit(true);
+
+ if (value.value == (numberOfCalls / 2) && correct)
+ {
+ correct = true;
+ }
+ else
+ {
+ correct = false;
+ }
+ }
+ catch (Exception exception)
+ {
+ correct = false;
+ System.err.println("exception in second test " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ System.err.println("Starting second shutdown");
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ correct = false;
+ System.err.println("error in second shutdown" + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ System.err.println("testing result");
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Impls/AITCounterImpl01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Impls/AITCounterImpl01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Impls/AITCounterImpl01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,323 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: AITCounterImpl01.java,v 1.2 2003/06/26 11:43:08 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.AITResources01Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AITCounterImpl01.java,v 1.2 2003/06/26 11:43:08 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AITCounterImpl01.java,v 1.2 2003/06/26 11:43:08 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.arjuna.ObjectType;
+import com.arjuna.ats.arjuna.common.Uid;
+import com.arjuna.ats.arjuna.state.InputObjectState;
+import com.arjuna.ats.arjuna.state.OutputObjectState;
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import com.arjuna.ats.txoj.Lock;
+import com.arjuna.ats.txoj.LockManager;
+import com.arjuna.ats.txoj.LockMode;
+import com.arjuna.ats.txoj.LockResult;
+import org.jboss.jbossts.qa.AITResources01.*;
+import org.jboss.jbossts.qa.Utils.JVMStats;
+import org.omg.CORBA.IntHolder;
+import org.omg.CosTransactions.Status;
+
+public class AITCounterImpl01 extends LockManager implements CounterOperations
+{
+ public AITCounterImpl01()
+ throws InvocationException
+ {
+ super(ObjectType.ANDPERSISTENT);
+
+ _value = 0;
+
+ try
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ if (setlock(new Lock(LockMode.WRITE), 0) == LockResult.GRANTED)
+ {
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ System.err.println("AITCounterImpl01.AITCounterImpl01: failed to get lock");
+ atomicTransaction.rollback();
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl01.AITCounterImpl01: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public AITCounterImpl01(Uid uid)
+ throws InvocationException
+ {
+ super(uid);
+ }
+
+ public void finalize()
+ throws Throwable
+ {
+ try
+ {
+ super.terminate();
+ super.finalize();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl01.finalize: " + exception);
+ throw exception;
+ }
+ }
+
+ public void get(IntHolder value)
+ throws InvocationException
+ {
+ try
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ try
+ {
+ atomicTransaction.begin();
+
+ if (setlock(new Lock(LockMode.READ), 0) == LockResult.GRANTED)
+ {
+ value.value = _value;
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ atomicTransaction.rollback();
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl01.get: " + exception);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl01.get: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public void set(int value)
+ throws InvocationException
+ {
+ try
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ try
+ {
+ atomicTransaction.begin();
+
+ if (setlock(new Lock(LockMode.WRITE), 0) == LockResult.GRANTED)
+ {
+ _value = value;
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ atomicTransaction.rollback();
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl01.set: " + exception);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl01.set: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public void increase()
+ throws InvocationException
+ {
+ try
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ try
+ {
+ atomicTransaction.begin();
+
+ if (setlock(new Lock(LockMode.WRITE), 0) == LockResult.GRANTED)
+ {
+ _value++;
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ atomicTransaction.rollback();
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl01.increase: " + exception);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl01.increase: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public int getMemory()
+ {
+ return (int) JVMStats.getMemory();
+ }
+
+ public boolean save_state(OutputObjectState objectState, int objectType)
+ {
+ super.save_state(objectState, objectType);
+ try
+ {
+ objectState.packInt(_value);
+ return true;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl01.save_state: " + exception);
+ return false;
+ }
+ }
+
+ public boolean restore_state(InputObjectState objectState, int objectType)
+ {
+ super.restore_state(objectState, objectType);
+ try
+ {
+ _value = objectState.unpackInt();
+ return true;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl01.restore_state: " + exception);
+ return false;
+ }
+ }
+
+ public String type()
+ {
+ return "/StateManager/LockManager/AITCounterImpl01";
+ }
+
+ private int _value;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Impls/AITCounterImpl02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Impls/AITCounterImpl02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Impls/AITCounterImpl02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,323 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: AITCounterImpl02.java,v 1.2 2003/06/26 11:43:08 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.AITResources01Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AITCounterImpl02.java,v 1.2 2003/06/26 11:43:08 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AITCounterImpl02.java,v 1.2 2003/06/26 11:43:08 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.arjuna.ObjectType;
+import com.arjuna.ats.arjuna.common.Uid;
+import com.arjuna.ats.arjuna.state.InputObjectState;
+import com.arjuna.ats.arjuna.state.OutputObjectState;
+import com.arjuna.ats.txoj.Lock;
+import com.arjuna.ats.txoj.LockManager;
+import com.arjuna.ats.txoj.LockMode;
+import com.arjuna.ats.txoj.LockResult;
+import org.jboss.jbossts.qa.AITResources01.*;
+import org.jboss.jbossts.qa.Utils.JVMStats;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.omg.CORBA.IntHolder;
+import org.omg.CosTransactions.Status;
+
+public class AITCounterImpl02 extends LockManager implements CounterOperations
+{
+ public AITCounterImpl02()
+ throws InvocationException
+ {
+ super(ObjectType.ANDPERSISTENT);
+
+ _value = 0;
+
+ try
+ {
+ org.omg.CosTransactions.Current current = OTS.current();
+
+ current.begin();
+
+ if (setlock(new Lock(LockMode.WRITE), 0) == LockResult.GRANTED)
+ {
+ current.commit(true);
+ }
+ else
+ {
+ System.err.println("AITCounterImpl02.AITCounterImpl02: failed to get lock");
+ current.rollback();
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl02.AITCounterImpl02: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public AITCounterImpl02(Uid uid)
+ throws InvocationException
+ {
+ super(uid);
+ }
+
+ public void finalize()
+ throws Throwable
+ {
+ try
+ {
+ super.terminate();
+ super.finalize();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl02.finalize: " + exception);
+ throw exception;
+ }
+ }
+
+ public void get(IntHolder value)
+ throws InvocationException
+ {
+ try
+ {
+ org.omg.CosTransactions.Current current = OTS.current();
+
+ try
+ {
+ current.begin();
+
+ if (setlock(new Lock(LockMode.READ), 0) == LockResult.GRANTED)
+ {
+ value.value = _value;
+ current.commit(true);
+ }
+ else
+ {
+ current.rollback();
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl02.get: " + exception);
+ if (current.get_status() == Status.StatusActive)
+ {
+ current.rollback();
+ }
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl02.get: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public void set(int value)
+ throws InvocationException
+ {
+ try
+ {
+ org.omg.CosTransactions.Current current = OTS.current();
+
+ try
+ {
+ current.begin();
+
+ if (setlock(new Lock(LockMode.WRITE), 0) == LockResult.GRANTED)
+ {
+ _value = value;
+ current.commit(true);
+ }
+ else
+ {
+ current.rollback();
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl02.set: " + exception);
+ if (current.get_status() == Status.StatusActive)
+ {
+ current.rollback();
+ }
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl02.set: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public void increase()
+ throws InvocationException
+ {
+ try
+ {
+ org.omg.CosTransactions.Current current = OTS.current();
+
+ try
+ {
+ current.begin();
+
+ if (setlock(new Lock(LockMode.WRITE), 0) == LockResult.GRANTED)
+ {
+ _value++;
+ current.commit(true);
+ }
+ else
+ {
+ current.rollback();
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl02.increase: " + exception);
+ if (current.get_status() == Status.StatusActive)
+ {
+ current.rollback();
+ }
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl02.increase: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public int getMemory()
+ {
+ return (int) JVMStats.getMemory();
+ }
+
+ public boolean save_state(OutputObjectState objectState, int objectType)
+ {
+ super.save_state(objectState, objectType);
+ try
+ {
+ objectState.packInt(_value);
+ return true;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl02.save_state: " + exception);
+ return false;
+ }
+ }
+
+ public boolean restore_state(InputObjectState objectState, int objectType)
+ {
+ super.restore_state(objectState, objectType);
+ try
+ {
+ _value = objectState.unpackInt();
+ return true;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl02.restore_state: " + exception);
+ return false;
+ }
+ }
+
+ public String type()
+ {
+ return "/StateManager/LockManager/AITCounterImpl02";
+ }
+
+ private int _value;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Impls/AITCounterImpl03.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Impls/AITCounterImpl03.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Impls/AITCounterImpl03.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,250 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: AITCounterImpl03.java,v 1.2 2003/06/26 11:43:08 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.AITResources01Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AITCounterImpl03.java,v 1.2 2003/06/26 11:43:08 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AITCounterImpl03.java,v 1.2 2003/06/26 11:43:08 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.arjuna.ObjectType;
+import com.arjuna.ats.arjuna.common.Uid;
+import com.arjuna.ats.arjuna.state.InputObjectState;
+import com.arjuna.ats.arjuna.state.OutputObjectState;
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import com.arjuna.ats.txoj.Lock;
+import com.arjuna.ats.txoj.LockManager;
+import com.arjuna.ats.txoj.LockMode;
+import com.arjuna.ats.txoj.LockResult;
+import org.jboss.jbossts.qa.AITResources01.*;
+import org.jboss.jbossts.qa.Utils.JVMStats;
+import org.omg.CORBA.IntHolder;
+
+public class AITCounterImpl03 extends LockManager implements CounterOperations
+{
+ public AITCounterImpl03()
+ throws InvocationException
+ {
+ super(ObjectType.ANDPERSISTENT);
+
+ _value = 0;
+
+ try
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ if (setlock(new Lock(LockMode.WRITE), 0) == LockResult.GRANTED)
+ {
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ System.err.println("AITCounterImpl03.AITCounterImpl03: failed to get lock");
+ atomicTransaction.rollback();
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl03.AITCounterImpl03: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public AITCounterImpl03(Uid uid)
+ throws InvocationException
+ {
+ super(uid);
+ }
+
+ public void finalize()
+ throws Throwable
+ {
+ try
+ {
+ super.terminate();
+ super.finalize();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl03.finalize: " + exception);
+ throw exception;
+ }
+ }
+
+ public void get(IntHolder value)
+ throws InvocationException
+ {
+ try
+ {
+ if (setlock(new Lock(LockMode.READ), 0) == LockResult.GRANTED)
+ {
+ value.value = _value;
+ }
+ else
+ {
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl03.get: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public void set(int value)
+ throws InvocationException
+ {
+ try
+ {
+ if (setlock(new Lock(LockMode.WRITE), 0) == LockResult.GRANTED)
+ {
+ _value = value;
+ }
+ else
+ {
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl03.set: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public void increase()
+ throws InvocationException
+ {
+ try
+ {
+ if (setlock(new Lock(LockMode.WRITE), 0) == LockResult.GRANTED)
+ {
+ _value++;
+ }
+ else
+ {
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl03.increase: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public int getMemory()
+ {
+ return (int) JVMStats.getMemory();
+ }
+
+ public boolean save_state(OutputObjectState objectState, int objectType)
+ {
+ super.save_state(objectState, objectType);
+ try
+ {
+ objectState.packInt(_value);
+ return true;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl03.save_state: " + exception);
+ return false;
+ }
+ }
+
+ public boolean restore_state(InputObjectState objectState, int objectType)
+ {
+ super.restore_state(objectState, objectType);
+ try
+ {
+ _value = objectState.unpackInt();
+ return true;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl03.restore_state: " + exception);
+ return false;
+ }
+ }
+
+ public String type()
+ {
+ return "/StateManager/LockManager/AITCounterImpl03";
+ }
+
+ private int _value;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Impls/AITCounterImpl04.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Impls/AITCounterImpl04.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Impls/AITCounterImpl04.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,333 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: AITCounterImpl04.java,v 1.2 2003/06/26 11:43:08 rbegg Exp $
+//
+/*
+*
+* This remote object has been created to test jiterbug issue 264
+*
+* The class is a copy of impl01 but the setlock() method has been altered
+* so that the issue can be tested. This remote object is only used in test 59
+* at this time
+* # Author P.Craddock
+* # 09/08/01
+*
+*/
+package org.jboss.jbossts.qa.AITResources01Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AITCounterImpl04.java,v 1.2 2003/06/26 11:43:08 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AITCounterImpl04.java,v 1.2 2003/06/26 11:43:08 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.arjuna.ObjectType;
+import com.arjuna.ats.arjuna.common.Uid;
+import com.arjuna.ats.arjuna.state.InputObjectState;
+import com.arjuna.ats.arjuna.state.OutputObjectState;
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import com.arjuna.ats.txoj.Lock;
+import com.arjuna.ats.txoj.LockManager;
+import com.arjuna.ats.txoj.LockMode;
+import com.arjuna.ats.txoj.LockResult;
+import org.jboss.jbossts.qa.AITResources01.*;
+import org.jboss.jbossts.qa.Utils.JVMStats;
+import org.omg.CORBA.IntHolder;
+import org.omg.CosTransactions.Status;
+
+public class AITCounterImpl04 extends LockManager implements CounterOperations
+{
+ public AITCounterImpl04()
+ throws InvocationException
+ {
+ super(ObjectType.ANDPERSISTENT);
+
+ _value = 0;
+
+ try
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ if (setlock(new Lock(LockMode.WRITE), super.waitTotalTimeout) == LockResult.GRANTED)
+ {
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ System.err.println("AITCounterImpl04.AITCounterImpl04: failed to get lock");
+ atomicTransaction.rollback();
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl04.AITCounterImpl04: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public AITCounterImpl04(Uid uid)
+ throws InvocationException
+ {
+ super(uid);
+ }
+
+ public void finalize()
+ throws Throwable
+ {
+ try
+ {
+ super.terminate();
+ super.finalize();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl04.finalize: " + exception);
+ throw exception;
+ }
+ }
+
+ public void get(IntHolder value)
+ throws InvocationException
+ {
+ try
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ try
+ {
+ atomicTransaction.begin();
+
+ if (setlock(new Lock(LockMode.READ), super.waitTotalTimeout) == LockResult.GRANTED)
+ {
+ value.value = _value;
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ atomicTransaction.rollback();
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl04.get: " + exception);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl04.get: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public void set(int value)
+ throws InvocationException
+ {
+ try
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ try
+ {
+ atomicTransaction.begin();
+
+ if (setlock(new Lock(LockMode.WRITE), super.waitTotalTimeout) == LockResult.GRANTED)
+ {
+ _value = value;
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ atomicTransaction.rollback();
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl04.set: " + exception);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl04.set: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public void increase()
+ throws InvocationException
+ {
+ try
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ try
+ {
+ atomicTransaction.begin();
+
+ if (setlock(new Lock(LockMode.WRITE), super.waitTotalTimeout) == LockResult.GRANTED)
+ {
+ _value++;
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ atomicTransaction.rollback();
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl04.increase: " + exception);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl04.increase: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public int getMemory()
+ {
+ return (int) JVMStats.getMemory();
+ }
+
+ public boolean save_state(OutputObjectState objectState, int objectType)
+ {
+ super.save_state(objectState, objectType);
+ try
+ {
+ objectState.packInt(_value);
+ return true;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl04.save_state: " + exception);
+ return false;
+ }
+ }
+
+ public boolean restore_state(InputObjectState objectState, int objectType)
+ {
+ super.restore_state(objectState, objectType);
+ try
+ {
+ _value = objectState.unpackInt();
+ return true;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl04.restore_state: " + exception);
+ return false;
+ }
+ }
+
+ public String type()
+ {
+ return "/StateManager/LockManager/AITCounterImpl04";
+ }
+
+ private int _value;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Impls/AITPingPongImpl01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Impls/AITPingPongImpl01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Impls/AITPingPongImpl01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,379 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: AITPingPongImpl01.java,v 1.2 2003/06/26 11:43:08 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.AITResources01Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AITPingPongImpl01.java,v 1.2 2003/06/26 11:43:08 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AITPingPongImpl01.java,v 1.2 2003/06/26 11:43:08 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.arjuna.ObjectType;
+import com.arjuna.ats.arjuna.common.Uid;
+import com.arjuna.ats.arjuna.state.InputObjectState;
+import com.arjuna.ats.arjuna.state.OutputObjectState;
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import com.arjuna.ats.txoj.Lock;
+import com.arjuna.ats.txoj.LockManager;
+import com.arjuna.ats.txoj.LockMode;
+import com.arjuna.ats.txoj.LockResult;
+import org.jboss.jbossts.qa.AITResources01.*;
+import org.jboss.jbossts.qa.Utils.JVMStats;
+import org.omg.CORBA.IntHolder;
+import org.omg.CosTransactions.Status;
+
+public class AITPingPongImpl01 extends LockManager implements PingPongOperations
+{
+ public AITPingPongImpl01()
+ throws InvocationException
+ {
+ super(ObjectType.ANDPERSISTENT);
+
+ _value = 0;
+
+ try
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ if (setlock(new Lock(LockMode.WRITE), 0) == LockResult.GRANTED)
+ {
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ System.err.println("AITPingPongImpl01.AITPingPongImpl01: failed to get lock");
+ atomicTransaction.rollback();
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITPingPongImpl01.AITPingPongImpl01: " + exception);
+ throw new InvocationException();
+ }
+ catch (Error error)
+ {
+ System.err.println("AITPingPongImpl01.AITPingPongImpl01: " + error);
+ throw new InvocationException();
+ }
+ }
+
+ public AITPingPongImpl01(Uid uid)
+ throws InvocationException
+ {
+ super(uid);
+ }
+
+ public void finalize()
+ throws Throwable
+ {
+ try
+ {
+ super.terminate();
+ super.finalize();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITPingPongImpl01.finalize: " + exception);
+ throw exception;
+ }
+ catch (Error error)
+ {
+ System.err.println("AITPingPongImpl01.finalize: " + error);
+ throw error;
+ }
+ }
+
+ public void hit(int count, PingPong ponger, PingPong pinger)
+ throws InvocationException
+ {
+ try
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ try
+ {
+ atomicTransaction.begin();
+
+ if (count != 0)
+ {
+ ponger.hit(count - 1, pinger, ponger);
+ atomicTransaction.commit(true);
+ }
+ else if (setlock(new Lock(LockMode.WRITE), 0) == LockResult.GRANTED)
+ {
+ _value++;
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ System.err.println("AITPingPongImpl01.hit: failed to get lock");
+ atomicTransaction.rollback();
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITPingPongImpl01.hit: " + exception);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITPingPongImpl01.hit: " + exception);
+ throw new InvocationException();
+ }
+ catch (Error error)
+ {
+ System.err.println("AITPingPongImpl01.hit: " + error);
+ throw new InvocationException();
+ }
+ }
+
+ public void bad_hit(int count, int bad_count, PingPong ponger, PingPong pinger)
+ throws InvocationException
+ {
+ try
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ try
+ {
+ atomicTransaction.begin();
+
+ if (count != 0)
+ {
+ ponger.bad_hit(count - 1, bad_count - 1, pinger, ponger);
+ if (bad_count != 0)
+ {
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ atomicTransaction.rollback();
+ }
+ }
+ else if (setlock(new Lock(LockMode.WRITE), 0) == LockResult.GRANTED)
+ {
+ _value++;
+ if (bad_count != 0)
+ {
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ atomicTransaction.rollback();
+ }
+ }
+ else
+ {
+ System.err.println("AITPingPongImpl01.bad_hit: failed to get lock");
+ atomicTransaction.rollback();
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITPingPongImpl01.bad_hit: " + exception);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITPingPongImpl01.bad_hit: " + exception);
+ throw new InvocationException();
+ }
+ catch (Error error)
+ {
+ System.err.println("AITPingPongImpl01.bad_hit: " + error);
+ throw new InvocationException();
+ }
+ }
+
+ public void get(IntHolder value)
+ throws InvocationException
+ {
+ try
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ try
+ {
+ atomicTransaction.begin();
+
+ if (setlock(new Lock(LockMode.READ), 0) == LockResult.GRANTED)
+ {
+ value.value = _value;
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ System.err.println("AITPingPongImpl01.get: failed to get lock");
+ atomicTransaction.rollback();
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITPingPongImpl01.get: " + exception);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITPingPongImpl01.get: " + exception);
+ throw new InvocationException();
+ }
+ catch (Error error)
+ {
+ System.err.println("AITPingPongImpl01.get: " + error);
+ throw new InvocationException();
+ }
+ }
+
+ public int getMemory()
+ {
+ return (int) JVMStats.getMemory();
+ }
+
+ public boolean save_state(OutputObjectState objectState, int objectType)
+ {
+ super.save_state(objectState, objectType);
+ try
+ {
+ objectState.packInt(_value);
+ return true;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITPingPongImpl01.save_state: " + exception);
+ return false;
+ }
+ catch (Error error)
+ {
+ System.err.println("AITPingPongImpl01.save_state: " + error);
+ return false;
+ }
+ }
+
+ public boolean restore_state(InputObjectState objectState, int objectType)
+ {
+ super.restore_state(objectState, objectType);
+ try
+ {
+ _value = objectState.unpackInt();
+ return true;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITPingPongImpl01.restore_state: " + exception);
+ return false;
+ }
+ catch (Error error)
+ {
+ System.err.println("AITPingPongImpl01.restore_state: " + error);
+ return false;
+ }
+ }
+
+ public String type()
+ {
+ return "/StateManager/LockManager/AITPingPongImpl01";
+ }
+
+ private int _value;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Outcomes/Outcome01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Outcomes/Outcome01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Outcomes/Outcome01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,110 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.AITResources01Outcomes;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Outcome01.java,v 1.2 2003/06/26 11:43:09 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Outcome01.java,v 1.2 2003/06/26 11:43:09 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.AITResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.IntHolder;
+
+public class Outcome01
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ int expectedValue = Integer.parseInt(args[args.length - 2]);
+
+ String counterIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Counter counter = CounterHelper.narrow(ORBInterface.orb().string_to_object(counterIOR));
+
+ IntHolder value = new IntHolder();
+ counter.get(value);
+
+ if (value.value == expectedValue)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Outcome01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Outcome01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Outcomes/Outcome02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Outcomes/Outcome02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Outcomes/Outcome02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,116 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.AITResources01Outcomes;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Outcome02.java,v 1.2 2003/06/26 11:43:09 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Outcome02.java,v 1.2 2003/06/26 11:43:09 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.AITResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.IntHolder;
+
+public class Outcome02
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ int expectedValue = Integer.parseInt(args[args.length - 3]);
+
+ String counterIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Counter counter1 = CounterHelper.narrow(ORBInterface.orb().string_to_object(counterIOR1));
+
+ String counterIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Counter counter2 = CounterHelper.narrow(ORBInterface.orb().string_to_object(counterIOR2));
+
+ IntHolder value1 = new IntHolder();
+ counter1.get(value1);
+
+ IntHolder value2 = new IntHolder();
+ counter2.get(value2);
+
+ if ((value1.value == expectedValue) && (value2.value == expectedValue))
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Outcome02.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Outcome02.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Servers/Server01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Servers/Server01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Servers/Server01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,93 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.AITResources01Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server01.java,v 1.2 2003/06/26 11:43:09 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server01.java,v 1.2 2003/06/26 11:43:09 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.AITResources01.*;
+import org.jboss.jbossts.qa.AITResources01Impls.AITCounterImpl01;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server01
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ AITCounterImpl01 aitCounterImpl = new AITCounterImpl01();
+ CounterPOATie servant = new CounterPOATie(aitCounterImpl);
+
+ OAInterface.objectIsReady(servant);
+ Counter aitCounter = CounterHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(aitCounter));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Servers/Server02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Servers/Server02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Servers/Server02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,109 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.AITResources01Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server02.java,v 1.2 2003/06/26 11:43:09 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server02.java,v 1.2 2003/06/26 11:43:09 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.AITResources01.*;
+import org.jboss.jbossts.qa.AITResources01Impls.AITCounterImpl01;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server02
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ AITCounterImpl01 aitCounterImpl1 = new AITCounterImpl01();
+ AITCounterImpl01 aitCounterImpl4 = new AITCounterImpl01();
+ AITCounterImpl01 aitCounterImpl3 = new AITCounterImpl01();
+ AITCounterImpl01 aitCounterImpl2 = new AITCounterImpl01();
+
+ CounterPOATie servant1 = new CounterPOATie(aitCounterImpl1);
+ CounterPOATie servant2 = new CounterPOATie(aitCounterImpl2);
+ CounterPOATie servant3 = new CounterPOATie(aitCounterImpl3);
+ CounterPOATie servant4 = new CounterPOATie(aitCounterImpl4);
+
+ OAInterface.objectIsReady(servant1);
+ OAInterface.objectIsReady(servant2);
+ OAInterface.objectIsReady(servant3);
+ OAInterface.objectIsReady(servant4);
+ Counter aitCounter1 = CounterHelper.narrow(OAInterface.corbaReference(servant1));
+ Counter aitCounter2 = CounterHelper.narrow(OAInterface.corbaReference(servant2));
+ Counter aitCounter3 = CounterHelper.narrow(OAInterface.corbaReference(servant3));
+ Counter aitCounter4 = CounterHelper.narrow(OAInterface.corbaReference(servant4));
+
+ ServerIORStore.storeIOR(args[args.length - 4], ORBInterface.orb().object_to_string(aitCounter1));
+ ServerIORStore.storeIOR(args[args.length - 3], ORBInterface.orb().object_to_string(aitCounter2));
+ ServerIORStore.storeIOR(args[args.length - 2], ORBInterface.orb().object_to_string(aitCounter3));
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(aitCounter4));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server02.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Servers/Server03.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Servers/Server03.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Servers/Server03.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,93 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.AITResources01Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server03.java,v 1.2 2003/06/26 11:43:09 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server03.java,v 1.2 2003/06/26 11:43:09 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.AITResources01.*;
+import org.jboss.jbossts.qa.AITResources01Impls.AITCounterImpl02;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server03
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ AITCounterImpl02 aitCounterImpl = new AITCounterImpl02();
+ CounterPOATie servant = new CounterPOATie(aitCounterImpl);
+
+ OAInterface.objectIsReady(servant);
+ Counter aitCounter = CounterHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(aitCounter));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server03.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Servers/Server04.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Servers/Server04.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Servers/Server04.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,109 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.AITResources01Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server04.java,v 1.2 2003/06/26 11:43:09 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server04.java,v 1.2 2003/06/26 11:43:09 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.AITResources01.*;
+import org.jboss.jbossts.qa.AITResources01Impls.AITCounterImpl02;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server04
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ AITCounterImpl02 aitCounterImpl1 = new AITCounterImpl02();
+ AITCounterImpl02 aitCounterImpl2 = new AITCounterImpl02();
+ AITCounterImpl02 aitCounterImpl3 = new AITCounterImpl02();
+ AITCounterImpl02 aitCounterImpl4 = new AITCounterImpl02();
+
+ CounterPOATie servant1 = new CounterPOATie(aitCounterImpl1);
+ CounterPOATie servant2 = new CounterPOATie(aitCounterImpl2);
+ CounterPOATie servant3 = new CounterPOATie(aitCounterImpl3);
+ CounterPOATie servant4 = new CounterPOATie(aitCounterImpl4);
+
+ OAInterface.objectIsReady(servant1);
+ OAInterface.objectIsReady(servant2);
+ OAInterface.objectIsReady(servant3);
+ OAInterface.objectIsReady(servant4);
+ Counter aitCounter1 = CounterHelper.narrow(OAInterface.corbaReference(servant1));
+ Counter aitCounter2 = CounterHelper.narrow(OAInterface.corbaReference(servant2));
+ Counter aitCounter3 = CounterHelper.narrow(OAInterface.corbaReference(servant3));
+ Counter aitCounter4 = CounterHelper.narrow(OAInterface.corbaReference(servant4));
+
+ ServerIORStore.storeIOR(args[args.length - 4], ORBInterface.orb().object_to_string(aitCounter1));
+ ServerIORStore.storeIOR(args[args.length - 3], ORBInterface.orb().object_to_string(aitCounter2));
+ ServerIORStore.storeIOR(args[args.length - 2], ORBInterface.orb().object_to_string(aitCounter3));
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(aitCounter4));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server04.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Servers/Server05.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Servers/Server05.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Servers/Server05.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,100 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.AITResources01Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server05.java,v 1.2 2003/06/26 11:43:09 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server05.java,v 1.2 2003/06/26 11:43:09 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.AITResources01.*;
+import org.jboss.jbossts.qa.AITResources01Impls.AITCounterImpl01;
+import org.jboss.jbossts.qa.AITResources01Impls.AITCounterImpl02;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server05
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ AITCounterImpl01 aitCounterImpl1 = new AITCounterImpl01();
+ AITCounterImpl02 aitCounterImpl2 = new AITCounterImpl02();
+
+ CounterPOATie servant1 = new CounterPOATie(aitCounterImpl1);
+ CounterPOATie servant2 = new CounterPOATie(aitCounterImpl2);
+
+ OAInterface.objectIsReady(servant1);
+ OAInterface.objectIsReady(servant2);
+ Counter aitCounter1 = CounterHelper.narrow(OAInterface.corbaReference(servant1));
+ Counter aitCounter2 = CounterHelper.narrow(OAInterface.corbaReference(servant2));
+
+ ServerIORStore.storeIOR(args[args.length - 2], ORBInterface.orb().object_to_string(aitCounter1));
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(aitCounter2));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server05.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Servers/Server06.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Servers/Server06.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Servers/Server06.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,110 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.AITResources01Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server06.java,v 1.2 2003/06/26 11:43:09 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server06.java,v 1.2 2003/06/26 11:43:09 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.AITResources01.*;
+import org.jboss.jbossts.qa.AITResources01Impls.AITCounterImpl01;
+import org.jboss.jbossts.qa.AITResources01Impls.AITCounterImpl02;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server06
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ AITCounterImpl01 aitCounterImpl1 = new AITCounterImpl01();
+ AITCounterImpl02 aitCounterImpl2 = new AITCounterImpl02();
+ AITCounterImpl01 aitCounterImpl3 = new AITCounterImpl01();
+ AITCounterImpl02 aitCounterImpl4 = new AITCounterImpl02();
+
+ CounterPOATie servant1 = new CounterPOATie(aitCounterImpl1);
+ CounterPOATie servant2 = new CounterPOATie(aitCounterImpl2);
+ CounterPOATie servant3 = new CounterPOATie(aitCounterImpl3);
+ CounterPOATie servant4 = new CounterPOATie(aitCounterImpl4);
+
+ OAInterface.objectIsReady(servant1);
+ OAInterface.objectIsReady(servant2);
+ OAInterface.objectIsReady(servant3);
+ OAInterface.objectIsReady(servant4);
+ Counter aitCounter1 = CounterHelper.narrow(OAInterface.corbaReference(servant1));
+ Counter aitCounter2 = CounterHelper.narrow(OAInterface.corbaReference(servant2));
+ Counter aitCounter3 = CounterHelper.narrow(OAInterface.corbaReference(servant3));
+ Counter aitCounter4 = CounterHelper.narrow(OAInterface.corbaReference(servant4));
+
+ ServerIORStore.storeIOR(args[args.length - 4], ORBInterface.orb().object_to_string(aitCounter1));
+ ServerIORStore.storeIOR(args[args.length - 3], ORBInterface.orb().object_to_string(aitCounter2));
+ ServerIORStore.storeIOR(args[args.length - 2], ORBInterface.orb().object_to_string(aitCounter3));
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(aitCounter4));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server06.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Servers/Server07.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Servers/Server07.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Servers/Server07.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,93 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.AITResources01Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server07.java,v 1.2 2003/06/26 11:43:09 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server07.java,v 1.2 2003/06/26 11:43:09 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.AITResources01.*;
+import org.jboss.jbossts.qa.AITResources01Impls.AITPingPongImpl01;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server07
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ AITPingPongImpl01 aitPingPongImpl = new AITPingPongImpl01();
+ PingPongPOATie servant = new PingPongPOATie(aitPingPongImpl);
+
+ OAInterface.objectIsReady(servant);
+ PingPong aitPingPong = PingPongHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(aitPingPong));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server07.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Servers/Server08.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Servers/Server08.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Servers/Server08.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,99 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.AITResources01Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server08.java,v 1.2 2003/06/26 11:43:09 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server08.java,v 1.2 2003/06/26 11:43:09 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.AITResources01.*;
+import org.jboss.jbossts.qa.AITResources01Impls.AITPingPongImpl01;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server08
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ AITPingPongImpl01 aitPingPongImpl1 = new AITPingPongImpl01();
+ AITPingPongImpl01 aitPingPongImpl2 = new AITPingPongImpl01();
+
+ PingPongPOATie servant1 = new PingPongPOATie(aitPingPongImpl1);
+ PingPongPOATie servant2 = new PingPongPOATie(aitPingPongImpl2);
+
+ OAInterface.objectIsReady(servant1);
+ OAInterface.objectIsReady(servant2);
+ PingPong aitPingPong1 = PingPongHelper.narrow(OAInterface.corbaReference(servant1));
+ PingPong aitPingPong2 = PingPongHelper.narrow(OAInterface.corbaReference(servant2));
+
+ ServerIORStore.storeIOR(args[args.length - 2], ORBInterface.orb().object_to_string(aitPingPong1));
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(aitPingPong2));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server08.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Servers/Server09.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Servers/Server09.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Servers/Server09.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,94 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.AITResources01Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server09.java,v 1.2 2003/06/26 11:43:09 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server09.java,v 1.2 2003/06/26 11:43:09 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.AITResources01.*;
+import org.jboss.jbossts.qa.AITResources01Impls.AITCounterImpl03;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server09
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ AITCounterImpl03 aitCounterImpl = new AITCounterImpl03();
+ CounterPOATie servant = new CounterPOATie(aitCounterImpl);
+
+ OAInterface.objectIsReady(servant);
+ Counter aitCounter = CounterHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(aitCounter));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server09.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Servers/Server10.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Servers/Server10.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Servers/Server10.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,109 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.AITResources01Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server10.java,v 1.2 2003/06/26 11:43:10 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server10.java,v 1.2 2003/06/26 11:43:10 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.AITResources01.*;
+import org.jboss.jbossts.qa.AITResources01Impls.AITCounterImpl03;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server10
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ AITCounterImpl03 aitCounterImpl1 = new AITCounterImpl03();
+ AITCounterImpl03 aitCounterImpl2 = new AITCounterImpl03();
+ AITCounterImpl03 aitCounterImpl3 = new AITCounterImpl03();
+ AITCounterImpl03 aitCounterImpl4 = new AITCounterImpl03();
+
+ CounterPOATie servant1 = new CounterPOATie(aitCounterImpl1);
+ CounterPOATie servant2 = new CounterPOATie(aitCounterImpl2);
+ CounterPOATie servant3 = new CounterPOATie(aitCounterImpl3);
+ CounterPOATie servant4 = new CounterPOATie(aitCounterImpl4);
+
+ OAInterface.objectIsReady(servant1);
+ OAInterface.objectIsReady(servant2);
+ OAInterface.objectIsReady(servant3);
+ OAInterface.objectIsReady(servant4);
+ Counter aitCounter1 = CounterHelper.narrow(OAInterface.corbaReference(servant1));
+ Counter aitCounter2 = CounterHelper.narrow(OAInterface.corbaReference(servant2));
+ Counter aitCounter3 = CounterHelper.narrow(OAInterface.corbaReference(servant3));
+ Counter aitCounter4 = CounterHelper.narrow(OAInterface.corbaReference(servant4));
+
+ ServerIORStore.storeIOR(args[args.length - 4], ORBInterface.orb().object_to_string(aitCounter1));
+ ServerIORStore.storeIOR(args[args.length - 3], ORBInterface.orb().object_to_string(aitCounter2));
+ ServerIORStore.storeIOR(args[args.length - 2], ORBInterface.orb().object_to_string(aitCounter3));
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(aitCounter4));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server10.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Servers/Server11.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Servers/Server11.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources01Servers/Server11.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,101 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+/*
+*
+* This server object has been created to test jiterbug issue 264
+*
+* The class is a copy of server01 but the remote object registered with
+* the ORB is impl04
+* # Author P.Craddock
+* # 09/08/01
+*/
+package org.jboss.jbossts.qa.AITResources01Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server11.java,v 1.2 2003/06/26 11:43:10 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server11.java,v 1.2 2003/06/26 11:43:10 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.AITResources01.*;
+import org.jboss.jbossts.qa.AITResources01Impls.AITCounterImpl04;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server11
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ AITCounterImpl04 aitCounterImpl = new AITCounterImpl04();
+ CounterPOATie servant = new CounterPOATie(aitCounterImpl);
+
+ OAInterface.objectIsReady(servant);
+ Counter aitCounter = CounterHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(aitCounter));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,115 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.AITResources02Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client01.java,v 1.2 2003/06/26 11:43:10 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client01.java,v 1.2 2003/06/26 11:43:10 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.AITResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.IntHolder;
+
+public class Client01
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String counterIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Counter counter = CounterHelper.narrow(ORBInterface.orb().string_to_object(counterIOR));
+
+ int numberOfCalls = 1000;
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ counter.increase(null);
+ }
+
+ IntHolder value = new IntHolder();
+ counter.get(value, null);
+
+ if (value.value == numberOfCalls)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,136 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.AITResources02Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client02.java,v 1.2 2003/06/26 11:43:10 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client02.java,v 1.2 2003/06/26 11:43:10 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import org.jboss.jbossts.qa.AITResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.IntHolder;
+
+public class Client02
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String counterIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Counter counter = CounterHelper.narrow(ORBInterface.orb().string_to_object(counterIOR));
+
+ int numberOfCalls = 1000;
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ counter.increase(OTS.current().get_control());
+
+ if ((index % 2) == 0)
+ {
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ atomicTransaction.rollback();
+ }
+ }
+
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ IntHolder value = new IntHolder();
+ counter.get(value, OTS.current().get_control());
+
+ atomicTransaction.commit(true);
+
+ if (value.value == (numberOfCalls / 2))
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client02.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client02.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client03.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client03.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client03.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,164 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+///////////////////////////////////////////////////////////////////////////////////////////
+//
+// Copyright (C) 2001, HP Bluestone Arjuna.
+//
+// File : Client03.javatmpl (AITResources02)
+//
+// Description : Memory Test version of Client01 (counter increase & check - no client trans).
+//
+// Client performs a specified number of remote calls before
+// the memory growth is checked. If client or server memory growth
+// exceeds specified parameters then the test fails and "Failed" is output.
+// Otherwise "Passed" is output.
+//
+// Author : Stewart Wheater
+//
+// History : 1.0 25 Feb 2000 S Wheater Creation.
+// 1.1 07 Jul 2001 M Buckingham Added facility to use client/server
+// thresholds in config file
+// MemoryTestProfile.
+//
+///////////////////////////////////////////////////////////////////////////////////////////
+
+package org.jboss.jbossts.qa.AITResources02Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client03.java,v 1.2 2003/06/26 11:43:10 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client03.java,v 1.2 2003/06/26 11:43:10 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.AITResources02.*;
+import org.jboss.jbossts.qa.Utils.*;
+
+public class Client03
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String counterIOR = ServerIORStore.loadIOR(args[args.length - 4]);
+ Counter counter = CounterHelper.narrow(ORBInterface.orb().string_to_object(counterIOR));
+
+ int numberOfCalls = Integer.parseInt(args[args.length - 3]);
+
+ float clientIncreaseThreshold;
+ float serverIncreaseThreshold;
+
+ // If no threshold value then use default.
+ if (MemoryTestProfileStore.getNoThresholdValue().equals(args[args.length - 2]))
+ {
+ clientIncreaseThreshold = Float.parseFloat(MemoryTestProfileStore.getDefaultClientIncreaseThreshold());
+ }
+ else // Use passed threshold
+ {
+ clientIncreaseThreshold = Float.parseFloat(args[args.length - 2]);
+ }
+
+ // If no threshold value then use default.
+ if (MemoryTestProfileStore.getNoThresholdValue().equals(args[args.length - 1]))
+ {
+ serverIncreaseThreshold = Float.parseFloat(MemoryTestProfileStore.getDefaultServerIncreaseThreshold());
+ }
+ else // Use passed threshold
+ {
+ serverIncreaseThreshold = Float.parseFloat(args[args.length - 1]);
+ }
+
+ counter.increase(null);
+
+ int clientMemory0 = (int) JVMStats.getMemory();
+ int serverMemory0 = counter.getMemory();
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ counter.increase(null);
+ }
+
+ int clientMemory1 = (int) JVMStats.getMemory();
+ int serverMemory1 = counter.getMemory();
+
+ float clientMemoryIncrease = ((float) (clientMemory1 - clientMemory0)) / ((float) clientMemory0);
+ float serverMemoryIncrease = ((float) (serverMemory1 - serverMemory0)) / ((float) serverMemory0);
+
+ System.err.println("Client memory increase threshold : " + (float) (100.0 * clientIncreaseThreshold) + "%");
+ System.err.println("Server memory increase threshold : " + (float) (100.0 * serverIncreaseThreshold) + "%");
+
+ System.err.println("Client percentage memory increase: " + (float) (100.0 * clientMemoryIncrease) + "%");
+ System.err.println("Client memory increase per call : " + (clientMemory1 - clientMemory0) / numberOfCalls);
+ System.err.println("Server percentage memory increase: " + (float) (100.0 * serverMemoryIncrease) + "%");
+ System.err.println("Server memory increase per call : " + (serverMemory1 - serverMemory0) / numberOfCalls);
+
+ if ((clientMemoryIncrease < clientIncreaseThreshold) && (serverMemoryIncrease < serverIncreaseThreshold))
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client03.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client03.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client04.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client04.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client04.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,194 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+///////////////////////////////////////////////////////////////////////////////////////////
+//
+// Copyright (C) 2001, HP Bluestone Arjuna.
+//
+// File : Client04.javatmpl (AITResources02)
+//
+// Description : Memory Test version of Client02. (counter increase & check - with trans).
+//
+// Client performs a specified number of remote calls before
+// the memory growth is checked. If client or server memory growth
+// exceeds specified parameters then the test fails and "Failed" is output.
+// Otherwise "Passed" is output.
+//
+// Author : Stewart Wheater
+//
+// History : 1.0 25 Feb 2000 S Wheater Creation.
+// 1.1 07 Jul 2001 M Buckingham Added facility to use client/server
+// thresholds in config file
+// MemoryTestProfile.
+//
+///////////////////////////////////////////////////////////////////////////////////////////
+
+package org.jboss.jbossts.qa.AITResources02Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client04.java,v 1.2 2003/06/26 11:43:10 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client04.java,v 1.2 2003/06/26 11:43:10 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import org.jboss.jbossts.qa.AITResources02.*;
+import org.jboss.jbossts.qa.Utils.*;
+
+public class Client04
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String counterIOR = ServerIORStore.loadIOR(args[args.length - 4]);
+ Counter counter = CounterHelper.narrow(ORBInterface.orb().string_to_object(counterIOR));
+
+ int numberOfCalls = Integer.parseInt(args[args.length - 3]);
+
+ float clientIncreaseThreshold;
+ float serverIncreaseThreshold;
+
+ // If no threshold value then use default.
+ if (MemoryTestProfileStore.getNoThresholdValue().equals(args[args.length - 2]))
+ {
+ clientIncreaseThreshold = Float.parseFloat(MemoryTestProfileStore.getDefaultClientIncreaseThreshold());
+ }
+ else // Use passed threshold
+ {
+ clientIncreaseThreshold = Float.parseFloat(args[args.length - 2]);
+ }
+
+ // If no threshold value then use default.
+ if (MemoryTestProfileStore.getNoThresholdValue().equals(args[args.length - 1]))
+ {
+ serverIncreaseThreshold = Float.parseFloat(MemoryTestProfileStore.getDefaultServerIncreaseThreshold());
+ }
+ else // Use passed threshold
+ {
+ serverIncreaseThreshold = Float.parseFloat(args[args.length - 1]);
+ }
+
+ for (int index = 0; index < 2; index++)
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ counter.increase(OTS.current().get_control());
+
+ if ((index % 2) == 0)
+ {
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ atomicTransaction.rollback();
+ }
+ }
+
+ int clientMemory0 = (int) JVMStats.getMemory();
+ int serverMemory0 = counter.getMemory();
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ counter.increase(OTS.current().get_control());
+
+ if ((index % 2) == 0)
+ {
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ atomicTransaction.rollback();
+ }
+ }
+
+ int clientMemory1 = (int) JVMStats.getMemory();
+ int serverMemory1 = counter.getMemory();
+
+ float clientMemoryIncrease = ((float) (clientMemory1 - clientMemory0)) / ((float) clientMemory0);
+ float serverMemoryIncrease = ((float) (serverMemory1 - serverMemory0)) / ((float) serverMemory0);
+
+ System.err.println("Client memory increase threshold : " + (float) (100.0 * clientIncreaseThreshold) + "%");
+ System.err.println("Server memory increase threshold : " + (float) (100.0 * serverIncreaseThreshold) + "%");
+
+ System.err.println("Client percentage memory increase: " + (float) (100.0 * clientMemoryIncrease) + "%");
+ System.err.println("Client memory increase per call : " + (clientMemory1 - clientMemory0) / numberOfCalls);
+ System.err.println("Server percentage memory increase: " + (float) (100.0 * serverMemoryIncrease) + "%");
+ System.err.println("Server memory increase per call : " + (serverMemory1 - serverMemory0) / numberOfCalls);
+
+ if ((clientMemoryIncrease < clientIncreaseThreshold) && (serverMemoryIncrease < clientIncreaseThreshold))
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client04.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client04.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client05.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client05.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client05.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,115 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.AITResources02Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client05.java,v 1.2 2003/06/26 11:43:10 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client05.java,v 1.2 2003/06/26 11:43:10 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.AITResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.IntHolder;
+
+public class Client05
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String pingPongIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ PingPong pingPong = PingPongHelper.narrow(ORBInterface.orb().string_to_object(pingPongIOR));
+
+ int numberOfCalls = 10;
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ pingPong.hit(index, pingPong, pingPong, null);
+ }
+
+ IntHolder pingPongValue = new IntHolder();
+ pingPong.get(pingPongValue, null);
+
+ if (pingPongValue.value == numberOfCalls)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client05.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client05.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client06.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client06.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client06.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,121 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.AITResources02Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client06.java,v 1.2 2003/06/26 11:43:11 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client06.java,v 1.2 2003/06/26 11:43:11 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.AITResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.IntHolder;
+
+public class Client06
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String pingerIOR = ServerIORStore.loadIOR(args[args.length - 2]);
+ PingPong pinger = PingPongHelper.narrow(ORBInterface.orb().string_to_object(pingerIOR));
+
+ String pongerIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ PingPong ponger = PingPongHelper.narrow(ORBInterface.orb().string_to_object(pongerIOR));
+
+ int numberOfCalls = 10;
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ pinger.hit(index, ponger, pinger, null);
+ }
+
+ IntHolder pingerValue = new IntHolder();
+ pinger.get(pingerValue, null);
+
+ IntHolder pongerValue = new IntHolder();
+ ponger.get(pongerValue, null);
+
+ if ((pingerValue.value == (numberOfCalls / 2)) && (pongerValue.value == (numberOfCalls / 2)))
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client06.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client06.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client07.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client07.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client07.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,164 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+///////////////////////////////////////////////////////////////////////////////////////////
+//
+// Copyright (C) 2001, HP Bluestone Arjuna.
+//
+// File : Client07.javatmpl (AITResources02)
+//
+// Description : Memory Test version of Client05 (Ping Pong Test with no client transaction).
+//
+// Client performs a specified number of remote calls before
+// the memory growth is checked. If client or server memory growth
+// exceeds specified parameters then the test fails and "Failed" is output.
+// Otherwise "Passed" is output.
+//
+// Author : Stewart Wheater
+//
+// History : 1.0 25 Feb 2000 S Wheater Creation.
+// 1.1 07 Jul 2001 M Buckingham Added facility to use client/server
+// thresholds in config file
+// MemoryTestProfile.
+//
+///////////////////////////////////////////////////////////////////////////////////////////
+
+package org.jboss.jbossts.qa.AITResources02Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client07.java,v 1.2 2003/06/26 11:43:11 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client07.java,v 1.2 2003/06/26 11:43:11 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.AITResources02.*;
+import org.jboss.jbossts.qa.Utils.*;
+
+public class Client07
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String pingPongIOR = ServerIORStore.loadIOR(args[args.length - 4]);
+ PingPong pingPong = PingPongHelper.narrow(ORBInterface.orb().string_to_object(pingPongIOR));
+
+ int numberOfCalls = Integer.parseInt(args[args.length - 3]);
+
+ float clientIncreaseThreshold;
+ float serverIncreaseThreshold;
+
+ // If no threshold value then use default.
+ if (MemoryTestProfileStore.getNoThresholdValue().equals(args[args.length - 2]))
+ {
+ clientIncreaseThreshold = Float.parseFloat(MemoryTestProfileStore.getDefaultClientIncreaseThreshold());
+ }
+ else // Use passed threshold
+ {
+ clientIncreaseThreshold = Float.parseFloat(args[args.length - 2]);
+ }
+
+ // If no threshold value then use default.
+ if (MemoryTestProfileStore.getNoThresholdValue().equals(args[args.length - 1]))
+ {
+ serverIncreaseThreshold = Float.parseFloat(MemoryTestProfileStore.getDefaultServerIncreaseThreshold());
+ }
+ else // Use passed threshold
+ {
+ serverIncreaseThreshold = Float.parseFloat(args[args.length - 1]);
+ }
+
+ pingPong.hit(0, pingPong, pingPong, null);
+
+ int clientMemory0 = (int) JVMStats.getMemory();
+ int serverMemory0 = pingPong.getMemory();
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ pingPong.hit(index, pingPong, pingPong, null);
+ }
+
+ int clientMemory1 = (int) JVMStats.getMemory();
+ int serverMemory1 = pingPong.getMemory();
+
+ float clientMemoryIncrease = ((float) (clientMemory1 - clientMemory0)) / ((float) clientMemory0);
+ float serverMemoryIncrease = ((float) (serverMemory1 - serverMemory0)) / ((float) serverMemory0);
+
+ System.err.println("Client memory increase threshold : " + (float) (100.0 * clientIncreaseThreshold) + "%");
+ System.err.println("Server memory increase threshold : " + (float) (100.0 * serverIncreaseThreshold) + "%");
+
+ System.err.println("Client percentage memory increase: " + (float) (100.0 * clientMemoryIncrease) + "%");
+ System.err.println("Client memory increase per call : " + (clientMemory1 - clientMemory0) / numberOfCalls);
+ System.err.println("Server percentage memory increase: " + (float) (100.0 * serverMemoryIncrease) + "%");
+ System.err.println("Server memory increase per call : " + (serverMemory1 - serverMemory0) / numberOfCalls);
+
+ if ((clientMemoryIncrease < clientIncreaseThreshold) && (serverMemoryIncrease < serverIncreaseThreshold))
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client07.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client07.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client08.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client08.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client08.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,173 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+///////////////////////////////////////////////////////////////////////////////////////////
+//
+// Copyright (C) 2001, HP Bluestone Arjuna.
+//
+// File : Client08.javatmpl (AITResources02)
+//
+// Description : Memory Test version of Client06 (ping pong test with no client transaction).
+//
+// Client performs a specified number of remote calls before
+// the memory growth is checked. If client or server memory growth
+// exceeds specified parameters then the test fails and "Failed" is output.
+// Otherwise "Passed" is output.
+//
+// Author : Stewart Wheater
+//
+// History : 1.0 25 Feb 2000 S Wheater Creation.
+// 1.1 07 Jul 2001 M Buckingham Added facility to use client/server
+// thresholds in config file
+// MemoryTestProfile.
+//
+///////////////////////////////////////////////////////////////////////////////////////////
+
+package org.jboss.jbossts.qa.AITResources02Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client08.java,v 1.2 2003/06/26 11:43:11 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client08.java,v 1.2 2003/06/26 11:43:11 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.AITResources02.*;
+import org.jboss.jbossts.qa.Utils.*;
+
+public class Client08
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String pingerIOR = ServerIORStore.loadIOR(args[args.length - 5]);
+ PingPong pinger = PingPongHelper.narrow(ORBInterface.orb().string_to_object(pingerIOR));
+
+ String pongerIOR = ServerIORStore.loadIOR(args[args.length - 4]);
+ PingPong ponger = PingPongHelper.narrow(ORBInterface.orb().string_to_object(pongerIOR));
+
+ int numberOfCalls = Integer.parseInt(args[args.length - 3]);
+
+ float clientIncreaseThreshold;
+ float serverIncreaseThreshold;
+
+ // If no threshold value then use default.
+ if (MemoryTestProfileStore.getNoThresholdValue().equals(args[args.length - 2]))
+ {
+ clientIncreaseThreshold = Float.parseFloat(MemoryTestProfileStore.getDefaultClientIncreaseThreshold());
+ }
+ else // Use passed threshold
+ {
+ clientIncreaseThreshold = Float.parseFloat(args[args.length - 2]);
+ }
+
+ // If no threshold value then use default.
+ if (MemoryTestProfileStore.getNoThresholdValue().equals(args[args.length - 1]))
+ {
+ serverIncreaseThreshold = Float.parseFloat(MemoryTestProfileStore.getDefaultServerIncreaseThreshold());
+ }
+ else // Use passed threshold
+ {
+ serverIncreaseThreshold = Float.parseFloat(args[args.length - 1]);
+ }
+
+ pinger.hit(numberOfCalls, pinger, pinger, null);
+ ponger.hit(numberOfCalls, ponger, ponger, null);
+
+ int clientMemory0 = (int) JVMStats.getMemory();
+ int server1Memory0 = pinger.getMemory();
+ int server2Memory0 = ponger.getMemory();
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ pinger.hit(index, ponger, pinger, null);
+ }
+
+ int clientMemory1 = (int) JVMStats.getMemory();
+ int server1Memory1 = pinger.getMemory();
+ int server2Memory1 = ponger.getMemory();
+
+ float clientMemoryIncrease = ((float) (clientMemory1 - clientMemory0)) / ((float) clientMemory0);
+ float server1MemoryIncrease = ((float) (server1Memory1 - server1Memory0)) / ((float) server1Memory0);
+ float server2MemoryIncrease = ((float) (server2Memory1 - server2Memory0)) / ((float) server2Memory0);
+
+ System.err.println("Client memory increase threshold : " + (float) (100.0 * clientIncreaseThreshold) + "%");
+ System.err.println("Server memory increase threshold : " + (float) (100.0 * serverIncreaseThreshold) + "%");
+
+ System.err.println("Client percentage memory increase: " + (float) (100.0 * clientMemoryIncrease) + "%");
+ System.err.println("Client memory increase per call : " + (clientMemory1 - clientMemory0) / numberOfCalls);
+ System.err.println("Server 1 percentage memory increase: " + (float) (100.0 * server1MemoryIncrease) + "%");
+ System.err.println("Server 1 memory increase per call : " + (server1Memory1 - server1Memory0) / numberOfCalls);
+ System.err.println("Server 2 percentage memory increase: " + (float) (100.0 * server2MemoryIncrease) + "%");
+ System.err.println("Server 2 memory increase per call : " + (server2Memory1 - server2Memory0) / numberOfCalls);
+
+ if ((clientMemoryIncrease < clientIncreaseThreshold) && (server1MemoryIncrease < serverIncreaseThreshold) && (server2MemoryIncrease < serverIncreaseThreshold))
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client08.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client08.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client09.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client09.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client09.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,112 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.AITResources02Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client09.java,v 1.2 2003/06/26 11:43:11 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client09.java,v 1.2 2003/06/26 11:43:11 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.AITResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client09
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String counterIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Counter counter = CounterHelper.narrow(ORBInterface.orb().string_to_object(counterIOR));
+
+ int numberOfCalls = 1000;
+
+ int index = 0;
+ while (index < numberOfCalls)
+ {
+ try
+ {
+ counter.increase(null);
+ index++;
+ }
+ catch (InvocationException invocationException)
+ {
+ }
+ }
+
+ System.out.println("Passed");
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client09.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client09.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client10.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client10.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client10.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,118 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.AITResources02Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client10.java,v 1.2 2003/06/26 11:43:11 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client10.java,v 1.2 2003/06/26 11:43:11 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.AITResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.IntHolder;
+
+public class Client10
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String pingPongIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ PingPong pingPong = PingPongHelper.narrow(ORBInterface.orb().string_to_object(pingPongIOR));
+
+ int numberOfCalls = 10;
+
+ for (int index0 = 0; index0 < numberOfCalls; index0++)
+ {
+ for (int index1 = 0; index1 <= index0; index1++)
+ {
+ pingPong.bad_hit(index0, index1, pingPong, pingPong, null);
+ }
+ }
+
+ IntHolder pingPongValue = new IntHolder();
+ pingPong.get(pingPongValue, null);
+
+ if (pingPongValue.value == 0)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client10.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client10.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client11.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client11.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client11.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,124 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.AITResources02Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client11.java,v 1.2 2003/06/26 11:43:11 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client11.java,v 1.2 2003/06/26 11:43:11 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.AITResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.IntHolder;
+
+public class Client11
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String pingerIOR = ServerIORStore.loadIOR(args[args.length - 2]);
+ PingPong pinger = PingPongHelper.narrow(ORBInterface.orb().string_to_object(pingerIOR));
+
+ String pongerIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ PingPong ponger = PingPongHelper.narrow(ORBInterface.orb().string_to_object(pongerIOR));
+
+ int numberOfCalls = 10;
+
+ for (int index0 = 0; index0 < numberOfCalls; index0++)
+ {
+ for (int index1 = 0; index1 <= index0; index1++)
+ {
+ pinger.bad_hit(index0, index1, ponger, pinger, null);
+ }
+ }
+
+ IntHolder pingerValue = new IntHolder();
+ pinger.get(pingerValue, null);
+
+ IntHolder pongerValue = new IntHolder();
+ ponger.get(pongerValue, null);
+
+ if ((pingerValue.value == 0) && (pongerValue.value == 0))
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client11.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client11.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client12.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client12.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client12.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,167 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+///////////////////////////////////////////////////////////////////////////////////////////
+//
+// Copyright (C) 2001, HP Bluestone Arjuna.
+//
+// File : Client12.javatmpl (AITResources02)
+//
+// Description : Memory Test version of Client10 (ping pong test with no client transaction).
+//
+// Client performs a specified number of remote calls before
+// the memory growth is checked. If client or server memory growth
+// exceeds specified parameters then the test fails and "Failed" is output.
+// Otherwise "Passed" is output.
+//
+// Author : Stewart Wheater
+//
+// History : 1.0 25 Feb 2000 S Wheater Creation.
+// 1.1 07 Jul 2001 M Buckingham Added facility to use client/server
+// thresholds in config file
+// MemoryTestProfile.
+//
+///////////////////////////////////////////////////////////////////////////////////////////
+
+package org.jboss.jbossts.qa.AITResources02Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client12.java,v 1.2 2003/06/26 11:43:11 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client12.java,v 1.2 2003/06/26 11:43:11 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.AITResources02.*;
+import org.jboss.jbossts.qa.Utils.*;
+
+public class Client12
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String pingPongIOR = ServerIORStore.loadIOR(args[args.length - 4]);
+ PingPong pingPong = PingPongHelper.narrow(ORBInterface.orb().string_to_object(pingPongIOR));
+
+ int numberOfCalls = Integer.parseInt(args[args.length - 3]);
+
+ float clientIncreaseThreshold;
+ float serverIncreaseThreshold;
+
+ // If no threshold value then use default.
+ if (MemoryTestProfileStore.getNoThresholdValue().equals(args[args.length - 2]))
+ {
+ clientIncreaseThreshold = Float.parseFloat(MemoryTestProfileStore.getDefaultClientIncreaseThreshold());
+ }
+ else // Use passed threshold
+ {
+ clientIncreaseThreshold = Float.parseFloat(args[args.length - 2]);
+ }
+
+ // If no threshold value then use default.
+ if (MemoryTestProfileStore.getNoThresholdValue().equals(args[args.length - 1]))
+ {
+ serverIncreaseThreshold = Float.parseFloat(MemoryTestProfileStore.getDefaultServerIncreaseThreshold());
+ }
+ else // Use passed threshold
+ {
+ serverIncreaseThreshold = Float.parseFloat(args[args.length - 1]);
+ }
+
+ pingPong.bad_hit(0, 0, pingPong, pingPong, null);
+
+ int clientMemory0 = (int) JVMStats.getMemory();
+ int serverMemory0 = pingPong.getMemory();
+
+ for (int index0 = 0; index0 < numberOfCalls; index0++)
+ {
+ for (int index1 = 0; index1 <= index0; index1++)
+ {
+ pingPong.bad_hit(index0, index1, pingPong, pingPong, null);
+ }
+ }
+
+ int clientMemory1 = (int) JVMStats.getMemory();
+ int serverMemory1 = pingPong.getMemory();
+
+ float clientMemoryIncrease = ((float) (clientMemory1 - clientMemory0)) / ((float) clientMemory0);
+ float serverMemoryIncrease = ((float) (serverMemory1 - serverMemory0)) / ((float) serverMemory0);
+
+ System.err.println("Client memory increase threshold : " + (float) (100.0 * clientIncreaseThreshold) + "%");
+ System.err.println("Server memory increase threshold : " + (float) (100.0 * serverIncreaseThreshold) + "%");
+
+ System.err.println("Client percentage memory increase: " + (float) (100.0 * clientMemoryIncrease) + "%");
+ System.err.println("Client memory increase per call : " + (clientMemory1 - clientMemory0) / numberOfCalls);
+ System.err.println("Server percentage memory increase: " + (float) (100.0 * serverMemoryIncrease) + "%");
+ System.err.println("Server memory increase per call : " + (serverMemory1 - serverMemory0) / numberOfCalls);
+
+ if ((clientMemoryIncrease < clientIncreaseThreshold) && (serverMemoryIncrease < clientIncreaseThreshold))
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client12.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client12.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client13.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client13.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client13.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,176 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+///////////////////////////////////////////////////////////////////////////////////////////
+//
+// Copyright (C) 2001, HP Bluestone Arjuna.
+//
+// File : Client13.javatmpl (AITResources02)
+//
+// Description : Memory Test version of Client11 (ping pong test with no client transaction).
+//
+// Client performs a specified number of remote calls before
+// the memory growth is checked. If client or server memory growth
+// exceeds specified parameters then the test fails and "Failed" is output.
+// Otherwise "Passed" is output.
+//
+// Author : Stewart Wheater
+//
+// History : 1.0 25 Feb 2000 S Wheater Creation.
+// 1.1 07 Jul 2001 M Buckingham Added facility to use client/server
+// thresholds in config file
+// MemoryTestProfile.
+//
+///////////////////////////////////////////////////////////////////////////////////////////
+
+package org.jboss.jbossts.qa.AITResources02Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client13.java,v 1.2 2003/06/26 11:43:11 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client13.java,v 1.2 2003/06/26 11:43:11 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.AITResources02.*;
+import org.jboss.jbossts.qa.Utils.*;
+
+public class Client13
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String pingerIOR = ServerIORStore.loadIOR(args[args.length - 5]);
+ PingPong pinger = PingPongHelper.narrow(ORBInterface.orb().string_to_object(pingerIOR));
+
+ String pongerIOR = ServerIORStore.loadIOR(args[args.length - 4]);
+ PingPong ponger = PingPongHelper.narrow(ORBInterface.orb().string_to_object(pongerIOR));
+
+ int numberOfCalls = Integer.parseInt(args[args.length - 3]);
+
+ float clientIncreaseThreshold;
+ float serverIncreaseThreshold;
+
+ // If no threshold value then use default.
+ if (MemoryTestProfileStore.getNoThresholdValue().equals(args[args.length - 2]))
+ {
+ clientIncreaseThreshold = Float.parseFloat(MemoryTestProfileStore.getDefaultClientIncreaseThreshold());
+ }
+ else // Use passed threshold
+ {
+ clientIncreaseThreshold = Float.parseFloat(args[args.length - 2]);
+ }
+
+ // If no threshold value then use default.
+ if (MemoryTestProfileStore.getNoThresholdValue().equals(args[args.length - 1]))
+ {
+ serverIncreaseThreshold = Float.parseFloat(MemoryTestProfileStore.getDefaultServerIncreaseThreshold());
+ }
+ else // Use passed threshold
+ {
+ serverIncreaseThreshold = Float.parseFloat(args[args.length - 1]);
+ }
+
+ pinger.bad_hit(numberOfCalls, 0, pinger, pinger, null);
+ ponger.bad_hit(numberOfCalls, 0, ponger, ponger, null);
+
+ int clientMemory0 = (int) JVMStats.getMemory();
+ int server1Memory0 = pinger.getMemory();
+ int server2Memory0 = ponger.getMemory();
+
+ for (int index0 = 0; index0 < numberOfCalls; index0++)
+ {
+ for (int index1 = 0; index1 <= index0; index1++)
+ {
+ pinger.bad_hit(index0, index1, ponger, pinger, null);
+ }
+ }
+
+ int clientMemory1 = (int) JVMStats.getMemory();
+ int server1Memory1 = pinger.getMemory();
+ int server2Memory1 = ponger.getMemory();
+
+ float clientMemoryIncrease = ((float) (clientMemory1 - clientMemory0)) / ((float) clientMemory0);
+ float server1MemoryIncrease = ((float) (server1Memory1 - server1Memory0)) / ((float) server1Memory0);
+ float server2MemoryIncrease = ((float) (server2Memory1 - server2Memory0)) / ((float) server2Memory0);
+
+ System.err.println("Client memory increase threshold : " + (float) (100.0 * clientIncreaseThreshold) + "%");
+ System.err.println("Server memory increase threshold : " + (float) (100.0 * serverIncreaseThreshold) + "%");
+
+ System.err.println("Client percentage memory increase: " + (float) (100.0 * clientMemoryIncrease) + "%");
+ System.err.println("Client memory increase per call : " + (clientMemory1 - clientMemory0) / numberOfCalls);
+ System.err.println("Server 1 percentage memory increase: " + (float) (100.0 * server1MemoryIncrease) + "%");
+ System.err.println("Server 1 memory increase per call : " + (server1Memory1 - server1Memory0) / numberOfCalls);
+ System.err.println("Server 2 percentage memory increase: " + (float) (100.0 * server2MemoryIncrease) + "%");
+ System.err.println("Server 2 memory increase per call : " + (server2Memory1 - server2Memory0) / numberOfCalls);
+
+ if ((clientMemoryIncrease < clientIncreaseThreshold) && (server1MemoryIncrease < serverIncreaseThreshold) && (server2MemoryIncrease < serverIncreaseThreshold))
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client13.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client13.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client14.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client14.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client14.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,175 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.AITResources02Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client14.java,v 1.2 2003/06/26 11:43:11 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client14.java,v 1.2 2003/06/26 11:43:11 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.AITResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.IntHolder;
+
+public class Client14
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String counterIOR = ServerIORStore.loadIOR(args[args.length - 3]);
+ Counter counter = CounterHelper.narrow(ORBInterface.orb().string_to_object(counterIOR));
+
+ int numberOfWorkers = Integer.parseInt(args[args.length - 2]);
+ int numberOfCalls = Integer.parseInt(args[args.length - 1]);
+
+ Worker[] workers = new Worker[numberOfWorkers];
+
+ for (int index = 0; index < workers.length; index++)
+ {
+ workers[index] = new Worker(numberOfCalls, counter);
+ }
+
+ for (int index = 0; index < workers.length; index++)
+ {
+ workers[index].start();
+ }
+
+ boolean correct = true;
+
+ for (int index = 0; index < workers.length; index++)
+ {
+ workers[index].join();
+ correct = correct && workers[index].isCorrect();
+ }
+
+ IntHolder value = new IntHolder();
+ counter.get(value, null);
+ correct = correct && (value.value == (numberOfWorkers * numberOfCalls));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client14.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client14.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+
+ private static class Worker extends Thread
+ {
+ public Worker(int numberOfCalls, Counter counter)
+ {
+ _numberOfCalls = numberOfCalls;
+ _counter = counter;
+ }
+
+ public void run()
+ {
+ try
+ {
+ int index = 0;
+ while (index < _numberOfCalls)
+ {
+ try
+ {
+ _counter.increase(null);
+ index++;
+ }
+ catch (InvocationException invocationException)
+ {
+ }
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client14.Worker.run: " + exception);
+ exception.printStackTrace(System.err);
+ _correct = false;
+ }
+ }
+
+ public boolean isCorrect()
+ {
+ return _correct;
+ }
+
+ private boolean _correct = true;
+ private int _numberOfCalls;
+ private Counter _counter = null;
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client15.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client15.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client15.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,225 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+///////////////////////////////////////////////////////////////////////////////////////////
+//
+// Copyright (C) 2001, HP Bluestone Arjuna.
+//
+// File : Client15.javatmpl (AITResources02)
+//
+// Description : Memory Test version of Client14.
+//
+// Client performs a specified number of remote calls before
+// the memory growth is checked. If client or server memory growth
+// exceeds specified parameters then the test fails and "Failed" is output.
+// Otherwise "Passed" is output.
+//
+// Author : Stewart Wheater
+//
+// History : 1.0 25 Feb 2000 S Wheater Creation.
+// 1.1 07 Jul 2001 M Buckingham Added facility to use client/server
+// thresholds in config file
+// MemoryTestProfile.
+//
+///////////////////////////////////////////////////////////////////////////////////////////
+
+package org.jboss.jbossts.qa.AITResources02Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client15.java,v 1.2 2003/06/26 11:43:11 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client15.java,v 1.2 2003/06/26 11:43:11 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.AITResources02.*;
+import org.jboss.jbossts.qa.Utils.*;
+
+public class Client15
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String counterIOR = ServerIORStore.loadIOR(args[args.length - 5]);
+ Counter counter = CounterHelper.narrow(ORBInterface.orb().string_to_object(counterIOR));
+
+ int numberOfWorkers = Integer.parseInt(args[args.length - 4]);
+ int numberOfCalls = Integer.parseInt(args[args.length - 3]);
+
+ float clientIncreaseThreshold;
+ float serverIncreaseThreshold;
+
+ // If no threshold value then use default.
+ if (MemoryTestProfileStore.getNoThresholdValue().equals(args[args.length - 2]))
+ {
+ clientIncreaseThreshold = Float.parseFloat(MemoryTestProfileStore.getDefaultClientIncreaseThreshold());
+ }
+ else // Use passed threshold
+ {
+ clientIncreaseThreshold = Float.parseFloat(args[args.length - 2]);
+ }
+
+ // If no threshold value then use default.
+ if (MemoryTestProfileStore.getNoThresholdValue().equals(args[args.length - 1]))
+ {
+ serverIncreaseThreshold = Float.parseFloat(MemoryTestProfileStore.getDefaultServerIncreaseThreshold());
+ }
+ else // Use passed threshold
+ {
+ serverIncreaseThreshold = Float.parseFloat(args[args.length - 1]);
+ }
+
+ counter.increase(null);
+
+ int clientMemory0 = (int) JVMStats.getMemory();
+ int serverMemory0 = counter.getMemory();
+
+ Worker[] workers = new Worker[numberOfWorkers];
+
+ for (int index = 0; index < workers.length; index++)
+ {
+ workers[index] = new Worker(numberOfCalls, counter);
+ }
+
+ for (int index = 0; index < workers.length; index++)
+ {
+ workers[index].start();
+ }
+
+ boolean correct = true;
+
+ for (int index = 0; index < workers.length; index++)
+ {
+ workers[index].join();
+ correct = correct && workers[index].isCorrect();
+ workers[index] = null;
+ }
+ workers = null;
+
+ int clientMemory1 = (int) JVMStats.getMemory();
+ int serverMemory1 = counter.getMemory();
+
+ float clientMemoryIncrease = ((float) (clientMemory1 - clientMemory0)) / ((float) clientMemory0);
+ float serverMemoryIncrease = ((float) (serverMemory1 - serverMemory0)) / ((float) serverMemory0);
+
+ System.err.println("Client memory increase threshold : " + (float) (100.0 * clientIncreaseThreshold) + "%");
+ System.err.println("Server memory increase threshold : " + (float) (100.0 * serverIncreaseThreshold) + "%");
+
+ System.err.println("Client percentage memory increase: " + (float) (100.0 * clientMemoryIncrease) + "%");
+ System.err.println("Client memory increase per call : " + (clientMemory1 - clientMemory0) / (numberOfCalls * numberOfWorkers));
+ System.err.println("Server percentage memory increase: " + (float) (100.0 * serverMemoryIncrease) + "%");
+ System.err.println("Server memory increase per call : " + (serverMemory1 - serverMemory0) / (numberOfCalls * numberOfWorkers));
+
+ if ((clientMemoryIncrease < clientIncreaseThreshold) && (serverMemoryIncrease < serverIncreaseThreshold))
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client15.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client15.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+
+ private static class Worker extends Thread
+ {
+ public Worker(int numberOfCalls, Counter counter)
+ {
+ _numberOfCalls = numberOfCalls;
+ _counter = counter;
+ }
+
+ public void run()
+ {
+ try
+ {
+ int index = 0;
+ while (index < _numberOfCalls)
+ {
+ try
+ {
+ _counter.increase(null);
+ index++;
+ }
+ catch (InvocationException invocationException)
+ {
+ }
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client15.Worker.run: " + exception);
+ exception.printStackTrace(System.err);
+ _correct = false;
+ }
+ }
+
+ public boolean isCorrect()
+ {
+ return _correct;
+ }
+
+ private boolean _correct = true;
+ private int _numberOfCalls;
+ private Counter _counter = null;
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client16.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client16.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client16.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,189 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.AITResources02Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client16.java,v 1.2 2003/06/26 11:43:11 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client16.java,v 1.2 2003/06/26 11:43:11 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import org.jboss.jbossts.qa.AITResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.IntHolder;
+
+public class Client16
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String counterIOR = ServerIORStore.loadIOR(args[args.length - 3]);
+ Counter counter = CounterHelper.narrow(ORBInterface.orb().string_to_object(counterIOR));
+
+ int numberOfWorkers = Integer.parseInt(args[args.length - 2]);
+ int numberOfCalls = Integer.parseInt(args[args.length - 1]);
+
+ Worker[] workers = new Worker[numberOfWorkers];
+
+ for (int index = 0; index < workers.length; index++)
+ {
+ workers[index] = new Worker(numberOfCalls, counter);
+ }
+
+ for (int index = 0; index < workers.length; index++)
+ {
+ workers[index].start();
+ }
+
+ boolean correct = true;
+
+ for (int index = 0; index < workers.length; index++)
+ {
+ workers[index].join();
+ correct = correct && workers[index].isCorrect();
+ }
+
+ IntHolder value = new IntHolder();
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+ counter.get(value, OTS.current().get_control());
+ atomicTransaction.commit(true);
+
+ correct = correct && (value.value == (numberOfWorkers * numberOfCalls));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client16.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client16.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+
+ private static class Worker extends Thread
+ {
+ public Worker(int numberOfCalls, Counter counter)
+ {
+ _numberOfCalls = numberOfCalls;
+ _counter = counter;
+ }
+
+ public void run()
+ {
+ try
+ {
+ int index = 0;
+ while (index < _numberOfCalls)
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ try
+ {
+ _counter.increase(OTS.current().get_control());
+ index++;
+ atomicTransaction.commit(true);
+ }
+ catch (InvocationException invocationException)
+ {
+ atomicTransaction.rollback();
+ }
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client16.Worker.run: " + exception);
+ exception.printStackTrace(System.err);
+ _correct = false;
+ }
+ }
+
+ public boolean isCorrect()
+ {
+ return _correct;
+ }
+
+ private boolean _correct = true;
+ private int _numberOfCalls;
+ private Counter _counter = null;
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client17.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client17.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client17.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,236 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+///////////////////////////////////////////////////////////////////////////////////////////
+//
+// Copyright (C) 2001, HP Bluestone Arjuna.
+//
+// File : Client17.javatmpl (AITResources02)
+//
+// Description : Memory Test version of Client16.
+//
+// Client performs a specified number of remote calls before
+// the memory growth is checked. If client or server memory growth
+// exceeds specified parameters then the test fails and "Failed" is output.
+// Otherwise "Passed" is output.
+//
+// Author : Stewart Wheater
+//
+// History : 1.0 25 Feb 2000 S Wheater Creation.
+// 1.1 07 Jul 2001 M Buckingham Added facility to use client/server
+// thresholds in config file
+// MemoryTestProfile.
+//
+///////////////////////////////////////////////////////////////////////////////////////////
+
+package org.jboss.jbossts.qa.AITResources02Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client17.java,v 1.2 2003/06/26 11:43:11 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client17.java,v 1.2 2003/06/26 11:43:11 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import org.jboss.jbossts.qa.AITResources02.*;
+import org.jboss.jbossts.qa.Utils.*;
+
+public class Client17
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String counterIOR = ServerIORStore.loadIOR(args[args.length - 5]);
+ Counter counter = CounterHelper.narrow(ORBInterface.orb().string_to_object(counterIOR));
+
+ int numberOfWorkers = Integer.parseInt(args[args.length - 4]);
+ int numberOfCalls = Integer.parseInt(args[args.length - 3]);
+
+ float clientIncreaseThreshold;
+ float serverIncreaseThreshold;
+
+ // If no threshold value then use default.
+ if (MemoryTestProfileStore.getNoThresholdValue().equals(args[args.length - 2]))
+ {
+ clientIncreaseThreshold = Float.parseFloat(MemoryTestProfileStore.getDefaultClientIncreaseThreshold());
+ }
+ else // Use passed threshold
+ {
+ clientIncreaseThreshold = Float.parseFloat(args[args.length - 2]);
+ }
+
+ // If no threshold value then use default.
+ if (MemoryTestProfileStore.getNoThresholdValue().equals(args[args.length - 1]))
+ {
+ serverIncreaseThreshold = Float.parseFloat(MemoryTestProfileStore.getDefaultServerIncreaseThreshold());
+ }
+ else // Use passed threshold
+ {
+ serverIncreaseThreshold = Float.parseFloat(args[args.length - 1]);
+ }
+
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+ counter.increase(OTS.current().get_control());
+ atomicTransaction.commit(true);
+
+ int clientMemory0 = (int) JVMStats.getMemory();
+ int serverMemory0 = counter.getMemory();
+
+ Worker[] workers = new Worker[numberOfWorkers];
+
+ for (int index = 0; index < workers.length; index++)
+ {
+ workers[index] = new Worker(numberOfCalls, counter);
+ }
+
+ for (int index = 0; index < workers.length; index++)
+ {
+ workers[index].start();
+ }
+
+ boolean correct = true;
+
+ for (int index = 0; index < workers.length; index++)
+ {
+ workers[index].join();
+ correct = correct && workers[index].isCorrect();
+ workers[index] = null;
+ }
+ workers = null;
+
+ int clientMemory1 = (int) JVMStats.getMemory();
+ int serverMemory1 = counter.getMemory();
+
+ float clientMemoryIncrease = ((float) (clientMemory1 - clientMemory0)) / ((float) clientMemory0);
+ float serverMemoryIncrease = ((float) (serverMemory1 - serverMemory0)) / ((float) serverMemory0);
+
+ System.err.println("Client memory increase threshold : " + (float) (100.0 * clientIncreaseThreshold) + "%");
+ System.err.println("Server memory increase threshold : " + (float) (100.0 * serverIncreaseThreshold) + "%");
+
+ System.err.println("Client percentage memory increase: " + (float) (100.0 * clientMemoryIncrease) + "%");
+ System.err.println("Client memory increase per call : " + (clientMemory1 - clientMemory0) / (numberOfCalls * numberOfWorkers));
+ System.err.println("Server percentage memory increase: " + (float) (100.0 * serverMemoryIncrease) + "%");
+ System.err.println("Server memory increase per call : " + (serverMemory1 - serverMemory0) / (numberOfCalls * numberOfWorkers));
+
+ if ((clientMemoryIncrease < clientIncreaseThreshold) && (serverMemoryIncrease < serverIncreaseThreshold))
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client17.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client17.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+
+ private static class Worker extends Thread
+ {
+ public Worker(int numberOfCalls, Counter counter)
+ {
+ _numberOfCalls = numberOfCalls;
+ _counter = counter;
+ }
+
+ public void run()
+ {
+ try
+ {
+ int index = 0;
+ while (index < _numberOfCalls)
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ try
+ {
+ _counter.increase(OTS.current().get_control());
+ index++;
+ atomicTransaction.commit(true);
+ }
+ catch (InvocationException invocationException)
+ {
+ atomicTransaction.rollback();
+ }
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client17.Worker.run: " + exception);
+ exception.printStackTrace(System.err);
+ _correct = false;
+ }
+ }
+
+ public boolean isCorrect()
+ {
+ return _correct;
+ }
+
+ private boolean _correct = true;
+ private int _numberOfCalls;
+ private Counter _counter = null;
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client18.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client18.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client18.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,191 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.AITResources02Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client18.java,v 1.2 2003/06/26 11:43:11 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client18.java,v 1.2 2003/06/26 11:43:11 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import org.jboss.jbossts.qa.AITResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.IntHolder;
+
+/*
+ * This class is used within the Arjuna Licence tests
+ */
+
+public class Client18
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ int expectedResult = Integer.parseInt(args[args.length - 1]);
+ int numberOfCalls = Integer.parseInt(args[args.length - 2]);
+ String counterIOR = ServerIORStore.loadIOR(args[args.length - 3]);
+ Counter counter = CounterHelper.narrow(ORBInterface.orb().string_to_object(counterIOR));
+ int index = 0;
+ boolean expectingFailure;
+
+ /* Remove 2 from the number of calls and the expected result
+ * two transactions occur other than in this loop
+ * one in the implementation within the server and one
+ * at the end to return the number from the object
+ */
+
+ numberOfCalls -= 2;
+ expectedResult -= 2;
+
+ expectingFailure = (numberOfCalls != expectedResult);
+ System.err.println("expectingFailure = " + expectingFailure);
+
+ try
+ {
+ for (index = 0; index < numberOfCalls; index++)
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ counter.increase(OTS.current().get_control());
+
+ atomicTransaction.commit(true);
+ }
+ }
+ catch (org.omg.CORBA.TRANSACTION_ROLLEDBACK e)
+ {
+ /*
+ * If the number of transactions created is equal to the
+ * expected result then we are not expecting this exception
+ * to be thrown therefore the test has failed
+ */
+ System.err.println("Performed " + index + " calls when exception thrown");
+ if (!expectingFailure)
+ {
+ System.err.println("Got unexpected org.omg.CORBA.TRANSACTION_ROLLEDBACK exception");
+ throw e;
+ }
+ else
+ {
+ System.err.println("Got expected org.omg.CORBA.TRANSACTION_ROLLEDBACK exception");
+ }
+
+ }
+ catch (Exception e)
+ {
+ System.err.println("Performed " + index + " calls when exception thrown");
+
+ throw e;
+ }
+
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ IntHolder value = new IntHolder();
+ counter.get(value, OTS.current().get_control());
+
+ try
+ {
+ atomicTransaction.commit(true);
+ }
+ catch (org.omg.CORBA.TRANSACTION_ROLLEDBACK e)
+ {
+ if (!expectingFailure)
+ {
+ System.err.println("Got unexpected org.omg.CORBA.TRANSACTION_ROLLEDBACK exception");
+ throw e;
+ }
+ else
+ {
+ System.err.println("Got expected org.omg.CORBA.TRANSACTION_ROLLEDBACK exception");
+ }
+ }
+
+ if (((!expectingFailure) && (value.value == expectedResult)) ||
+ ((expectingFailure) && (value.value != expectedResult)))
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client18.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client18.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client19.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client19.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Clients/Client19.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,268 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.AITResources02Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client19.java,v 1.2 2003/06/26 11:43:11 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client19.java,v 1.2 2003/06/26 11:43:11 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import org.jboss.jbossts.qa.AITResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.IntHolder;
+
+public class Client19
+{
+ public static void main(String[] args)
+ {
+
+ boolean correct = true;
+ int numberOfCalls = 10;
+ Counter counter = null;
+
+ System.err.println("Starting first init");
+
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+ }
+ catch (Exception exception)
+ {
+ correct = false;
+ System.err.println("exception in first start: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+
+ System.err.println("Starting first block");
+
+ try
+ {
+ String counterIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ counter = CounterHelper.narrow(ORBInterface.orb().string_to_object(counterIOR));
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ counter.increase(OTS.current().get_control());
+
+ if ((index % 2) == 0)
+ {
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ atomicTransaction.rollback();
+ }
+ }
+
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ IntHolder value = new IntHolder();
+ counter.get(value, OTS.current().get_control());
+
+ atomicTransaction.commit(true);
+
+ if (value.value == (numberOfCalls / 2) && correct)
+ {
+ correct = true;
+ }
+ else
+ {
+ correct = false;
+ }
+ }
+ catch (Exception exception)
+ {
+ correct = false;
+ System.err.println("exception in first block" + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ System.err.println("Starting first shutdown");
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ correct = false;
+ System.err.println("exception in first shutdown" + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ System.err.println("----Starting second block -------");
+
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+ }
+ catch (Exception exception)
+ {
+ correct = false;
+ System.err.println("exception in second start " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ System.err.println("init done starting second block");
+
+ try
+ {
+ String counterIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ counter = CounterHelper.narrow(ORBInterface.orb().string_to_object(counterIOR));
+
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+ atomicTransaction.begin();
+ counter.set(0, OTS.current().get_control());
+ atomicTransaction.commit(true);
+ }
+ catch (Exception exception)
+ {
+ correct = false;
+ System.err.println("exception in set operation " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ counter.increase(OTS.current().get_control());
+
+ if ((index % 2) == 0)
+ {
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ atomicTransaction.rollback();
+ }
+ }
+
+ }
+ catch (Exception exception)
+ {
+ correct = false;
+ System.err.println("exception in second loop block " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ IntHolder value = new IntHolder();
+ counter.get(value, OTS.current().get_control());
+
+ atomicTransaction.commit(true);
+
+ if (value.value == (numberOfCalls / 2) && correct)
+ {
+ correct = true;
+ }
+ else
+ {
+ correct = false;
+ }
+ }
+ catch (Exception exception)
+ {
+ correct = false;
+ System.err.println("exception in second test " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ System.err.println("Starting second shutdown");
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ correct = false;
+ System.err.println("error in second shutdown" + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ System.err.println("testing result");
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Impls/AITCounterImpl01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Impls/AITCounterImpl01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Impls/AITCounterImpl01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,442 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: AITCounterImpl01.java,v 1.2 2003/06/26 11:43:13 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.AITResources02Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AITCounterImpl01.java,v 1.2 2003/06/26 11:43:13 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AITCounterImpl01.java,v 1.2 2003/06/26 11:43:13 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.arjuna.ObjectType;
+import com.arjuna.ats.arjuna.common.Uid;
+import com.arjuna.ats.arjuna.state.InputObjectState;
+import com.arjuna.ats.arjuna.state.OutputObjectState;
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import com.arjuna.ats.txoj.Lock;
+import com.arjuna.ats.txoj.LockManager;
+import com.arjuna.ats.txoj.LockMode;
+import com.arjuna.ats.txoj.LockResult;
+import org.jboss.jbossts.qa.AITResources02.*;
+import org.jboss.jbossts.qa.Utils.JVMStats;
+import org.omg.CORBA.IntHolder;
+import org.omg.CosTransactions.Control;
+import org.omg.CosTransactions.Status;
+
+public class AITCounterImpl01 extends LockManager implements CounterOperations
+{
+ public AITCounterImpl01()
+ throws InvocationException
+ {
+ super(ObjectType.ANDPERSISTENT);
+
+ _value = 0;
+
+ try
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ if (setlock(new Lock(LockMode.WRITE), 0) == LockResult.GRANTED)
+ {
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ System.err.println("AITCounterImpl01.AITCounterImpl01: failed to get lock");
+ atomicTransaction.rollback();
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl01.AITCounterImpl01: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public AITCounterImpl01(Uid uid)
+ throws InvocationException
+ {
+ super(uid);
+ }
+
+ public void finalize()
+ throws Throwable
+ {
+ try
+ {
+ super.terminate();
+ super.finalize();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl01.finalize: " + exception);
+ throw exception;
+ }
+ }
+
+ public void get(IntHolder value, Control ctrl)
+ throws InvocationException
+ {
+ try
+ {
+ com.arjuna.ats.jts.ExplicitInterposition interposition = new com.arjuna.ats.jts.ExplicitInterposition();
+
+ interposition.registerTransaction(ctrl);
+
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ try
+ {
+ atomicTransaction.begin();
+
+ if (setlock(new Lock(LockMode.READ), 0) == LockResult.GRANTED)
+ {
+ value.value = _value;
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ atomicTransaction.rollback();
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ interposition.unregisterTransaction();
+
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl01.get: " + exception);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ interposition.unregisterTransaction();
+
+ throw new InvocationException();
+ }
+ catch (Error error)
+ {
+ System.err.println("AITCounterImpl01.get: " + error);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ interposition.unregisterTransaction();
+
+ throw new InvocationException();
+ }
+
+ interposition.unregisterTransaction();
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl01.get: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public void set(int value, Control ctrl)
+ throws InvocationException
+ {
+ try
+ {
+ com.arjuna.ats.jts.ExplicitInterposition interposition = new com.arjuna.ats.jts.ExplicitInterposition();
+
+ interposition.registerTransaction(ctrl);
+
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ try
+ {
+ atomicTransaction.begin();
+
+ if (setlock(new Lock(LockMode.WRITE), 0) == LockResult.GRANTED)
+ {
+ _value = value;
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ atomicTransaction.rollback();
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ interposition.unregisterTransaction();
+
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl01.set: " + exception);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ interposition.unregisterTransaction();
+
+ throw new InvocationException();
+ }
+ catch (Error error)
+ {
+ System.err.println("AITCounterImpl01.set: " + error);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ interposition.unregisterTransaction();
+
+ throw new InvocationException();
+ }
+
+ interposition.unregisterTransaction();
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl01.set: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public void increase(Control ctrl)
+ throws InvocationException
+ {
+ try
+ {
+ com.arjuna.ats.jts.ExplicitInterposition interposition = new com.arjuna.ats.jts.ExplicitInterposition();
+
+ interposition.registerTransaction(ctrl);
+
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ try
+ {
+ atomicTransaction.begin();
+
+ if (setlock(new Lock(LockMode.WRITE), 0) == LockResult.GRANTED)
+ {
+ _value++;
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ atomicTransaction.rollback();
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ interposition.unregisterTransaction();
+
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl01.increase: " + exception);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ interposition.unregisterTransaction();
+
+ throw new InvocationException();
+ }
+ catch (Error error)
+ {
+ System.err.println("AITCounterImpl01.increase: " + error);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ interposition.unregisterTransaction();
+
+ throw new InvocationException();
+ }
+
+ interposition.unregisterTransaction();
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl01.increase: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public int getMemory()
+ {
+ return (int) JVMStats.getMemory();
+ }
+
+ public boolean save_state(OutputObjectState objectState, int objectType)
+ {
+ super.save_state(objectState, objectType);
+ try
+ {
+ objectState.packInt(_value);
+ return true;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl01.save_state: " + exception);
+ return false;
+ }
+ }
+
+ public boolean restore_state(InputObjectState objectState, int objectType)
+ {
+ super.restore_state(objectState, objectType);
+ try
+ {
+ _value = objectState.unpackInt();
+ return true;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl01.restore_state: " + exception);
+ return false;
+ }
+ }
+
+ public String type()
+ {
+ return "/StateManager/LockManager/AITCounterImpl01";
+ }
+
+ private int _value;
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Impls/AITCounterImpl02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Impls/AITCounterImpl02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Impls/AITCounterImpl02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,390 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: AITCounterImpl02.java,v 1.2 2003/06/26 11:43:13 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.AITResources02Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AITCounterImpl02.java,v 1.2 2003/06/26 11:43:13 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AITCounterImpl02.java,v 1.2 2003/06/26 11:43:13 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.arjuna.ObjectType;
+import com.arjuna.ats.arjuna.common.Uid;
+import com.arjuna.ats.arjuna.state.InputObjectState;
+import com.arjuna.ats.arjuna.state.OutputObjectState;
+import com.arjuna.ats.txoj.Lock;
+import com.arjuna.ats.txoj.LockManager;
+import com.arjuna.ats.txoj.LockMode;
+import com.arjuna.ats.txoj.LockResult;
+import org.jboss.jbossts.qa.AITResources02.*;
+import org.jboss.jbossts.qa.Utils.JVMStats;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.omg.CORBA.IntHolder;
+import org.omg.CosTransactions.Control;
+import org.omg.CosTransactions.Status;
+
+public class AITCounterImpl02 extends LockManager implements CounterOperations
+{
+ public AITCounterImpl02()
+ throws InvocationException
+ {
+ super(ObjectType.ANDPERSISTENT);
+
+ _value = 0;
+
+ try
+ {
+ org.omg.CosTransactions.Current current = OTS.current();
+
+ current.begin();
+
+ if (setlock(new Lock(LockMode.WRITE), 0) == LockResult.GRANTED)
+ {
+ current.commit(true);
+ }
+ else
+ {
+ System.err.println("AITCounterImpl02.AITCounterImpl02: failed to get lock");
+ current.rollback();
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl02.AITCounterImpl02: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public AITCounterImpl02(Uid uid)
+ throws InvocationException
+ {
+ super(uid);
+ }
+
+ public void finalize()
+ throws Throwable
+ {
+ try
+ {
+ super.terminate();
+ super.finalize();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl02.finalize: " + exception);
+ throw exception;
+ }
+ }
+
+ public void get(IntHolder value, Control ctrl)
+ throws InvocationException
+ {
+ try
+ {
+ com.arjuna.ats.jts.ExplicitInterposition interposition = new com.arjuna.ats.jts.ExplicitInterposition();
+
+ interposition.registerTransaction(ctrl);
+
+ org.omg.CosTransactions.Current current = OTS.current();
+
+ try
+ {
+ current.begin();
+
+ if (setlock(new Lock(LockMode.READ), 0) == LockResult.GRANTED)
+ {
+ value.value = _value;
+ current.commit(true);
+ }
+ else
+ {
+ current.rollback();
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ interposition.unregisterTransaction();
+
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl02.get: " + exception);
+ if (current.get_status() == Status.StatusActive)
+ {
+ current.rollback();
+ }
+
+ interposition.unregisterTransaction();
+
+ throw new InvocationException();
+ }
+ catch (Error error)
+ {
+ System.err.println("AITCounterImpl02.get: " + error);
+ if (current.get_status() == Status.StatusActive)
+ {
+ current.rollback();
+ }
+
+ interposition.unregisterTransaction();
+
+ throw new InvocationException();
+ }
+
+ interposition.unregisterTransaction();
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl02.get: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public void set(int value, Control ctrl)
+ throws InvocationException
+ {
+ try
+ {
+ com.arjuna.ats.jts.ExplicitInterposition interposition = new com.arjuna.ats.jts.ExplicitInterposition();
+
+ interposition.registerTransaction(ctrl);
+
+ org.omg.CosTransactions.Current current = OTS.current();
+
+ try
+ {
+ current.begin();
+
+ if (setlock(new Lock(LockMode.WRITE), 0) == LockResult.GRANTED)
+ {
+ _value = value;
+ current.commit(true);
+ }
+ else
+ {
+ current.rollback();
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ interposition.unregisterTransaction();
+
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl02.set: " + exception);
+ if (current.get_status() == Status.StatusActive)
+ {
+ current.rollback();
+ }
+
+ interposition.unregisterTransaction();
+
+ throw new InvocationException();
+ }
+ catch (Error error)
+ {
+ System.err.println("AITCounterImpl02.set: " + error);
+ if (current.get_status() == Status.StatusActive)
+ {
+ current.rollback();
+ }
+
+ interposition.unregisterTransaction();
+
+ throw new InvocationException();
+ }
+
+ interposition.unregisterTransaction();
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl02.set: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public void increase(Control ctrl)
+ throws InvocationException
+ {
+ try
+ {
+ com.arjuna.ats.jts.ExplicitInterposition interposition = new com.arjuna.ats.jts.ExplicitInterposition();
+
+ interposition.registerTransaction(ctrl);
+
+ org.omg.CosTransactions.Current current = OTS.current();
+
+ try
+ {
+ current.begin();
+
+ if (setlock(new Lock(LockMode.WRITE), 0) == LockResult.GRANTED)
+ {
+ _value++;
+ current.commit(true);
+ }
+ else
+ {
+ current.rollback();
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ interposition.unregisterTransaction();
+
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl02.increase: " + exception);
+ if (current.get_status() == Status.StatusActive)
+ {
+ current.rollback();
+ }
+
+ interposition.unregisterTransaction();
+
+ throw new InvocationException();
+ }
+ catch (Error error)
+ {
+ System.err.println("AITCounterImpl02.increase: " + error);
+ if (current.get_status() == Status.StatusActive)
+ {
+ current.rollback();
+ }
+
+ interposition.unregisterTransaction();
+
+ throw new InvocationException();
+ }
+
+ interposition.unregisterTransaction();
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl02.increase: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public int getMemory()
+ {
+ return (int) JVMStats.getMemory();
+ }
+
+ public boolean save_state(OutputObjectState objectState, int objectType)
+ {
+ super.save_state(objectState, objectType);
+ try
+ {
+ objectState.packInt(_value);
+ return true;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl02.save_state: " + exception);
+ return false;
+ }
+ }
+
+ public boolean restore_state(InputObjectState objectState, int objectType)
+ {
+ super.restore_state(objectState, objectType);
+ try
+ {
+ _value = objectState.unpackInt();
+ return true;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl02.restore_state: " + exception);
+ return false;
+ }
+ }
+
+ public String type()
+ {
+ return "/StateManager/LockManager/AITCounterImpl02";
+ }
+
+ private int _value;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Impls/AITCounterImpl03.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Impls/AITCounterImpl03.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Impls/AITCounterImpl03.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,339 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: AITCounterImpl03.java,v 1.2 2003/06/26 11:43:13 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.AITResources02Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AITCounterImpl03.java,v 1.2 2003/06/26 11:43:13 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AITCounterImpl03.java,v 1.2 2003/06/26 11:43:13 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.arjuna.ObjectType;
+import com.arjuna.ats.arjuna.common.Uid;
+import com.arjuna.ats.arjuna.state.InputObjectState;
+import com.arjuna.ats.arjuna.state.OutputObjectState;
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import com.arjuna.ats.txoj.Lock;
+import com.arjuna.ats.txoj.LockManager;
+import com.arjuna.ats.txoj.LockMode;
+import com.arjuna.ats.txoj.LockResult;
+import org.jboss.jbossts.qa.AITResources02.*;
+import org.jboss.jbossts.qa.Utils.JVMStats;
+import org.omg.CORBA.IntHolder;
+import org.omg.CosTransactions.Control;
+
+public class AITCounterImpl03 extends LockManager implements CounterOperations
+{
+ public AITCounterImpl03()
+ throws InvocationException
+ {
+ super(ObjectType.ANDPERSISTENT);
+
+ _value = 0;
+
+ try
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ if (setlock(new Lock(LockMode.WRITE), 0) == LockResult.GRANTED)
+ {
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ System.err.println("AITCounterImpl03.AITCounterImpl03: failed to get lock");
+ atomicTransaction.rollback();
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl03.AITCounterImpl03: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public AITCounterImpl03(Uid uid)
+ throws InvocationException
+ {
+ super(uid);
+ }
+
+ public void finalize()
+ throws Throwable
+ {
+ try
+ {
+ super.terminate();
+ super.finalize();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl03.finalize: " + exception);
+ throw exception;
+ }
+ }
+
+ public void get(IntHolder value, Control ctrl)
+ throws InvocationException
+ {
+ try
+ {
+ com.arjuna.ats.jts.ExplicitInterposition interposition = new com.arjuna.ats.jts.ExplicitInterposition();
+
+ interposition.registerTransaction(ctrl);
+
+ try
+ {
+ if (setlock(new Lock(LockMode.READ), 0) == LockResult.GRANTED)
+ {
+ value.value = _value;
+ }
+ else
+ {
+ // Modified 15/01/2001 K Jones: 'interposition.unregisterTransaction()' removed
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ interposition.unregisterTransaction();
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl03.get: " + exception);
+ interposition.unregisterTransaction();
+ throw new InvocationException();
+ }
+ catch (Error error)
+ {
+ System.err.println("AITCounterImpl03.get: " + error);
+ interposition.unregisterTransaction();
+ throw new InvocationException();
+ }
+
+ interposition.unregisterTransaction();
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl03.get: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public void set(int value, Control ctrl)
+ throws InvocationException
+ {
+ try
+ {
+ com.arjuna.ats.jts.ExplicitInterposition interposition = new com.arjuna.ats.jts.ExplicitInterposition();
+
+ interposition.registerTransaction(ctrl);
+
+ try
+ {
+ if (setlock(new Lock(LockMode.WRITE), 0) == LockResult.GRANTED)
+ {
+ _value = value;
+ }
+ else
+ {
+// Modified 15/01/2001 K Jones: 'interposition.unregisterTransaction()' removed
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ interposition.unregisterTransaction();
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl03.set: " + exception);
+ interposition.unregisterTransaction();
+ throw new InvocationException();
+ }
+ catch (Error error)
+ {
+ System.err.println("AITCounterImpl03.set: " + error);
+ interposition.unregisterTransaction();
+ throw new InvocationException();
+ }
+
+ interposition.unregisterTransaction();
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl03.set: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public void increase(Control ctrl)
+ throws InvocationException
+ {
+ try
+ {
+ com.arjuna.ats.jts.ExplicitInterposition interposition = new com.arjuna.ats.jts.ExplicitInterposition();
+
+ interposition.registerTransaction(ctrl);
+ try
+ {
+ if (setlock(new Lock(LockMode.WRITE), 0) == LockResult.GRANTED)
+ {
+ _value++;
+ }
+ else
+ {
+// Modified 15/01/2001 K Jones: 'interposition.unregisterTransaction()' removed
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ interposition.unregisterTransaction();
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl03.increase: " + exception);
+ interposition.unregisterTransaction();
+ throw new InvocationException();
+ }
+ catch (Error error)
+ {
+ System.err.println("AITCounterImpl03.increase: " + error);
+ interposition.unregisterTransaction();
+ throw new InvocationException();
+ }
+
+ interposition.unregisterTransaction();
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl03.increase: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public int getMemory()
+ {
+ return (int) JVMStats.getMemory();
+ }
+
+ public boolean save_state(OutputObjectState objectState, int objectType)
+ {
+ super.save_state(objectState, objectType);
+ try
+ {
+ objectState.packInt(_value);
+ return true;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl03.save_state: " + exception);
+ return false;
+ }
+ }
+
+ public boolean restore_state(InputObjectState objectState, int objectType)
+ {
+ super.restore_state(objectState, objectType);
+ try
+ {
+ _value = objectState.unpackInt();
+ return true;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl03.restore_state: " + exception);
+ return false;
+ }
+ }
+
+ public String type()
+ {
+ return "/StateManager/LockManager/AITCounterImpl03";
+ }
+
+ private int _value;
+}
+
+
+
+
+
+
+
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Impls/AITCounterImpl04.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Impls/AITCounterImpl04.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Impls/AITCounterImpl04.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,452 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: AITCounterImpl04.java,v 1.2 2003/06/26 11:43:13 rbegg Exp $
+//
+/*
+*
+* This remote object has been created to test jiterbug issue 264
+*
+* The class is a copy of impl01 but the setlock() method has been altered
+* so that the issue can be tested. This remote object is only used in test 59
+* at this time
+* # Author P.Craddock
+* # 09/08/01
+*
+*/
+package org.jboss.jbossts.qa.AITResources02Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AITCounterImpl04.java,v 1.2 2003/06/26 11:43:13 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AITCounterImpl04.java,v 1.2 2003/06/26 11:43:13 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.arjuna.ObjectType;
+import com.arjuna.ats.arjuna.common.Uid;
+import com.arjuna.ats.arjuna.state.InputObjectState;
+import com.arjuna.ats.arjuna.state.OutputObjectState;
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import com.arjuna.ats.txoj.Lock;
+import com.arjuna.ats.txoj.LockManager;
+import com.arjuna.ats.txoj.LockMode;
+import com.arjuna.ats.txoj.LockResult;
+import org.jboss.jbossts.qa.AITResources02.*;
+import org.jboss.jbossts.qa.Utils.JVMStats;
+import org.omg.CORBA.IntHolder;
+import org.omg.CosTransactions.Control;
+import org.omg.CosTransactions.Status;
+
+public class AITCounterImpl04 extends LockManager implements CounterOperations
+{
+ public AITCounterImpl04()
+ throws InvocationException
+ {
+ super(ObjectType.ANDPERSISTENT);
+
+ _value = 0;
+
+ try
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ if (setlock(new Lock(LockMode.WRITE), super.waitTotalTimeout) == LockResult.GRANTED)
+ {
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ System.err.println("AITCounterImpl04.AITCounterImpl04: failed to get lock");
+ atomicTransaction.rollback();
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl04.AITCounterImpl04: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public AITCounterImpl04(Uid uid)
+ throws InvocationException
+ {
+ super(uid);
+ }
+
+ public void finalize()
+ throws Throwable
+ {
+ try
+ {
+ super.terminate();
+ super.finalize();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl04.finalize: " + exception);
+ throw exception;
+ }
+ }
+
+ public void get(IntHolder value, Control ctrl)
+ throws InvocationException
+ {
+ try
+ {
+ com.arjuna.ats.jts.ExplicitInterposition interposition = new com.arjuna.ats.jts.ExplicitInterposition();
+
+ interposition.registerTransaction(ctrl);
+
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ try
+ {
+ atomicTransaction.begin();
+
+ if (setlock(new Lock(LockMode.READ), super.waitTotalTimeout) == LockResult.GRANTED)
+ {
+ value.value = _value;
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ atomicTransaction.rollback();
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ interposition.unregisterTransaction();
+
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl04.get: " + exception);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ interposition.unregisterTransaction();
+
+ throw new InvocationException();
+ }
+ catch (Error error)
+ {
+ System.err.println("AITCounterImpl04.get: " + error);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ interposition.unregisterTransaction();
+
+ throw new InvocationException();
+ }
+
+ interposition.unregisterTransaction();
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl04.get: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public void set(int value, Control ctrl)
+ throws InvocationException
+ {
+ try
+ {
+ com.arjuna.ats.jts.ExplicitInterposition interposition = new com.arjuna.ats.jts.ExplicitInterposition();
+
+ interposition.registerTransaction(ctrl);
+
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ try
+ {
+ atomicTransaction.begin();
+
+ if (setlock(new Lock(LockMode.WRITE), super.waitTotalTimeout) == LockResult.GRANTED)
+ {
+ _value = value;
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ atomicTransaction.rollback();
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ interposition.unregisterTransaction();
+
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl04.set: " + exception);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ interposition.unregisterTransaction();
+
+ throw new InvocationException();
+ }
+ catch (Error error)
+ {
+ System.err.println("AITCounterImpl04.set: " + error);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ interposition.unregisterTransaction();
+
+ throw new InvocationException();
+ }
+
+ interposition.unregisterTransaction();
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl04.set: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public void increase(Control ctrl)
+ throws InvocationException
+ {
+ try
+ {
+ com.arjuna.ats.jts.ExplicitInterposition interposition = new com.arjuna.ats.jts.ExplicitInterposition();
+
+ interposition.registerTransaction(ctrl);
+
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ try
+ {
+ atomicTransaction.begin();
+
+ if (setlock(new Lock(LockMode.WRITE), super.waitTotalTimeout) == LockResult.GRANTED)
+ {
+ _value++;
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ atomicTransaction.rollback();
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ interposition.unregisterTransaction();
+
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl04.increase: " + exception);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ interposition.unregisterTransaction();
+
+ throw new InvocationException();
+ }
+ catch (Error error)
+ {
+ System.err.println("AITCounterImpl04.increase: " + error);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ interposition.unregisterTransaction();
+
+ throw new InvocationException();
+ }
+
+ interposition.unregisterTransaction();
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl04.increase: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public int getMemory()
+ {
+ return (int) JVMStats.getMemory();
+ }
+
+ public boolean save_state(OutputObjectState objectState, int objectType)
+ {
+ super.save_state(objectState, objectType);
+ try
+ {
+ objectState.packInt(_value);
+ return true;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl04.save_state: " + exception);
+ return false;
+ }
+ }
+
+ public boolean restore_state(InputObjectState objectState, int objectType)
+ {
+ super.restore_state(objectState, objectType);
+ try
+ {
+ _value = objectState.unpackInt();
+ return true;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITCounterImpl04.restore_state: " + exception);
+ return false;
+ }
+ }
+
+ public String type()
+ {
+ return "/StateManager/LockManager/AITCounterImpl04";
+ }
+
+ private int _value;
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Impls/AITPingPongImpl01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Impls/AITPingPongImpl01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Impls/AITPingPongImpl01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,447 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: AITPingPongImpl01.java,v 1.2 2003/06/26 11:43:13 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.AITResources02Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AITPingPongImpl01.java,v 1.2 2003/06/26 11:43:13 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AITPingPongImpl01.java,v 1.2 2003/06/26 11:43:13 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.arjuna.ObjectType;
+import com.arjuna.ats.arjuna.common.Uid;
+import com.arjuna.ats.arjuna.state.InputObjectState;
+import com.arjuna.ats.arjuna.state.OutputObjectState;
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import com.arjuna.ats.txoj.Lock;
+import com.arjuna.ats.txoj.LockManager;
+import com.arjuna.ats.txoj.LockMode;
+import com.arjuna.ats.txoj.LockResult;
+import org.jboss.jbossts.qa.AITResources02.*;
+import org.jboss.jbossts.qa.Utils.JVMStats;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.omg.CORBA.IntHolder;
+import org.omg.CosTransactions.Control;
+import org.omg.CosTransactions.Status;
+
+public class AITPingPongImpl01 extends LockManager implements PingPongOperations
+{
+ public AITPingPongImpl01()
+ throws InvocationException
+ {
+ super(ObjectType.ANDPERSISTENT);
+
+ _value = 0;
+
+ try
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ if (setlock(new Lock(LockMode.WRITE), 0) == LockResult.GRANTED)
+ {
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ System.err.println("AITPingPongImpl01.AITPingPongImpl01: failed to get lock");
+ atomicTransaction.rollback();
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITPingPongImpl01.AITPingPongImpl01: " + exception);
+ throw new InvocationException();
+ }
+ catch (Error error)
+ {
+ System.err.println("AITPingPongImpl01.AITPingPongImpl01: " + error);
+ throw new InvocationException();
+ }
+ }
+
+ public AITPingPongImpl01(Uid uid)
+ throws InvocationException
+ {
+ super(uid);
+ }
+
+ public void finalize()
+ throws Throwable
+ {
+ try
+ {
+ super.terminate();
+ super.finalize();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITPingPongImpl01.finalize: " + exception);
+ throw exception;
+ }
+ catch (Error error)
+ {
+ System.err.println("AITPingPongImpl01.finalize: " + error);
+ throw error;
+ }
+ }
+
+ public void hit(int count, PingPong ponger, PingPong pinger, Control ctrl)
+ throws InvocationException
+ {
+ try
+ {
+ com.arjuna.ats.jts.ExplicitInterposition interposition = new com.arjuna.ats.jts.ExplicitInterposition();
+
+ interposition.registerTransaction(ctrl);
+
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ try
+ {
+ atomicTransaction.begin();
+
+ if (count != 0)
+ {
+ ponger.hit(count - 1, pinger, ponger, OTS.current().get_control());
+ atomicTransaction.commit(true);
+ }
+ else if (setlock(new Lock(LockMode.WRITE), 0) == LockResult.GRANTED)
+ {
+ _value++;
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ System.err.println("AITPingPongImpl01.hit: failed to get lock");
+ atomicTransaction.rollback();
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ interposition.unregisterTransaction();
+
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITPingPongImpl01.hit: " + exception);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ interposition.unregisterTransaction();
+
+ throw new InvocationException();
+ }
+ catch (Error error)
+ {
+ System.err.println("AITPingPongImpl01.hit: " + error);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ interposition.unregisterTransaction();
+
+ throw new InvocationException();
+ }
+
+ interposition.unregisterTransaction();
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITPingPongImpl01.hit: " + exception);
+ throw new InvocationException();
+ }
+ catch (Error error)
+ {
+ System.err.println("AITPingPongImpl01.hit: " + error);
+ throw new InvocationException();
+ }
+ }
+
+ public void bad_hit(int count, int bad_count, PingPong ponger, PingPong pinger, Control ctrl)
+ throws InvocationException
+ {
+ try
+ {
+ com.arjuna.ats.jts.ExplicitInterposition interposition = new com.arjuna.ats.jts.ExplicitInterposition();
+
+ interposition.registerTransaction(ctrl);
+
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ try
+ {
+ atomicTransaction.begin();
+
+ if (count != 0)
+ {
+ ponger.bad_hit(count - 1, bad_count - 1, pinger, ponger, OTS.current().get_control());
+ if (bad_count != 0)
+ {
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ atomicTransaction.rollback();
+ }
+ }
+ else if (setlock(new Lock(LockMode.WRITE), 0) == LockResult.GRANTED)
+ {
+ _value++;
+ if (bad_count != 0)
+ {
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ atomicTransaction.rollback();
+ }
+ }
+ else
+ {
+ System.err.println("AITPingPongImpl01.bad_hit: failed to get lock");
+ atomicTransaction.rollback();
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ interposition.unregisterTransaction();
+
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITPingPongImpl01.bad_hit: " + exception);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ interposition.unregisterTransaction();
+
+ throw new InvocationException();
+ }
+ catch (Error error)
+ {
+ System.err.println("AITPingPongImpl01.bad_hit: " + error);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ interposition.unregisterTransaction();
+
+ throw new InvocationException();
+ }
+
+ interposition.unregisterTransaction();
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITPingPongImpl01.bad_hit: " + exception);
+ throw new InvocationException();
+ }
+ catch (Error error)
+ {
+ System.err.println("AITPingPongImpl01.bad_hit: " + error);
+ throw new InvocationException();
+ }
+ }
+
+ public void get(IntHolder value, Control ctrl)
+ throws InvocationException
+ {
+ try
+ {
+ com.arjuna.ats.jts.ExplicitInterposition interposition = new com.arjuna.ats.jts.ExplicitInterposition();
+
+ interposition.registerTransaction(ctrl);
+
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ try
+ {
+ atomicTransaction.begin();
+
+ if (setlock(new Lock(LockMode.READ), 0) == LockResult.GRANTED)
+ {
+ value.value = _value;
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ System.err.println("AITPingPongImpl01.get: failed to get lock");
+ atomicTransaction.rollback();
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ interposition.unregisterTransaction();
+
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITPingPongImpl01.get: " + exception);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ interposition.unregisterTransaction();
+
+ throw new InvocationException();
+ }
+ catch (Error error)
+ {
+ System.err.println("AITPingPongImpl01.get: " + error);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ interposition.unregisterTransaction();
+
+ throw new InvocationException();
+ }
+
+ interposition.unregisterTransaction();
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITPingPongImpl01.get: " + exception);
+ throw new InvocationException();
+ }
+ catch (Error error)
+ {
+ System.err.println("AITPingPongImpl01.get: " + error);
+ throw new InvocationException();
+ }
+ }
+
+ public int getMemory()
+ {
+ return (int) JVMStats.getMemory();
+ }
+
+ public boolean save_state(OutputObjectState objectState, int objectType)
+ {
+ super.save_state(objectState, objectType);
+ try
+ {
+ objectState.packInt(_value);
+ return true;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITPingPongImpl01.save_state: " + exception);
+ return false;
+ }
+ catch (Error error)
+ {
+ System.err.println("AITPingPongImpl01.save_state: " + error);
+ return false;
+ }
+ }
+
+ public boolean restore_state(InputObjectState objectState, int objectType)
+ {
+ super.restore_state(objectState, objectType);
+ try
+ {
+ _value = objectState.unpackInt();
+ return true;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITPingPongImpl01.restore_state: " + exception);
+ return false;
+ }
+ catch (Error error)
+ {
+ System.err.println("AITPingPongImpl01.restore_state: " + error);
+ return false;
+ }
+ }
+
+ public String type()
+ {
+ return "/StateManager/LockManager/AITPingPongImpl01";
+ }
+
+ private int _value;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Outcomes/Outcome01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Outcomes/Outcome01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Outcomes/Outcome01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,109 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.AITResources02Outcomes;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Outcome01.java,v 1.2 2003/06/26 11:43:13 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Outcome01.java,v 1.2 2003/06/26 11:43:13 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.AITResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.IntHolder;
+
+public class Outcome01
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+
+ int expectedValue = Integer.parseInt(args[args.length - 2]);
+
+ String counterIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Counter counter = CounterHelper.narrow(ORBInterface.orb().string_to_object(counterIOR));
+
+ IntHolder value = new IntHolder();
+ counter.get(value, null);
+
+ if (value.value == expectedValue)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Outcome01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Outcome01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Outcomes/Outcome02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Outcomes/Outcome02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Outcomes/Outcome02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,115 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.AITResources02Outcomes;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Outcome02.java,v 1.2 2003/06/26 11:43:13 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Outcome02.java,v 1.2 2003/06/26 11:43:13 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.AITResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.IntHolder;
+
+public class Outcome02
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+
+ int expectedValue = Integer.parseInt(args[args.length - 3]);
+
+ String counterIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Counter counter1 = CounterHelper.narrow(ORBInterface.orb().string_to_object(counterIOR1));
+
+ String counterIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Counter counter2 = CounterHelper.narrow(ORBInterface.orb().string_to_object(counterIOR2));
+
+ IntHolder value1 = new IntHolder();
+ counter1.get(value1, null);
+
+ IntHolder value2 = new IntHolder();
+ counter2.get(value2, null);
+
+ if ((value1.value == expectedValue) && (value2.value == expectedValue))
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Outcome02.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Outcome02.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Servers/Server01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Servers/Server01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Servers/Server01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,93 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.AITResources02Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server01.java,v 1.2 2003/06/26 11:43:14 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server01.java,v 1.2 2003/06/26 11:43:14 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.AITResources02.*;
+import org.jboss.jbossts.qa.AITResources02Impls.AITCounterImpl01;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server01
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ AITCounterImpl01 aitCounterImpl = new AITCounterImpl01();
+ CounterPOATie servant = new CounterPOATie(aitCounterImpl);
+
+ OAInterface.objectIsReady(servant);
+ Counter aitCounter = CounterHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(aitCounter));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Servers/Server02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Servers/Server02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Servers/Server02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,109 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.AITResources02Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server02.java,v 1.2 2003/06/26 11:43:14 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server02.java,v 1.2 2003/06/26 11:43:14 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.AITResources02.*;
+import org.jboss.jbossts.qa.AITResources02Impls.AITCounterImpl01;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server02
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ AITCounterImpl01 aitCounterImpl1 = new AITCounterImpl01();
+ AITCounterImpl01 aitCounterImpl2 = new AITCounterImpl01();
+ AITCounterImpl01 aitCounterImpl3 = new AITCounterImpl01();
+ AITCounterImpl01 aitCounterImpl4 = new AITCounterImpl01();
+
+ CounterPOATie servant1 = new CounterPOATie(aitCounterImpl1);
+ CounterPOATie servant2 = new CounterPOATie(aitCounterImpl2);
+ CounterPOATie servant3 = new CounterPOATie(aitCounterImpl3);
+ CounterPOATie servant4 = new CounterPOATie(aitCounterImpl4);
+
+ OAInterface.objectIsReady(servant1);
+ OAInterface.objectIsReady(servant2);
+ OAInterface.objectIsReady(servant3);
+ OAInterface.objectIsReady(servant4);
+ Counter aitCounter1 = CounterHelper.narrow(OAInterface.corbaReference(servant1));
+ Counter aitCounter2 = CounterHelper.narrow(OAInterface.corbaReference(servant2));
+ Counter aitCounter3 = CounterHelper.narrow(OAInterface.corbaReference(servant3));
+ Counter aitCounter4 = CounterHelper.narrow(OAInterface.corbaReference(servant4));
+
+ ServerIORStore.storeIOR(args[args.length - 4], ORBInterface.orb().object_to_string(aitCounter1));
+ ServerIORStore.storeIOR(args[args.length - 3], ORBInterface.orb().object_to_string(aitCounter2));
+ ServerIORStore.storeIOR(args[args.length - 2], ORBInterface.orb().object_to_string(aitCounter3));
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(aitCounter4));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server02.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Servers/Server03.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Servers/Server03.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Servers/Server03.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,94 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.AITResources02Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server03.java,v 1.2 2003/06/26 11:43:14 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server03.java,v 1.2 2003/06/26 11:43:14 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.AITResources02.*;
+import org.jboss.jbossts.qa.AITResources02Impls.AITCounterImpl02;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server03
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ AITCounterImpl02 aitCounterImpl = new AITCounterImpl02();
+ CounterPOATie servant = new CounterPOATie(aitCounterImpl);
+
+ OAInterface.objectIsReady(servant);
+ Counter aitCounter = CounterHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(aitCounter));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server03.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Servers/Server04.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Servers/Server04.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Servers/Server04.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,109 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.AITResources02Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server04.java,v 1.2 2003/06/26 11:43:14 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server04.java,v 1.2 2003/06/26 11:43:14 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.AITResources02.*;
+import org.jboss.jbossts.qa.AITResources02Impls.AITCounterImpl02;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server04
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ AITCounterImpl02 aitCounterImpl1 = new AITCounterImpl02();
+ AITCounterImpl02 aitCounterImpl2 = new AITCounterImpl02();
+ AITCounterImpl02 aitCounterImpl3 = new AITCounterImpl02();
+ AITCounterImpl02 aitCounterImpl4 = new AITCounterImpl02();
+
+ CounterPOATie servant1 = new CounterPOATie(aitCounterImpl1);
+ CounterPOATie servant2 = new CounterPOATie(aitCounterImpl2);
+ CounterPOATie servant3 = new CounterPOATie(aitCounterImpl3);
+ CounterPOATie servant4 = new CounterPOATie(aitCounterImpl4);
+
+ OAInterface.objectIsReady(servant1);
+ OAInterface.objectIsReady(servant2);
+ OAInterface.objectIsReady(servant3);
+ OAInterface.objectIsReady(servant4);
+ Counter aitCounter1 = CounterHelper.narrow(OAInterface.corbaReference(servant1));
+ Counter aitCounter2 = CounterHelper.narrow(OAInterface.corbaReference(servant2));
+ Counter aitCounter3 = CounterHelper.narrow(OAInterface.corbaReference(servant3));
+ Counter aitCounter4 = CounterHelper.narrow(OAInterface.corbaReference(servant4));
+
+ ServerIORStore.storeIOR(args[args.length - 4], ORBInterface.orb().object_to_string(aitCounter1));
+ ServerIORStore.storeIOR(args[args.length - 3], ORBInterface.orb().object_to_string(aitCounter2));
+ ServerIORStore.storeIOR(args[args.length - 2], ORBInterface.orb().object_to_string(aitCounter3));
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(aitCounter4));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server04.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Servers/Server05.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Servers/Server05.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Servers/Server05.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,100 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.AITResources02Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server05.java,v 1.2 2003/06/26 11:43:14 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server05.java,v 1.2 2003/06/26 11:43:14 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.AITResources02.*;
+import org.jboss.jbossts.qa.AITResources02Impls.AITCounterImpl01;
+import org.jboss.jbossts.qa.AITResources02Impls.AITCounterImpl02;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server05
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ AITCounterImpl01 aitCounterImpl1 = new AITCounterImpl01();
+ AITCounterImpl02 aitCounterImpl2 = new AITCounterImpl02();
+
+ CounterPOATie servant1 = new CounterPOATie(aitCounterImpl1);
+ CounterPOATie servant2 = new CounterPOATie(aitCounterImpl2);
+
+ OAInterface.objectIsReady(servant1);
+ OAInterface.objectIsReady(servant2);
+ Counter aitCounter1 = CounterHelper.narrow(OAInterface.corbaReference(servant1));
+ Counter aitCounter2 = CounterHelper.narrow(OAInterface.corbaReference(servant2));
+
+ ServerIORStore.storeIOR(args[args.length - 2], ORBInterface.orb().object_to_string(aitCounter1));
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(aitCounter2));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server05.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Servers/Server06.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Servers/Server06.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Servers/Server06.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,110 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.AITResources02Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server06.java,v 1.2 2003/06/26 11:43:14 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server06.java,v 1.2 2003/06/26 11:43:14 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.AITResources02.*;
+import org.jboss.jbossts.qa.AITResources02Impls.AITCounterImpl01;
+import org.jboss.jbossts.qa.AITResources02Impls.AITCounterImpl02;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server06
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ AITCounterImpl01 aitCounterImpl1 = new AITCounterImpl01();
+ AITCounterImpl02 aitCounterImpl2 = new AITCounterImpl02();
+ AITCounterImpl01 aitCounterImpl3 = new AITCounterImpl01();
+ AITCounterImpl02 aitCounterImpl4 = new AITCounterImpl02();
+
+ CounterPOATie servant1 = new CounterPOATie(aitCounterImpl1);
+ CounterPOATie servant2 = new CounterPOATie(aitCounterImpl2);
+ CounterPOATie servant3 = new CounterPOATie(aitCounterImpl3);
+ CounterPOATie servant4 = new CounterPOATie(aitCounterImpl4);
+
+ OAInterface.objectIsReady(servant1);
+ OAInterface.objectIsReady(servant2);
+ OAInterface.objectIsReady(servant3);
+ OAInterface.objectIsReady(servant4);
+ Counter aitCounter1 = CounterHelper.narrow(OAInterface.corbaReference(servant1));
+ Counter aitCounter2 = CounterHelper.narrow(OAInterface.corbaReference(servant2));
+ Counter aitCounter3 = CounterHelper.narrow(OAInterface.corbaReference(servant3));
+ Counter aitCounter4 = CounterHelper.narrow(OAInterface.corbaReference(servant4));
+
+ ServerIORStore.storeIOR(args[args.length - 4], ORBInterface.orb().object_to_string(aitCounter1));
+ ServerIORStore.storeIOR(args[args.length - 3], ORBInterface.orb().object_to_string(aitCounter2));
+ ServerIORStore.storeIOR(args[args.length - 2], ORBInterface.orb().object_to_string(aitCounter3));
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(aitCounter4));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server06.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Servers/Server07.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Servers/Server07.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Servers/Server07.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,93 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.AITResources02Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server07.java,v 1.2 2003/06/26 11:43:14 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server07.java,v 1.2 2003/06/26 11:43:14 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.AITResources02.*;
+import org.jboss.jbossts.qa.AITResources02Impls.AITPingPongImpl01;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server07
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ AITPingPongImpl01 aitPingPongImpl = new AITPingPongImpl01();
+ PingPongPOATie servant = new PingPongPOATie(aitPingPongImpl);
+
+ OAInterface.objectIsReady(servant);
+ PingPong aitPingPong = PingPongHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(aitPingPong));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server07.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Servers/Server08.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Servers/Server08.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Servers/Server08.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,99 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.AITResources02Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server08.java,v 1.2 2003/06/26 11:43:14 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server08.java,v 1.2 2003/06/26 11:43:14 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.AITResources02.*;
+import org.jboss.jbossts.qa.AITResources02Impls.AITPingPongImpl01;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server08
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ AITPingPongImpl01 aitPingPongImpl1 = new AITPingPongImpl01();
+ AITPingPongImpl01 aitPingPongImpl2 = new AITPingPongImpl01();
+
+ PingPongPOATie servant1 = new PingPongPOATie(aitPingPongImpl1);
+ PingPongPOATie servant2 = new PingPongPOATie(aitPingPongImpl2);
+
+ OAInterface.objectIsReady(servant1);
+ OAInterface.objectIsReady(servant2);
+ PingPong aitPingPong1 = PingPongHelper.narrow(OAInterface.corbaReference(servant1));
+ PingPong aitPingPong2 = PingPongHelper.narrow(OAInterface.corbaReference(servant2));
+
+ ServerIORStore.storeIOR(args[args.length - 2], ORBInterface.orb().object_to_string(aitPingPong1));
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(aitPingPong2));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server08.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Servers/Server09.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Servers/Server09.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Servers/Server09.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,94 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.AITResources02Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server09.java,v 1.2 2003/06/26 11:43:14 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server09.java,v 1.2 2003/06/26 11:43:14 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.AITResources02.*;
+import org.jboss.jbossts.qa.AITResources02Impls.AITCounterImpl03;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server09
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ AITCounterImpl03 aitCounterImpl = new AITCounterImpl03();
+ CounterPOATie servant = new CounterPOATie(aitCounterImpl);
+
+ OAInterface.objectIsReady(servant);
+ Counter aitCounter = CounterHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(aitCounter));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server09.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Servers/Server10.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Servers/Server10.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Servers/Server10.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,109 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.AITResources02Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server10.java,v 1.2 2003/06/26 11:43:14 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server10.java,v 1.2 2003/06/26 11:43:14 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.AITResources02.*;
+import org.jboss.jbossts.qa.AITResources02Impls.AITCounterImpl03;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server10
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ AITCounterImpl03 aitCounterImpl1 = new AITCounterImpl03();
+ AITCounterImpl03 aitCounterImpl2 = new AITCounterImpl03();
+ AITCounterImpl03 aitCounterImpl3 = new AITCounterImpl03();
+ AITCounterImpl03 aitCounterImpl4 = new AITCounterImpl03();
+
+ CounterPOATie servant1 = new CounterPOATie(aitCounterImpl1);
+ CounterPOATie servant2 = new CounterPOATie(aitCounterImpl2);
+ CounterPOATie servant3 = new CounterPOATie(aitCounterImpl3);
+ CounterPOATie servant4 = new CounterPOATie(aitCounterImpl4);
+
+ OAInterface.objectIsReady(servant1);
+ OAInterface.objectIsReady(servant2);
+ OAInterface.objectIsReady(servant3);
+ OAInterface.objectIsReady(servant4);
+ Counter aitCounter1 = CounterHelper.narrow(OAInterface.corbaReference(servant1));
+ Counter aitCounter2 = CounterHelper.narrow(OAInterface.corbaReference(servant2));
+ Counter aitCounter3 = CounterHelper.narrow(OAInterface.corbaReference(servant3));
+ Counter aitCounter4 = CounterHelper.narrow(OAInterface.corbaReference(servant4));
+
+ ServerIORStore.storeIOR(args[args.length - 4], ORBInterface.orb().object_to_string(aitCounter1));
+ ServerIORStore.storeIOR(args[args.length - 3], ORBInterface.orb().object_to_string(aitCounter2));
+ ServerIORStore.storeIOR(args[args.length - 2], ORBInterface.orb().object_to_string(aitCounter3));
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(aitCounter4));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server10.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Servers/Server11.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Servers/Server11.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/AITResources02Servers/Server11.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,101 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+/*
+*
+* This server object has been created to test jiterbug issue 264
+*
+* The class is a copy of server01 but the remote object registered with
+* the ORB is impl04
+* # Author P.Craddock
+* # 09/08/01
+*/
+package org.jboss.jbossts.qa.AITResources02Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server11.java,v 1.2 2003/06/26 11:43:14 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server11.java,v 1.2 2003/06/26 11:43:14 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.AITResources02.*;
+import org.jboss.jbossts.qa.AITResources02Impls.AITCounterImpl04;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server11
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ AITCounterImpl04 aitCounterImpl = new AITCounterImpl04();
+ CounterPOATie servant = new CounterPOATie(aitCounterImpl);
+
+ OAInterface.objectIsReady(servant);
+ Counter aitCounter = CounterHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(aitCounter));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/client/Client001.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/client/Client001.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/client/Client001.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,92 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.client;
+
+import org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.impl.CrashService02;
+import org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.impl.RecoveryTransaction;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.BaseTestClient;
+
+public class Client001 extends BaseTestClient
+{
+ public static void main(String[] args)
+ {
+ Client001 test = new Client001(args);
+ }
+
+ private Client001(String[] args)
+ {
+ super(args);
+ }
+
+ public void Test()
+ {
+ try
+ {
+ setNumberOfCalls(5);
+ setNumberOfResources(4);
+ setCrashPoint(3);
+ setCrashType(2);
+ setUniquePrefix(1);
+
+ CrashService02 mService = new CrashService02(mNumberOfResources, mCrashPoint, mCrashType);
+
+ //start transaction to check all is ok.
+ startTx();
+ mService.setupOper(getUniquePrefix());
+ mService.doWork(mMaxIteration);
+ commit();
+
+ for (int ii = 0; ii < mNumberOfResources; ii++)
+ {
+ mService.mAbstractRecordList[ii].resetValue();
+ }
+
+ RecoveryTransaction tx = new RecoveryTransaction(mAtom.get_uid());
+
+ tx.doCommit();
+
+ try
+ {
+ for (int i = 0; i < mNumberOfResources; i++)
+ {
+ if (mService.mAbstractRecordList[i].getValue() != mMaxIteration * mNumberOfResources)
+ {
+ Debug("Error checking resource " + i + " value = " + mService.mAbstractRecordList[i].getValue());
+ mCorrect = false;
+
+ qaAssert(false);
+ }
+ }
+ }
+ catch (Exception e)
+ {
+ Fail("Exception whilst checking resource", e);
+ }
+
+ qaAssert(mCorrect);
+ }
+ catch (Exception e)
+ {
+ Fail("Error in Client001.test() :", e);
+ }
+ }
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/client/Client001a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/client/Client001a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/client/Client001a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,107 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.client;
+
+import com.arjuna.ats.arjuna.common.Uid;
+import org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.impl.BasicAbstractRecord;
+import org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.impl.RecoveryTransaction;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.BaseTestClient;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client001a extends BaseTestClient
+{
+ public static void main(String[] args)
+ {
+ Client001a test = new Client001a(args);
+ }
+
+ private Client001a(String[] args)
+ {
+ super(args);
+ }
+
+ public void Test()
+ {
+ try
+ {
+ setNumberOfCalls(3);
+ setNumberOfResources(2);
+ setUniquePrefix(1);
+
+ String txId = null;
+
+ try
+ {
+ /*
+ for(int i = 0; i < mNumberOfResources; i++)
+ {
+ String s = ServerIORStore.loadIOR(getResourceName("resource_" + i));
+ ServerIORStore.removeIOR(getResourceName("resource_"+i));
+ if(s != null && !s.equals("restored"))
+ {
+ Debug("Error checking resource " + i + " value = " + s);
+ mCorrect = false;
+ }
+ }
+ */
+
+ txId = ServerIORStore.loadIOR("CrashAbstractRecord");
+ }
+ catch (Exception e)
+ {
+ Fail("Exception whilst checking resource", e);
+
+ mCorrect = false;
+ }
+
+ if (mCorrect)
+ {
+ RecoveryTransaction tx = new RecoveryTransaction(new Uid(txId));
+ BasicAbstractRecord bar = new BasicAbstractRecord();
+
+ tx.doCommit();
+
+ if (bar.getValue() == mMaxIteration * mNumberOfResources)
+ {
+ tx = new RecoveryTransaction(new Uid(txId));
+
+ if (tx.activate()) // should generate a warning message
+ {
+ Debug("Error transaction log is still available!");
+
+ mCorrect = false;
+ }
+ }
+ else
+ {
+ Debug("Error restored state is " + bar.getValue());
+ }
+ }
+
+ qaAssert(mCorrect);
+ }
+ catch (Exception e)
+ {
+ Fail("Error in Client001a.test() :", e);
+ }
+ }
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/client/Client001b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/client/Client001b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/client/Client001b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,72 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.client;
+
+import org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.impl.CrashService01;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.BaseTestClient;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client001b extends BaseTestClient
+{
+ public static void main(String[] args)
+ {
+ Client001b test = new Client001b(args);
+ }
+
+ private Client001b(String[] args)
+ {
+ super(args);
+ }
+
+ public void Test()
+ {
+ try
+ {
+ setNumberOfCalls(5);
+ setNumberOfResources(4);
+ setCrashPoint(3);
+ setCrashType(2);
+ setUniquePrefix(1);
+
+ //create new container object
+ CrashService01 mService = new CrashService01(mNumberOfResources);
+ //create crash record so it is processed first
+ mService.createCrashRecord(mCrashPoint, mCrashType);
+
+ //start transaction and do work
+ startTx();
+ mService.setupOper(getUniquePrefix());
+ mService.doWork(mMaxIteration);
+
+ ServerIORStore.storeIOR("CrashAbstractRecord", mAtom.get_uid().stringForm());
+
+ commit();
+
+ //we do not need to do anything else it should finish here if not print failed
+ Fail();
+ }
+ catch (Exception e)
+ {
+ Fail("Error in Client001b.test() :", e);
+ }
+ }
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/client/RestoreClient001a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/client/RestoreClient001a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/client/RestoreClient001a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,62 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.client;
+
+import org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.impl.Service01;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.BaseTestClient;
+
+public class RestoreClient001a extends BaseTestClient
+{
+ public static void main(String[] args)
+ {
+ RestoreClient001a test = new RestoreClient001a(args);
+ }
+
+ private RestoreClient001a(String[] args)
+ {
+ super(args);
+ }
+
+ public void Test()
+ {
+ try
+ {
+ setNumberOfCalls(3);
+ setNumberOfResources(2);
+ setUniquePrefix(1);
+
+ Service01 mService = new Service01(mNumberOfResources);
+ //restore objects from uid's
+ mService.restoreUIDs(getUniquePrefix());
+ //check if objects and final values have been restored.
+ mCorrect = mService.checkRestore();
+
+ mService.clearUIDs(getUniquePrefix());
+
+ qaAssert(mCorrect);
+ }
+ catch (Exception e)
+ {
+ Fail("Error in RestoreClient001a.test() :", e);
+ }
+ }
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/client/RestoreClient001b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/client/RestoreClient001b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/client/RestoreClient001b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,64 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.client;
+
+import org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.impl.Service01;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.BaseTestClient;
+
+public class RestoreClient001b extends BaseTestClient
+{
+ public static void main(String[] args)
+ {
+ RestoreClient001b test = new RestoreClient001b(args);
+ }
+
+ private RestoreClient001b(String[] args)
+ {
+ super(args);
+ }
+
+ public void Test()
+ {
+ try
+ {
+ setNumberOfCalls(3);
+ setNumberOfResources(2);
+ setUniquePrefix(1);
+
+ Service01 mService = new Service01(mNumberOfResources);
+
+ startTx();
+ mService.setupOper();
+ mService.doWork(mMaxIteration);
+ //comit transaction
+ commit();
+
+ mService.storeUIDs(getUniquePrefix());
+
+ qaAssert(mCorrect);
+ }
+ catch (Exception e)
+ {
+ Fail("Error in RestoreClient001b.test() :", e);
+ }
+ }
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/impl/BasicAbstractRecord.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/impl/BasicAbstractRecord.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/impl/BasicAbstractRecord.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,218 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.impl;
+
+import com.arjuna.ats.arjuna.ObjectType;
+import com.arjuna.ats.arjuna.common.Uid;
+import com.arjuna.ats.arjuna.coordinator.AbstractRecord;
+import com.arjuna.ats.arjuna.coordinator.RecordType;
+import com.arjuna.ats.arjuna.coordinator.TwoPhaseOutcome;
+import com.arjuna.ats.arjuna.state.InputObjectState;
+import com.arjuna.ats.arjuna.state.OutputObjectState;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.qautil;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+/**
+ * Simple record used to test AtomicAction
+ */
+public class BasicAbstractRecord extends AbstractRecord
+{
+ public BasicAbstractRecord()
+ {
+ }
+
+ public BasicAbstractRecord(int id, String uniquePrefix)
+ {
+ super(new Uid(), "CrashAbstractRecord", ObjectType.ANDPERSISTENT);
+ mId = id;
+
+ _uniquePrefix = uniquePrefix;
+ }
+
+ public int typeIs()
+ {
+ return RecordType.USER_DEF_FIRST0;
+ }
+
+ public Object value()
+ {
+ return null;
+ }
+
+ // for crash recovery
+ public static AbstractRecord create()
+ {
+ return new BasicAbstractRecord();
+ }
+
+ public void setValue(Object object)
+ {
+ }
+
+ public int topLevelCommit()
+ {
+ //only do this after first increase has been done
+ if (mValue > 1)
+ {
+ qautil.qadebug("have we processed this");
+ try
+ {
+ ServerIORStore.storeIOR(_uniquePrefix + "resource_" + mId, "restored");
+ }
+ catch (Exception e)
+ {
+ qautil.debug("error whilst writing result", e);
+ }
+ }
+ return TwoPhaseOutcome.FINISH_OK;
+ }
+
+ public int topLevelAbort()
+ {
+ return TwoPhaseOutcome.FINISH_OK;
+ }
+
+ public int topLevelPrepare()
+ {
+ return TwoPhaseOutcome.PREPARE_OK;
+ }
+
+ public int nestedCommit()
+ {
+ return TwoPhaseOutcome.FINISH_OK;
+ }
+
+ public int nestedAbort()
+ {
+ return TwoPhaseOutcome.FINISH_OK;
+ }
+
+ public int nestedPrepare()
+ {
+ return TwoPhaseOutcome.PREPARE_OK;
+ }
+
+ public void alter(AbstractRecord abstractRecord)
+ {
+ }
+
+ public void merge(AbstractRecord abstractRecord)
+ {
+ }
+
+ public boolean shouldAdd(AbstractRecord abstractRecord)
+ {
+ return false;
+ }
+
+ public boolean shouldAlter(AbstractRecord abstractRecord)
+ {
+ return false;
+ }
+
+ public boolean shouldMerge(AbstractRecord abstractRecord)
+ {
+ return false;
+ }
+
+ public boolean shouldReplace(AbstractRecord abstractRecord)
+ {
+ return false;
+ }
+
+ /**
+ * Override method to indicate we want this object to be saved.
+ */
+ public boolean doSave()
+ {
+ return true;
+ }
+
+ public boolean save_state(OutputObjectState objectState, int objectType)
+ {
+ qautil.qadebug("save state called when value = " + mValue);
+ super.save_state(objectState, objectType);
+ try
+ {
+ objectState.packInt(mValue);
+ return true;
+ }
+ catch (Exception exception)
+ {
+ qautil.debug("BasicAbstractRecord.save_state: ", exception);
+ return false;
+ }
+ }
+
+ /**
+ * As this is an abstract record restore state does not function as a ait object
+ * but will be used by the crash recovery engine.
+ */
+ public boolean restore_state(InputObjectState objectState, int objectType)
+ {
+ qautil.qadebug("restore state called");
+ try
+ {
+ ServerIORStore.storeIOR(_uniquePrefix + "resource_" + mId, "restored");
+ }
+ catch (Exception e)
+ {
+ qautil.debug("error whilst writing result", e);
+ }
+ super.restore_state(objectState, objectType);
+ try
+ {
+ mValue = objectState.unpackInt();
+ return true;
+ }
+ catch (Exception exception)
+ {
+ qautil.debug("BasicAbstractRecord.restore_state: ", exception);
+ return false;
+ }
+ }
+
+ public String type()
+ {
+ return "/StateManager/BasicAbstractRecord";
+ }
+
+ /**
+ * My methods to test abstract record is being processed correctly by the transaction
+ * manager.
+ */
+ public void increase()
+ {
+ mValue++;
+ }
+
+ public int getValue()
+ {
+ return mValue;
+ }
+
+ private String _uniquePrefix = "";
+ private int mId = 0;
+
+ private static int mValue = 0;
+
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/impl/CrashAbstractRecord.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/impl/CrashAbstractRecord.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/impl/CrashAbstractRecord.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,170 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.impl;
+
+import com.arjuna.ats.arjuna.common.Uid;
+import com.arjuna.ats.arjuna.coordinator.AbstractRecord;
+import com.arjuna.ats.arjuna.coordinator.RecordType;
+import com.arjuna.ats.arjuna.coordinator.TwoPhaseOutcome;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.qautil;
+
+/**
+ * Simple record used to test AtomicAction
+ */
+public class CrashAbstractRecord extends AbstractRecord
+{
+ public CrashAbstractRecord()
+ {
+ this(1, 0);
+ }
+
+ /**
+ * Crashpoint will be used to set the point at which the crash will occur the type of crash
+ * will be determined by crashtype(0 = system.exit(), 1 = Fail )
+ */
+ public CrashAbstractRecord(int crashpoint, int crashtype)
+ {
+ super(new Uid());
+ mCrashPoint = crashpoint;
+ mCrashType = crashtype;
+ }
+
+ /**
+ * Typeis is over-riden to force TransactionManager to process this record first.
+ */
+ public int typeIs()
+ {
+ return RecordType.USER_DEF_FIRST0;
+ }
+
+ public Object value()
+ {
+ return null;
+ }
+
+ public void setValue(Object object)
+ {
+ }
+
+ /**
+ * The default action of this record is to crash on commit.
+ */
+ public int topLevelCommit()
+ {
+ if (mCrashPoint == 1)
+ {
+ qautil.qadebug("Abstract record is crashing on top level commit");
+ if (mCrashType == 0)
+ {
+ System.out.println("Passed");
+ System.exit(0);
+ }
+ else
+ {
+ return TwoPhaseOutcome.FINISH_ERROR;
+ }
+ }
+ return TwoPhaseOutcome.FINISH_OK;
+ }
+
+ public int topLevelAbort()
+ {
+ if (mCrashPoint == 2)
+ {
+ qautil.qadebug("Abstract record is crashing on top level commit");
+ if (mCrashType == 0)
+ {
+ System.out.println("Passed");
+ System.exit(0);
+ }
+ else
+ {
+ return TwoPhaseOutcome.FINISH_ERROR;
+ }
+ }
+ return TwoPhaseOutcome.FINISH_OK;
+ }
+
+ public int topLevelPrepare()
+ {
+ if (mCrashPoint == 3)
+ {
+ qautil.qadebug("Abstract record is crashing on top level prepare");
+ if (mCrashType == 0)
+ {
+ System.out.println("Passed");
+ System.exit(0);
+ }
+ else
+ {
+ return TwoPhaseOutcome.FINISH_ERROR;
+ }
+ }
+ return TwoPhaseOutcome.PREPARE_OK;
+ }
+
+ public int nestedCommit()
+ {
+ return TwoPhaseOutcome.FINISH_OK;
+ }
+
+ public int nestedAbort()
+ {
+ return TwoPhaseOutcome.FINISH_OK;
+ }
+
+ public int nestedPrepare()
+ {
+ return TwoPhaseOutcome.PREPARE_OK;
+ }
+
+ public void alter(AbstractRecord abstractRecord)
+ {
+ }
+
+ public void merge(AbstractRecord abstractRecord)
+ {
+ }
+
+ public boolean shouldAdd(AbstractRecord abstractRecord)
+ {
+ return false;
+ }
+
+ public boolean shouldAlter(AbstractRecord abstractRecord)
+ {
+ return false;
+ }
+
+ public boolean shouldMerge(AbstractRecord abstractRecord)
+ {
+ return false;
+ }
+
+ public boolean shouldReplace(AbstractRecord abstractRecord)
+ {
+ return false;
+ }
+
+ private int mCrashPoint = 0;
+ private int mCrashType = 0; //default is 0(exit vm) 1(return fail)
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/impl/CrashAbstractRecord02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/impl/CrashAbstractRecord02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/impl/CrashAbstractRecord02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,272 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.impl;
+
+import com.arjuna.ats.arjuna.ObjectType;
+import com.arjuna.ats.arjuna.common.Uid;
+import com.arjuna.ats.arjuna.coordinator.AbstractRecord;
+import com.arjuna.ats.arjuna.coordinator.RecordType;
+import com.arjuna.ats.arjuna.coordinator.TwoPhaseOutcome;
+import com.arjuna.ats.arjuna.state.InputObjectState;
+import com.arjuna.ats.arjuna.state.OutputObjectState;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.qautil;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+/**
+ * Simple record used to test AtomicAction
+ */
+public class CrashAbstractRecord02 extends AbstractRecord
+{
+ public CrashAbstractRecord02()
+ {
+ this(1, 1, 0, "");
+ }
+
+ /**
+ * Crashpoint will be used to set the point at which the crash will occur the type of crash
+ * will be determined by crashtype(0 = system.exit(), 1 = Fail )
+ */
+ public CrashAbstractRecord02(int id, int crashpoint, int crashtype, String uniquePrefix)
+ {
+ super(new Uid(), "CrashAbstractRecord", ObjectType.ANDPERSISTENT);
+ mId = id;
+ mCrashPoint = crashpoint;
+ mCrashType = crashtype;
+ _uniquePrefix = uniquePrefix;
+ }
+
+ /**
+ * Typeis is over-riden to force TransactionManager to process this record first.
+ */
+ public int typeIs()
+ {
+ return RecordType.USER_DEF_FIRST1;
+ }
+
+ public Object value()
+ {
+ return null;
+ }
+
+ public void setValue(Object object)
+ {
+ }
+
+ /**
+ * For crash Recovery
+ */
+ public static AbstractRecord create()
+ {
+ return new CrashAbstractRecord02();
+ }
+
+ /**
+ * The default action of this record is to crash on commit.
+ */
+ public int topLevelCommit()
+ {
+
+ if (mAction == 1 && mCrashPoint == 1)
+ {
+ qautil.qadebug("Abstract record is crashing on top level commit");
+ if (mCrashType == 0)
+ {
+ System.out.println("Passed");
+ System.exit(0);
+ }
+ else
+ {
+ qautil.qadebug(mId + " returning error");
+ return TwoPhaseOutcome.FINISH_ERROR;
+ }
+ }
+
+ qautil.qadebug(mId + " returning ok");
+ return TwoPhaseOutcome.FINISH_OK;
+ }
+
+ public int topLevelAbort()
+ {
+ if (mCrashPoint == 2)
+ {
+ qautil.qadebug("Abstract record is crashing on top level commit");
+ if (mCrashType == 0)
+ {
+ System.out.println("Passed");
+ System.exit(0);
+ }
+ else
+ {
+ return TwoPhaseOutcome.FINISH_ERROR;
+ }
+ }
+ return TwoPhaseOutcome.FINISH_OK;
+ }
+
+ public int topLevelPrepare()
+ {
+ if (mCrashPoint == 3)
+ {
+ qautil.qadebug("Abstract record is crashing on top level prepare");
+ if (mCrashType == 0)
+ {
+ System.out.println("Passed");
+ System.exit(0);
+ }
+ else
+ {
+ return TwoPhaseOutcome.FINISH_ERROR;
+ }
+ }
+ return TwoPhaseOutcome.PREPARE_OK;
+ }
+
+ public int nestedCommit()
+ {
+ return TwoPhaseOutcome.FINISH_OK;
+ }
+
+ public int nestedAbort()
+ {
+ return TwoPhaseOutcome.FINISH_OK;
+ }
+
+ public int nestedPrepare()
+ {
+ return TwoPhaseOutcome.PREPARE_OK;
+ }
+
+ public void alter(AbstractRecord abstractRecord)
+ {
+ }
+
+ public void merge(AbstractRecord abstractRecord)
+ {
+ }
+
+ public boolean shouldAdd(AbstractRecord abstractRecord)
+ {
+ return false;
+ }
+
+ public boolean shouldAlter(AbstractRecord abstractRecord)
+ {
+ return false;
+ }
+
+ public boolean shouldMerge(AbstractRecord abstractRecord)
+ {
+ return false;
+ }
+
+ public boolean shouldReplace(AbstractRecord abstractRecord)
+ {
+ return false;
+ }
+
+ /**
+ * Override method to indicate we want this object to be saved.
+ */
+ public boolean doSave()
+ {
+ return true;
+ }
+
+ public boolean save_state(OutputObjectState objectState, int objectType)
+ {
+ qautil.qadebug("save state called when value = " + mValue);
+ super.save_state(objectState, objectType);
+ try
+ {
+ objectState.packInt(mValue);
+ return true;
+ }
+ catch (Exception exception)
+ {
+ qautil.debug("BasicAbstractRecord.save_state: ", exception);
+ return false;
+ }
+ }
+
+ /**
+ * As this is an abstract record restore state does not function as a ait object
+ * but will be used by the crash recovery engine.
+ */
+ public boolean restore_state(InputObjectState objectState, int objectType)
+ {
+ qautil.qadebug("restore state called");
+ super.restore_state(objectState, objectType);
+ try
+ {
+ ServerIORStore.storeIOR(_uniquePrefix + "resource_" + mId, "restored");
+ }
+ catch (Exception e)
+ {
+ qautil.debug("error whilst writing result");
+ }
+ try
+ {
+ mValue = objectState.unpackInt();
+ return true;
+ }
+ catch (Exception exception)
+ {
+ qautil.debug("BasicAbstractRecord.restore_state: ", exception);
+ return false;
+ }
+
+ }
+
+ public String type()
+ {
+ return "/StateManager/CrashAbstractRecord02";
+ }
+
+ public void increase()
+ {
+ mValue++;
+ }
+
+ public void resetValue()
+ {
+ mValue = 0;
+ }
+
+ public int getValue()
+ {
+ return mValue;
+ }
+
+ public void setAction(int i)
+ {
+ mAction = i;
+ }
+
+ private String _uniquePrefix = "";
+
+ private int mCrashPoint = 0;
+ private int mCrashType = 0; //default is 0(exit vm) 1(return fail)
+ private int mId;
+ private int mAction = 0;
+
+ private static int mValue = 0;
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/impl/CrashService01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/impl/CrashService01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/impl/CrashService01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,81 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+/*
+ * Created by IntelliJ IDEA.
+ * User: peter craddock
+ * Date: 12-Mar-02
+ * Time: 11:05:00
+ */
+package org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.impl;
+
+import com.arjuna.ats.arjuna.AtomicAction;
+import com.arjuna.ats.arjuna.coordinator.AddOutcome;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.qautil;
+
+public class CrashService01
+{
+ public CrashService01(int i)
+ {
+ mNumberOfResources = i;
+ }
+
+ public void createCrashRecord(int crashpoint, int crashtype)
+ {
+ mCrashRecord = new CrashAbstractRecord(crashpoint, crashtype);
+ }
+
+ public void setupOper(String unqiueId)
+ {
+ mTransaction = (AtomicAction) AtomicAction.Current();
+ if (mCrashRecord != null)
+ {
+ mTransaction.add(mCrashRecord);
+ }
+
+ mAbstractRecordList = new BasicAbstractRecord[mNumberOfResources];
+ for (int i = 0; i < mNumberOfResources; i++)
+ {
+ mAbstractRecordList[i] = new BasicAbstractRecord(i, unqiueId);
+ if (mTransaction.add(mAbstractRecordList[i]) != AddOutcome.AR_ADDED)
+ {
+ qautil.qadebug("Error when adding: " + i + " to atomic action");
+ mCorrect = false;
+ }
+ }
+ }
+
+ public void doWork(int work)
+ {
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < work; i++)
+ {
+ mAbstractRecordList[j].increase();
+ }
+ }
+ }
+
+ private int mNumberOfResources = 0;
+ private BasicAbstractRecord[] mAbstractRecordList;
+ private CrashAbstractRecord mCrashRecord = null;
+ private AtomicAction mTransaction;
+ private boolean mCorrect = true;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/impl/CrashService02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/impl/CrashService02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/impl/CrashService02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,77 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+/*
+ * Created by IntelliJ IDEA.
+ * User: peter craddock
+ * Date: 12-Mar-02
+ * Time: 11:28:36
+ */
+package org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.impl;
+
+import com.arjuna.ats.arjuna.AtomicAction;
+import com.arjuna.ats.arjuna.coordinator.AddOutcome;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.qautil;
+
+public class CrashService02
+{
+ public CrashService02(int res, int point, int type)
+ {
+ mNumberOfResources = res;
+ mCrashPoint = point;
+ mCrashType = type;
+ }
+
+ public void setupOper(String uniquePrefix)
+ {
+ mTransaction = (AtomicAction) AtomicAction.Current();
+
+ mAbstractRecordList = new CrashAbstractRecord02[mNumberOfResources];
+ for (int i = 0; i < mNumberOfResources; i++)
+ {
+ mAbstractRecordList[i] = new CrashAbstractRecord02(i, mCrashPoint, mCrashType, uniquePrefix);
+ if (mTransaction.add(mAbstractRecordList[i]) != AddOutcome.AR_ADDED)
+ {
+ qautil.qadebug("Error when adding: " + i + " to atomic action");
+ mCorrect = false;
+ }
+ }
+
+ }
+
+ public void doWork(int work)
+ {
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < work; i++)
+ {
+ mAbstractRecordList[j].increase();
+ }
+ mAbstractRecordList[j].setAction(1);
+ }
+ }
+
+ public int mCrashPoint;
+ public int mCrashType;
+ public int mNumberOfResources;
+ public CrashAbstractRecord02[] mAbstractRecordList;
+ public AtomicAction mTransaction;
+ public boolean mCorrect = true;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/impl/RecoveryTransaction.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/impl/RecoveryTransaction.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/impl/RecoveryTransaction.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,62 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+/*
+ * Copyright (C) 2004,
+ *
+ * Arjuna Technologies Limited,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: RecoveryTransaction.java,v 1.1 2004/03/04 10:07:50 nmcl Exp $
+ */
+
+package org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.impl;
+
+import com.arjuna.ats.arjuna.common.Uid;
+import com.arjuna.ats.arjuna.coordinator.BasicAction;
+
+public class RecoveryTransaction extends BasicAction
+{
+
+ public RecoveryTransaction(Uid txId)
+ {
+ super(txId);
+
+ activate();
+ }
+
+ public void doAbort()
+ {
+ super.phase2Abort(true);
+ }
+
+ public void doCommit()
+ {
+ super.phase2Commit(true);
+ }
+
+ public String type()
+ {
+ return "/StateManager/BasicAction/TwoPhaseCoordinator/AtomicAction";
+ }
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/setup/AddUserDefFirst0.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/setup/AddUserDefFirst0.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/setup/AddUserDefFirst0.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,31 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.setup;
+
+import com.arjuna.ats.arjuna.gandiva.inventory.Inventory;
+
+public class AddUserDefFirst0
+{
+ public AddUserDefFirst0()
+ {
+ Inventory.inventory().addToList(new UserDefFirst0Setup());
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/setup/AddUserDefFirst1.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/setup/AddUserDefFirst1.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/setup/AddUserDefFirst1.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,31 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.setup;
+
+import com.arjuna.ats.arjuna.gandiva.inventory.Inventory;
+
+public class AddUserDefFirst1
+{
+ public AddUserDefFirst1()
+ {
+ Inventory.inventory().addToList(new UserDefFirst1Setup());
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/setup/UserDefFirst0Setup.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/setup/UserDefFirst0Setup.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/setup/UserDefFirst0Setup.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,74 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+/*
+ *
+ * Look at OTS_AbstractRecordSetup.java to see what CORBA does.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.setup;
+
+import com.arjuna.ats.arjuna.gandiva.ClassName;
+import com.arjuna.ats.arjuna.gandiva.ObjectName;
+import com.arjuna.ats.arjuna.gandiva.inventory.InventoryElement;
+import org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.impl.BasicAbstractRecord;
+
+public class UserDefFirst0Setup implements InventoryElement
+{
+
+ public UserDefFirst0Setup()
+ {
+ }
+
+ public synchronized Object createVoid()
+ {
+ return BasicAbstractRecord.create();
+ }
+
+ public synchronized Object createClassName(ClassName className)
+ {
+ return null;
+ }
+
+ public synchronized Object createObjectName(ObjectName objectName)
+ {
+ return null;
+ }
+
+ public synchronized Object createResources(Object[] resources)
+ {
+ return null;
+ }
+
+ public synchronized Object createClassNameResources(ClassName className, Object[] resources)
+ {
+ return null;
+ }
+
+ public synchronized Object createObjectNameResources(ObjectName objectName, Object[] resources)
+ {
+ return null;
+ }
+
+ public ClassName className()
+ {
+ return new ClassName("RecordType.USER_DEF_FIRST0");
+ }
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/setup/UserDefFirst1Setup.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/setup/UserDefFirst1Setup.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/CrashRecovery/setup/UserDefFirst1Setup.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,74 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+/*
+ *
+ * Look at OTS_AbstractRecordSetup.java to see what CORBA does.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.setup;
+
+import com.arjuna.ats.arjuna.gandiva.ClassName;
+import com.arjuna.ats.arjuna.gandiva.ObjectName;
+import com.arjuna.ats.arjuna.gandiva.inventory.InventoryElement;
+import org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.impl.CrashAbstractRecord02;
+
+public class UserDefFirst1Setup implements InventoryElement
+{
+
+ public UserDefFirst1Setup()
+ {
+ }
+
+ public synchronized Object createVoid()
+ {
+ return CrashAbstractRecord02.create();
+ }
+
+ public synchronized Object createClassName(ClassName className)
+ {
+ return null;
+ }
+
+ public synchronized Object createObjectName(ObjectName objectName)
+ {
+ return null;
+ }
+
+ public synchronized Object createResources(Object[] resources)
+ {
+ return null;
+ }
+
+ public synchronized Object createClassNameResources(ClassName className, Object[] resources)
+ {
+ return null;
+ }
+
+ public synchronized Object createObjectNameResources(ObjectName objectName, Object[] resources)
+ {
+ return null;
+ }
+
+ public ClassName className()
+ {
+ return new ClassName("RecordType.USER_DEF_FIRST1");
+ }
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/client/Client001.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/client/Client001.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/client/Client001.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,74 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client;
+
+import org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.impl.Service01;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.BaseTestClient;
+
+public class Client001 extends BaseTestClient
+{
+ public static void main(String[] args)
+ {
+ Client001 test = new Client001(args);
+ }
+
+ private Client001(String[] args)
+ {
+ super(args);
+ }
+
+ public void Test()
+ {
+ try
+ {
+ setNumberOfCalls(2);
+ setNumberOfResources(1);
+
+ //create container
+ Service01 mService = new Service01(mNumberOfResources);
+
+ startTx();
+ mService.setupOper();
+ mService.doWork(mMaxIteration);
+ //comit transaction
+ commit();
+ mCorrect = mService.checkCommitOper();
+
+ mService = new Service01(mNumberOfResources);
+
+ //start new AtomicAction
+ startTx();
+ mService.setupOper();
+ mService.doWork(mMaxIteration);
+ //abort transaction
+ abort();
+ //check final values
+ mCorrect = mCorrect && mService.checkAbortOper();
+
+ qaAssert(mCorrect);
+ }
+ catch (Exception e)
+ {
+ Fail("Error in Client001.test() :", e);
+ }
+ }
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/client/Client002.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/client/Client002.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/client/Client002.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,69 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client;
+
+import org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.impl.Service01;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.BaseTestClient;
+
+public class Client002 extends BaseTestClient
+{
+ public static void main(String[] args)
+ {
+ Client002 test = new Client002(args);
+ }
+
+ private Client002(String[] args)
+ {
+ super(args);
+ }
+
+ public void Test()
+ {
+ try
+ {
+ setNumberOfCalls(2);
+ setNumberOfResources(1);
+
+ Service01 mService = new Service01(mNumberOfResources);
+ startTx();
+ mService.setupOper(true);
+ mService.doWork(mMaxIteration);
+ commit();
+ mCorrect = mService.checkCommitOper();
+
+ mService = new Service01(mNumberOfResources);
+ startTx();
+ mService.setupOper(true);
+ mService.doWork(mMaxIteration);
+ abort();
+
+ //check final values
+ mCorrect = mCorrect && mService.checkAbortOper();
+
+ qaAssert(mCorrect);
+ }
+ catch (Exception e)
+ {
+ Fail("Error in Client002.test() :", e);
+ }
+ }
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/client/ErrorClient01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/client/ErrorClient01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/client/ErrorClient01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,81 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+/*
+ * Created by IntelliJ IDEA.
+ * User: peter craddock
+ * Date: 12-Mar-02
+ * Time: 14:19:06
+ */
+package org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client;
+
+import com.arjuna.ats.arjuna.coordinator.ActionStatus;
+import org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.impl.ErrorService01;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.BaseTestClient;
+
+public class ErrorClient01 extends BaseTestClient
+{
+ public static void main(String[] args)
+ {
+ ErrorClient01 test = new ErrorClient01(args);
+ }
+
+ private ErrorClient01(String[] args)
+ {
+ super(args);
+ }
+
+ public void Test()
+ {
+ try
+ {
+ setNumberOfResources(3);
+ setCrashPoint(2);
+ setCrashType(1);
+
+ ErrorService01 mService = new ErrorService01(mNumberOfResources);
+ int mFinalValue = 0;
+
+ createTx();
+ //com.arjuna.ats.arjuna.logging.debug.DebugController.controller().println(0, 0, 0, "tests");
+ try
+ {
+ begin();
+ mService.setupOper();
+ mService.setCrash(mCrashPoint, mCrashType);
+ mFinalValue = intCommit();
+ }
+ catch (Exception e)
+ {
+ Fail("Error doing work", e);
+ }
+
+ Debug("final value = " + mFinalValue);
+ Debug(ActionStatus.stringForm(mFinalValue));
+
+ qaAssert(mCorrect);
+ }
+ catch (Exception e)
+ {
+ Fail("Error in ErrorClient01.test() :", e);
+ }
+ }
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/client/ErrorClient02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/client/ErrorClient02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/client/ErrorClient02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,109 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+/*
+ * Created by IntelliJ IDEA.
+ * User: peter craddock
+ * Date: 12-Mar-02
+ * Time: 14:19:06
+ */
+package org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client;
+
+import org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.impl.ErrorService01;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.BaseTestClient;
+
+public class ErrorClient02 extends BaseTestClient
+{
+ public static void main(String[] args)
+ {
+ ErrorClient02 test = new ErrorClient02(args);
+ }
+
+ private ErrorClient02(String[] args)
+ {
+ super(args);
+ }
+
+ public void Test()
+ {
+ try
+ {
+ setNumberOfResources(getNumberOfArgs());
+ setCrashPoint(getNumberOfArgs() - 1);
+ int[] mCrashType = null;
+
+ try
+ {
+
+ mCrashType = new int[getNumberOfArgs() - 2];
+
+ //first set defaults
+ for (int i = 0; i < mCrashType.length; i++)
+ {
+ mCrashType[i] = 7; //default 'finished_ok'
+ }
+
+ //now populate with passed values
+ for (int i = 0; i < mCrashType.length; i++)
+ {
+ //any exception will result in default array list being used
+ mCrashType[i] = Integer.parseInt(getArg(i + 2));
+ }
+
+ }
+ catch (NumberFormatException nfe)
+ {
+ Debug("Using default value of 0 : ", nfe);
+ }
+ catch (Exception e)
+ {
+ Debug("Using default value of 0 : ", e);
+ }
+
+ ErrorService01 mService = new ErrorService01(mNumberOfResources);
+ int mFinalValue = 0;
+
+ createTx();
+ //com.arjuna.ats.arjuna.logging.debug.DebugController.controller().println(0, 0, 0, "tests");
+ try
+ {
+ begin();
+ mService.setupOper();
+ mService.setCrash(mCrashPoint, mCrashType);
+ mFinalValue = intCommit();
+ }
+ catch (Exception e)
+ {
+ Fail("Error doing work", e);
+ }
+
+// Debug("final value = " + mFinalValue);
+ //Debug(ActionStatus.printString(mFinalValue));
+ Debug(mFinalValue + "");
+
+ qaAssert(mCorrect);
+ }
+ catch (Exception e)
+ {
+ Fail("Error in ErrorClient02.test() :", e);
+ }
+ }
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/client/ErrorClient03.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/client/ErrorClient03.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/client/ErrorClient03.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,222 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+/*
+ * Created by IntelliJ IDEA.
+ * User: peter craddock
+ * Date: 12-Mar-02
+ * Time: 14:19:06
+ */
+package org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client;
+
+import com.arjuna.ats.arjuna.coordinator.ActionStatus;
+import com.arjuna.ats.arjuna.coordinator.TwoPhaseOutcome;
+import org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.impl.ErrorService01;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.BaseTestClient;
+
+import java.util.ArrayList;
+
+/**
+ * This is a work in progress version of errorclient04
+ * <p/>
+ * It seemed a good idea to put the next pahase of the development in a new class
+ * since it took a long time to get to this point.
+ */
+public class ErrorClient03 extends BaseTestClient
+{
+ public static void main(String[] args)
+ {
+ ErrorClient03 test = new ErrorClient03(args);
+ }
+
+ private ErrorClient03(String[] args)
+ {
+ super(args);
+ }
+
+ public void Test()
+ {
+ //setup values
+ mMaxInt = 12;
+ mMaxValue = 11;
+ try
+ {
+ setNumberOfResources(getNumberOfArgs());
+ setCrashPoint(getNumberOfArgs() - 1);
+
+ createArrayList();
+ }
+ catch (Exception e)
+ {
+ Fail("Error in ErrorClient03.test() :", e);
+ }
+
+ try
+ {
+ mCrashPoint = 1;
+ //crash type not used in this test
+ mCrashType = 1;
+
+ //perform tests
+ int testresources = 0;
+ int[] mCrashArray;
+ for (int i = 0; i < mPermutaionsList.size(); i++)
+ {
+ mCrashArray = (int[]) mPermutaionsList.get(i);
+ testresources = mCrashArray.length;
+
+ ErrorService01 mService = new ErrorService01(testresources);
+ int mFinalValue = 0;
+
+ createTx();
+ try
+ {
+ begin();
+ mService.setupOper();
+ mService.setCrash(mCrashPoint, mCrashArray);
+ mFinalValue = intCommit();
+ }
+ catch (Exception e)
+ {
+ Fail("Error doing work", e);
+ }
+
+ String s = "";
+ for (int j = 0; j < mCrashArray.length; j++)
+ {
+ int value = 0;
+ value = mCrashArray[j];
+ s += "Resource " + (j + 1) + " : " + TwoPhaseOutcome.stringForm(value) + " ";
+ }
+ Debug(s + "Final value = " + ActionStatus.stringForm(mFinalValue));
+ }
+ }
+ catch (Exception e)
+ {
+ Fail("Error in ErrorClient03.test() :", e);
+ }
+
+ }
+
+ private void createArrayList()
+ {
+
+ int numberoftests = 0;
+ int displaycounter = 0;
+ mPermutaionsList = new ArrayList();
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ numberoftests = mMaxInt;// - mIgnorList.length;
+ for (int perms = 0; perms < j; perms++)
+ {
+ numberoftests = numberoftests * mMaxInt;
+ }
+ //setupCounterArray(j + 1);
+ for (int i = 0; i < numberoftests; i++)
+ {
+ int[] last = null;
+ if (i != 0 || j != 0)
+ {
+ last = (int[]) mPermutaionsList.get(displaycounter - 1);
+ }
+
+ mPermutaionsList.add(createArrays(j + 1, last));
+ //turn this off now its working
+ display(displaycounter);
+ displaycounter++;
+ }
+ }
+ }
+
+ private int[] createArrays(int size, int[] last)
+ {
+ int[] crash = new int[size];
+
+ if (last == null)
+ {
+ crash[0] = 0;
+ return crash;
+ }
+ else
+ {
+ boolean increase = true;
+ int value = 0;
+ int testvalue = 0;
+ //if this happend new array size
+ if (last.length != crash.length)
+ {
+ for (int i = 0; i < crash.length; i++)
+ {
+ crash[i] = 0;
+ }
+ return crash;
+ }
+ for (int i = crash.length - 1; i > -1; i--)
+ {
+ value = last[i];
+
+ if (increase)
+ {
+ value++;
+ }
+
+ testvalue = value;
+
+ if (value > mMaxValue)
+ {
+ value = 0;
+ }
+
+ if (value != mMaxValue + 1)
+ {
+ increase = false;
+ }
+
+ if (testvalue == mMaxValue + 1)
+ {
+ increase = true;
+ }
+
+ crash[i] = value;
+ }
+ }
+ return crash;
+ }
+
+ /**
+ * Helper method for debugging createarray function.
+ */
+ private void display(int i)
+ {
+ int[] values = (int[]) mPermutaionsList.get(i);
+ String s = "";
+ for (int j = 0; j < values.length; j++)
+ {
+ s += values[j] + ", ";
+ }
+ Debug(s);
+ }
+
+ private int mMaxInt = 12;
+ private int mMaxValue = 11;
+ private ArrayList mPermutaionsList;
+ private int[] mIgnorList = null;
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/client/ErrorClient04.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/client/ErrorClient04.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/client/ErrorClient04.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,336 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+/*
+ * Created by IntelliJ IDEA.
+ * User: peter craddock
+ * Date: 12-Mar-02
+ * Time: 14:19:06
+ */
+package org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client;
+
+import com.arjuna.ats.arjuna.coordinator.ActionStatus;
+import com.arjuna.ats.arjuna.coordinator.TwoPhaseOutcome;
+import org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.impl.ErrorService01;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.BaseTestClient;
+
+import java.util.ArrayList;
+
+/**
+ * This is a template to test the current outcome is
+ * from the tests. we will use this to create a config file generator.
+ */
+public class ErrorClient04 extends BaseTestClient
+{
+ public static void main(String[] args)
+ {
+ ErrorClient04 test = new ErrorClient04(args);
+ }
+
+ private ErrorClient04(String[] args)
+ {
+ super(args);
+ }
+
+ public void Test()
+ {
+ /////////////////////////////////////////////////////////////////////////////////////////
+ // set up values needed for test
+ /////////////////////////////////////////////////////////////////////////////////////////
+ //setup values
+ mMaxInt = 12;
+ mMaxValue = 11;
+ try
+ {
+ setNumberOfResources(getNumberOfArgs());
+ setCrashPoint(getNumberOfArgs() - 1);
+
+ createArrayList();
+ }
+ catch (Exception e)
+ {
+ Fail("Error in ErrorClient04.test() :", e);
+ }
+
+ /////////////////////////////////////////////////////////////////////////////////////////
+ // prepare output
+ /////////////////////////////////////////////////////////////////////////////////////////
+
+ try
+ {
+ // create array to hold display results
+ displayarray = new ArrayList();
+ String[] content = new String[mNumberOfResources + 1];
+ String s = "";
+
+ //headers
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ s = "Resource :" + (j + 1);
+ content[j] = pad(s);
+ }
+ s = "Final Result";
+ content[mNumberOfResources] = pad(s);
+ displayarray.add(content);
+ }
+ catch (Exception e)
+ {
+ Fail("Error in ErrorClient04.test() :", e);
+ }
+
+ /////////////////////////////////////////////////////////////////////////////////////////
+ //now perform tests and save results in the above array
+ /////////////////////////////////////////////////////////////////////////////////////////
+ try
+ {
+ mCrashPoint = 1;
+ //crash type not used in this test
+ mCrashType = 1;
+
+ //perform tests
+ int testresources = 0;
+ int[] mCrashArray;
+ for (int i = 0; i < mPermutaionsList.size(); i++)
+ {
+ mCrashArray = (int[]) mPermutaionsList.get(i);
+ testresources = mCrashArray.length;
+
+ ErrorService01 mService = new ErrorService01(testresources);
+ int mFinalValue = 0;
+
+ createTx();
+ try
+ {
+ begin();
+ mService.setupOper();
+ mService.setCrash(mCrashPoint, mCrashArray);
+ mFinalValue = intCommit();
+ }
+ catch (Exception e)
+ {
+ Fail("Error doing work", e);
+ }
+
+ //save the values for display later
+ String[] content = new String[mNumberOfResources + 1];
+ String s = "";
+ for (int x = 0; x < mNumberOfResources + 1; x++)
+ {
+ int value = -1;
+ s = " ";
+ if (x < mCrashArray.length)
+ {
+ value = mCrashArray[x];
+ s = TwoPhaseOutcome.stringForm(value);
+ }
+ content[x] = pad(s);
+
+ if (x == mNumberOfResources)
+ {
+ s = ActionStatus.stringForm(mFinalValue);
+ content[x] = pad(s);
+ }
+ }
+ displayarray.add(content);
+ }
+ }
+ catch (Exception e)
+ {
+ Fail("Error in ErrorClient04.test() :", e);
+ }
+
+ // now display saved data
+ displayArray();
+ }
+
+ private void createArrayList()
+ {
+ int numberoftests = 0;
+ int displaycounter = 0;
+ mPermutaionsList = new ArrayList();
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ createIgnoreList(j + 1);
+ numberoftests = mMaxInt - mIgnorList.length;
+ for (int perms = 0; perms < j; perms++)
+ {
+ numberoftests = numberoftests * (mMaxInt - mIgnorList.length);
+ }
+ //setupCounterArray(j + 1);
+ for (int i = 0; i < numberoftests; i++)
+ {
+ int[] last = null;
+ if (i != 0 || j != 0)
+ {
+ last = (int[]) mPermutaionsList.get(displaycounter - 1);
+ }
+
+ mPermutaionsList.add(createArrays(j + 1, last));
+ //turn this off now its working
+ //display(displaycounter);
+ displaycounter++;
+ }
+ }
+ }
+
+ private int[] createArrays(int size, int[] last)
+ {
+ int[] crash = new int[size];
+ boolean increase = true;
+ int value = -1;
+ int testvalue = 0;
+
+ if (last == null)
+ {
+ value = nextValidValue(value);
+ crash[0] = value;
+ return crash;
+ }
+ else
+ {
+ //if this happend new array size
+ if (last.length != crash.length)
+ {
+ for (int i = 0; i < crash.length; i++)
+ {
+ value = nextValidValue(-1);
+ crash[i] = value;
+ }
+ return crash;
+ }
+ for (int i = crash.length - 1; i > -1; i--)
+ {
+ value = last[i];
+
+ if (increase)
+ {
+ value = nextValidValue(value);
+ }
+
+ testvalue = value;
+
+ if (value > mMaxValue)
+ {
+ value = nextValidValue(-1);
+ }
+
+ if (value != mMaxValue + 1)
+ {
+ increase = false;
+ }
+
+ if (testvalue == mMaxValue + 1)
+ {
+ increase = true;
+ }
+
+ crash[i] = value;
+ }
+ }
+ return crash;
+ }
+
+ private int nextValidValue(int value)
+ {
+ value++;
+ for (int i = 0; i < mIgnorList.length; i++)
+ {
+ if (value == mIgnorList[i])
+ {
+ value++;
+ nextValidValue(value);
+ }
+ }
+ return value;
+ }
+
+ private void createIgnoreList(int resources)
+ {
+ //make sure mIgnoreList is not null
+ mIgnorList = new int[0];
+ if (mCrashPoint == 1)
+ {
+ if (resources == 1)
+ {
+ mIgnorList = new int[3];
+ mIgnorList[0] = TwoPhaseOutcome.PREPARE_OK;
+ mIgnorList[1] = TwoPhaseOutcome.PREPARE_NOTOK;
+ mIgnorList[2] = TwoPhaseOutcome.PREPARE_READONLY;
+ }
+ else
+ {
+ mIgnorList = new int[4];
+ mIgnorList[0] = TwoPhaseOutcome.PREPARE_OK;
+ mIgnorList[1] = TwoPhaseOutcome.PREPARE_NOTOK;
+ mIgnorList[2] = TwoPhaseOutcome.PREPARE_READONLY;
+ mIgnorList[3] = TwoPhaseOutcome.ONE_PHASE_ERROR;
+ }
+ }
+ }
+
+ private String pad(String s)
+ {
+ int size = 40;
+ String out = s;
+ for (int i = s.length(); i < size; i++)
+ {
+ out += " ";
+ }
+ return out;
+ }
+
+ private void displayArray()
+ {
+ for (int i = 0; i < displayarray.size(); i++)
+ {
+ String[] displaydata = null;
+ String displayValue = "";
+ displaydata = (String[]) displayarray.get(i);
+
+ for (int j = 0; j < displaydata.length; j++)
+ {
+ displayValue += displaydata[j];
+ }
+
+ System.err.println(displayValue);
+ }
+ }
+
+ /**
+ * Helper method for debugging createarray function.
+ */
+ private void display(int i)
+ {
+ int[] values = (int[]) mPermutaionsList.get(i);
+ String s = "";
+ for (int j = 0; j < values.length; j++)
+ {
+ s += values[j] + ", ";
+ }
+ Debug(s);
+ }
+
+ private int mMaxInt = 12;
+ private int mMaxValue = 11;
+ private ArrayList mPermutaionsList;
+ private ArrayList displayarray;
+ private int[] mIgnorList = null;
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/client/ErrorClient05.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/client/ErrorClient05.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/client/ErrorClient05.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,332 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+/*
+ * Created by IntelliJ IDEA.
+ * User: peter craddock
+ * Date: 12-Mar-02
+ * Time: 14:19:06
+ */
+package org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client;
+
+import com.arjuna.ats.arjuna.coordinator.TwoPhaseOutcome;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.BaseTestClient;
+
+import java.util.ArrayList;
+
+/**
+ * This is a template to test the current outcome is
+ * from the tests. we will use this to create a config file generator.
+ */
+public class ErrorClient05 extends BaseTestClient
+{
+ public static void main(String[] args)
+ {
+ ErrorClient05 test = new ErrorClient05(args);
+ }
+
+ private ErrorClient05(String[] args)
+ {
+ super(args);
+ }
+
+ public void Test()
+ {
+ //setup values
+ mMaxInt = 12;
+ mMaxValue = 11;
+ try
+ {
+ setNumberOfResources(getNumberOfArgs());
+ setCrashPoint(getNumberOfArgs() - 1);
+
+ createArrayList();
+ }
+ catch (Exception e)
+ {
+ Fail("Error in ErrorClient05.test() :", e);
+ }
+
+ /////////////////////////////////////////////////////////////////////////////////////////
+ // prepare output
+ /////////////////////////////////////////////////////////////////////////////////////////
+
+ try
+ {
+ // create array to hold display results
+ displayarray = new ArrayList();
+ String[] content = new String[mNumberOfResources + 1];
+ String s = "";
+
+ //headers
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ s = "Resource :" + (j + 1);
+ content[j] = pad(s);
+ }
+ s = "Final Result";
+ content[mNumberOfResources] = pad(s);
+ displayarray.add(content);
+ }
+ catch (Exception e)
+ {
+ Fail("Error in ErrorClient04.test() :", e);
+ }
+
+ /////////////////////////////////////////////////////////////////////////////////////////
+ //now perform tests and save results in the above array
+ /////////////////////////////////////////////////////////////////////////////////////////
+ try
+ {
+
+ //perform tests
+ int testresources = 0;
+ int[] mCrashArray;
+ for (int i = 0; i < mPermutaionsList.size(); i++)
+ {
+ mCrashArray = (int[]) mPermutaionsList.get(i);
+ testresources = mCrashArray.length;
+
+ //run test in subprocess
+ ErrorTestProcess etp = new ErrorTestProcess("java org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client.ErrorClient02", mCrashArray.length, mCrashPoint, mCrashArray);
+ for (; ;)
+ {
+ if (etp.mFinished)
+ {
+ break;
+ }
+
+ Thread.sleep(10);
+ }
+
+ //save the values for display later
+ String[] content = new String[mNumberOfResources + 1];
+ String s = "";
+ for (int x = 0; x < mNumberOfResources + 1; x++)
+ {
+ int value = -1;
+ s = " ";
+ if (x < mCrashArray.length)
+ {
+ value = mCrashArray[x];
+ s = TwoPhaseOutcome.stringForm(value);
+ }
+ content[x] = pad(s);
+
+ if (x == mNumberOfResources)
+ {
+ s = etp.getActionStatus();
+ if (s == null)
+ {
+ System.err.println("we have a problem");
+ content[x] = pad(" ");
+ }
+ else
+ {
+ content[x] = pad(s);
+ }
+ }
+ }
+ displayarray.add(content);
+ }
+ }
+ catch (Exception e)
+ {
+ Fail("Error in ErrorClient04.test() :", e);
+ }
+
+ // now display saved data
+ displayArray();
+ }
+
+ private void createArrayList()
+ {
+ int numberoftests = 0;
+ int displaycounter = 0;
+ mPermutaionsList = new ArrayList();
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ createIgnoreList(j + 1);
+ numberoftests = mMaxInt - mIgnorList.length;
+ for (int perms = 0; perms < j; perms++)
+ {
+ numberoftests = numberoftests * (mMaxInt - mIgnorList.length);
+ }
+ //setupCounterArray(j + 1);
+ for (int i = 0; i < numberoftests; i++)
+ {
+ int[] last = null;
+ if (i != 0 || j != 0)
+ {
+ last = (int[]) mPermutaionsList.get(displaycounter - 1);
+ }
+
+ mPermutaionsList.add(createArrays(j + 1, last));
+ //turn this off now its working
+ //display(displaycounter);
+ displaycounter++;
+ }
+ }
+ }
+
+ private int[] createArrays(int size, int[] last)
+ {
+ int[] crash = new int[size];
+ boolean increase = true;
+ int value = -1;
+ int testvalue = 0;
+
+ if (last == null)
+ {
+ value = nextValidValue(value);
+ crash[0] = value;
+ return crash;
+ }
+ else
+ {
+ //if this happend new array size
+ if (last.length != crash.length)
+ {
+ for (int i = 0; i < crash.length; i++)
+ {
+ value = nextValidValue(-1);
+ crash[i] = value;
+ }
+ return crash;
+ }
+ for (int i = crash.length - 1; i > -1; i--)
+ {
+ value = last[i];
+
+ if (increase)
+ {
+ value = nextValidValue(value);
+ }
+
+ testvalue = value;
+
+ if (value > mMaxValue)
+ {
+ value = nextValidValue(-1);
+ }
+
+ if (value != mMaxValue + 1)
+ {
+ increase = false;
+ }
+
+ if (testvalue == mMaxValue + 1)
+ {
+ increase = true;
+ }
+
+ crash[i] = value;
+ }
+ }
+ return crash;
+ }
+
+ private int nextValidValue(int value)
+ {
+ value++;
+ for (int i = 0; i < mIgnorList.length; i++)
+ {
+ if (value == mIgnorList[i])
+ {
+ value++;
+ nextValidValue(value);
+ }
+ }
+ return value;
+ }
+
+ private void createIgnoreList(int resources)
+ {
+ //make sure mIgnoreList is not null
+ mIgnorList = new int[0];
+ if (mCrashPoint == 1)
+ {
+ if (resources == 1)
+ {
+ mIgnorList = new int[3];
+ mIgnorList[0] = TwoPhaseOutcome.PREPARE_OK;
+ mIgnorList[1] = TwoPhaseOutcome.PREPARE_NOTOK;
+ mIgnorList[2] = TwoPhaseOutcome.PREPARE_READONLY;
+ }
+ else
+ {
+ mIgnorList = new int[4];
+ mIgnorList[0] = TwoPhaseOutcome.PREPARE_OK;
+ mIgnorList[1] = TwoPhaseOutcome.PREPARE_NOTOK;
+ mIgnorList[2] = TwoPhaseOutcome.PREPARE_READONLY;
+ mIgnorList[3] = TwoPhaseOutcome.ONE_PHASE_ERROR;
+ }
+ }
+ }
+
+ private String pad(String s)
+ {
+ int size = 40;
+ String out = s;
+ for (int i = s.length(); i < size; i++)
+ {
+ out += " ";
+ }
+ return out;
+ }
+
+ private void displayArray()
+ {
+ for (int i = 0; i < displayarray.size(); i++)
+ {
+ String[] displaydata = null;
+ String displayValue = "";
+ displaydata = (String[]) displayarray.get(i);
+
+ for (int j = 0; j < displaydata.length; j++)
+ {
+ displayValue += displaydata[j];
+ }
+
+ System.out.println(displayValue);
+ }
+ }
+
+ /**
+ * Helper method for debugging createarray function.
+ */
+ private void display(int i)
+ {
+ int[] values = (int[]) mPermutaionsList.get(i);
+ String s = "";
+ for (int j = 0; j < values.length; j++)
+ {
+ s += values[j] + ", ";
+ }
+ Debug(s);
+ }
+
+ private int mMaxInt = 12;
+ private int mMaxValue = 11;
+ private ArrayList mPermutaionsList;
+ private ArrayList displayarray;
+ private int[] mIgnorList = null;
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/client/ErrorTestProcess.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/client/ErrorTestProcess.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/client/ErrorTestProcess.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,159 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client;
+
+import com.arjuna.ats.arjuna.coordinator.ActionStatus;
+
+import java.io.BufferedReader;
+import java.io.IOException;
+import java.io.InputStreamReader;
+import java.io.InterruptedIOException;
+
+public class ErrorTestProcess
+{
+ public ErrorTestProcess(String command, int numberofresources, int crashpoint, int[] crashtype)
+ {
+ mComand = command + " " + numberofresources + " " + crashpoint;
+ for (int i = 0; i < crashtype.length; i++)
+ {
+ mComand += " ";
+ mComand += crashtype[i];
+ }
+ System.err.println("comand = " + mComand);
+
+ Thread mMainThread = new Thread("comand thread")
+ {
+ public void run()
+ {
+ try
+ {
+ mProcess = Runtime.getRuntime().exec(mComand);
+ }
+ catch (OutOfMemoryError ome)
+ {
+ System.out.println("Out of memeory end test = " + ome);
+ }
+ catch (IOException io)
+ {
+ System.out.println("runtime exception " + io);
+ }
+ getResults();
+ }
+ };
+ mMainThread.start();
+ }
+
+ /**
+ * We are only bothered about the output stream.
+ * or we would be if we did not have the clf error.
+ */
+ private void getResults()
+ {
+ Thread mOutReader = new Thread()
+ {
+ public void run()
+ {
+ try
+ {
+ BufferedReader br = new BufferedReader(new InputStreamReader(mProcess.getInputStream()));
+ String line = br.readLine();
+ while ((!isInterrupted() && line != null))
+ {
+ line = line.trim();
+ checkResult(line);
+ line = br.readLine();
+ }
+ }
+ catch (InterruptedIOException e)
+ {
+ }
+ catch (Exception e)
+ {
+ }
+ }
+ };
+
+ //we will process the error stream just in case
+ Thread mErrReader = new Thread()
+ {
+ public void run()
+ {
+ try
+ {
+ BufferedReader br = new BufferedReader(new InputStreamReader(mProcess.getErrorStream()));
+ String line = br.readLine();
+ while ((!isInterrupted() && line != null))
+ {
+ line = line.trim();
+ checkResult(line);
+ line = br.readLine();
+ }
+ }
+ catch (InterruptedIOException e)
+ {
+ }
+ catch (Exception e)
+ {
+ }
+ }
+ };
+
+ mOutReader.start();
+ mErrReader.start();
+
+ //wait for process to end.
+ try
+ {
+ mProcess.waitFor();
+ }
+ catch (Exception e)
+ {
+ System.out.println("process exception");
+ }
+ mFinished = true;
+ }
+
+ private void checkResult(String s)
+ {
+ int result = 0;
+ try
+ {
+ result = Integer.parseInt(s);
+ }
+ catch (NumberFormatException nfe)
+ {
+ System.err.println(s);
+ return;
+ }
+ mStatus = ActionStatus.stringForm(result);
+ }
+
+ public String getActionStatus()
+ {
+ return mStatus;
+ }
+
+ private String mStatus;
+ private Process mProcess;
+ private String mComand;
+
+ public boolean mFinished = false;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/client/MemoryClient001.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/client/MemoryClient001.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/client/MemoryClient001.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,92 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client;
+
+import org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.impl.BasicAbstractRecord;
+import org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.impl.Service01;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.BaseTestClient;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.qautil;
+
+public class MemoryClient001 extends BaseTestClient
+{
+ public static void main(String[] args)
+ {
+ MemoryClient001 test = new MemoryClient001(args);
+ }
+
+ private MemoryClient001(String[] args)
+ {
+ super(args);
+ }
+
+ public void Test()
+ {
+ try
+ {
+ setNumberOfCalls(3);
+ setNumberOfResources(2);
+ getClientThreshold(1);
+
+ BasicAbstractRecord[] mAbstractRecordList = new BasicAbstractRecord[mNumberOfResources];
+ //set up abstract records
+ for (int i = 0; i < mNumberOfResources; i++)
+ {
+ mAbstractRecordList[i] = new BasicAbstractRecord();
+ }
+
+ //create container
+ Service01 mService = new Service01(mNumberOfResources);
+
+ startTx();
+ mService.setupOper();
+ mService.doWork(mMaxIteration);
+ //comit transaction
+ commit();
+
+ //lets go to sleep to see if this helps the vm clean itself up
+ qautil.sleep();
+
+ //get first memory reading.
+ getFirstReading();
+
+ mService = new Service01(mNumberOfResources);
+
+ //start new AtomicAction
+ startTx();
+ mService.setupOper();
+ mService.doWork(mMaxIteration);
+ //abort transaction
+ abort();
+
+ //lets go to sleep to see if this helps the vm clean itself up
+ qautil.sleep();
+
+ getSecondReading();
+
+ qaMemoryAssert();
+ }
+ catch (Exception e)
+ {
+ Fail("Error in MemoryClient001.test() :", e);
+ }
+ }
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/client/MemoryClient002.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/client/MemoryClient002.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/client/MemoryClient002.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,78 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client;
+
+import org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.impl.Service01;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.BaseTestClient;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.qautil;
+
+public class MemoryClient002 extends BaseTestClient
+{
+ public static void main(String[] args)
+ {
+ MemoryClient002 test = new MemoryClient002(args);
+ }
+
+ private MemoryClient002(String[] args)
+ {
+ super(args);
+ }
+
+ public void Test()
+ {
+ try
+ {
+ setNumberOfCalls(3);
+ setNumberOfResources(2);
+ getClientThreshold(1);
+
+ Service01 mService = new Service01(mNumberOfResources);
+ startTx();
+ mService.setupOper(true);
+ mService.doWork(mMaxIteration);
+ commit();
+
+ //lets go to sleep to see if this helps the vm clean itself up
+ qautil.sleep();
+
+ //get first memory reading.
+ getFirstReading();
+
+ mService = new Service01(mNumberOfResources);
+ startTx();
+ mService.setupOper(true);
+ mService.doWork(mMaxIteration);
+ abort();
+
+ //lets go to sleep to see if this helps the vm clean itself up
+ qautil.sleep();
+
+ getSecondReading();
+
+ qaMemoryAssert();
+ }
+ catch (Exception e)
+ {
+ Fail("Error in MemoryClient002.test() :", e);
+ }
+ }
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/client/Worker001.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/client/Worker001.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/client/Worker001.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,83 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client;
+
+import com.arjuna.ats.arjuna.AtomicAction;
+import org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.impl.Service01;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.qautil;
+
+public class Worker001 extends Thread
+{
+ public Worker001(int iterations, int resources)
+ {
+ this(iterations, resources, 1);
+ }
+
+ public Worker001(int iterations, int resources, int id)
+ {
+ mMaxIteration = iterations;
+ mNumberOfResources = resources;
+
+ mService = new Service01(mNumberOfResources);
+ mId = id;
+ }
+
+ /**
+ * The main method of the class that will perform the work.
+ */
+ public void run()
+ {
+ try
+ {
+ AtomicAction a = new AtomicAction();
+ //start transaction
+ a.begin();
+ mService.setupOper();
+ mService.doWork(mMaxIteration);
+ //comit transaction
+ a.commit();
+
+ mService = new Service01(mNumberOfResources);
+ //start new AtomicAction
+ AtomicAction b = new AtomicAction();
+ b.begin();
+ mService.setupOper();
+ mService.doWork(mMaxIteration);
+ b.abort();
+ }
+ catch (Exception e)
+ {
+ mCorrect = false;
+ qautil.debug("exception in worker001: ", e);
+ }
+ }
+
+ public boolean isCorrect()
+ {
+ return mCorrect;
+ }
+
+ private Service01 mService;
+ private int mMaxIteration;
+ private int mNumberOfResources;
+ private boolean mCorrect = true;
+ private int mId = 0;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/client/Worker002.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/client/Worker002.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/client/Worker002.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,82 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client;
+
+import com.arjuna.ats.arjuna.AtomicAction;
+import org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.impl.Service01;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.qautil;
+
+public class Worker002 extends Thread
+{
+ public Worker002(int iterations, int resources)
+ {
+ this(iterations, resources, 1);
+ }
+
+ public Worker002(int iterations, int resources, int id)
+ {
+ mMaxIteration = iterations;
+ mNumberOfResources = resources;
+
+ mService = new Service01(mNumberOfResources);
+ mId = id;
+ }
+
+ /**
+ * The main method of the class that will perform the work.
+ */
+ public void run()
+ {
+ try
+ {
+ AtomicAction a = new AtomicAction();
+ //start transaction
+ a.begin();
+ mService.setupOper(true);
+ mService.doWork(mMaxIteration);
+ a.commit();
+
+ mService = new Service01(mNumberOfResources);
+ //start new AtomicAction
+ AtomicAction b = new AtomicAction();
+ b.begin();
+ mService.setupOper(true);
+ mService.doWork(mMaxIteration);
+ b.abort();
+ }
+ catch (Exception e)
+ {
+ mCorrect = false;
+ qautil.debug("exception in worker002: ", e);
+ }
+ }
+
+ public boolean isCorrect()
+ {
+ return mCorrect;
+ }
+
+ private Service01 mService;
+ private int mMaxIteration;
+ private int mNumberOfResources;
+ private boolean mCorrect = true;
+ private int mId = 0;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/client/WorkerClient001.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/client/WorkerClient001.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/client/WorkerClient001.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,90 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client;
+
+import org.jboss.jbossts.qa.ArjunaCore.Utils.BaseTestClient;
+
+public class WorkerClient001 extends BaseTestClient
+{
+ public static void main(String[] args)
+ {
+ WorkerClient001 test = new WorkerClient001(args);
+ }
+
+ private WorkerClient001(String[] args)
+ {
+ super(args);
+ }
+
+ public void Test()
+ {
+ try
+ {
+ setNumberOfCalls(3);
+ setNumberOfResources(2);
+ setNumberOfWorkers(1);
+
+ Worker001[] mWorkers = new Worker001[mNumberOfWorkers];
+ for (int i = 0; i < mNumberOfWorkers; i++)
+ {
+ mWorkers[i] = new Worker001(mMaxIteration, mNumberOfResources, i);
+ mWorkers[i].start();
+ }
+
+ try
+ {
+ //wait for threads to complete
+ for (int i = 0; i < mNumberOfWorkers; i++)
+ {
+ mWorkers[i].join();
+ //check for any exceptions
+ if (!mWorkers[i].isCorrect())
+ {
+ Debug("worker " + i + " has encountered an exception");
+ mCorrect = false;
+ }
+ }
+ }
+ catch (Exception e)
+ {
+ mCorrect = false;
+ Debug("exception in worker thread ", e);
+ }
+
+ for (int i = 0; i < mNumberOfWorkers; i++)
+ {
+ if (!mWorkers[i].isCorrect())
+ {
+ mCorrect = false;
+ Debug("worker " + i + " has encountered a problem");
+ break;
+ }
+ }
+
+ qaAssert(mCorrect);
+ }
+ catch (Exception e)
+ {
+ Fail("Error in WorkerClient001.test() :", e);
+ }
+ }
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/client/WorkerClient002.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/client/WorkerClient002.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/client/WorkerClient002.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,90 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.client;
+
+import org.jboss.jbossts.qa.ArjunaCore.Utils.BaseTestClient;
+
+public class WorkerClient002 extends BaseTestClient
+{
+ public static void main(String[] args)
+ {
+ WorkerClient002 test = new WorkerClient002(args);
+ }
+
+ private WorkerClient002(String[] args)
+ {
+ super(args);
+ }
+
+ public void Test()
+ {
+ try
+ {
+ setNumberOfCalls(3);
+ setNumberOfResources(2);
+ setNumberOfWorkers(1);
+
+ Worker002[] mWorkers = new Worker002[mNumberOfWorkers];
+ for (int i = 0; i < mNumberOfWorkers; i++)
+ {
+ mWorkers[i] = new Worker002(mMaxIteration, mNumberOfResources, i);
+ mWorkers[i].start();
+ }
+
+ try
+ {
+ //wait for threads to complete
+ for (int i = 0; i < mNumberOfWorkers; i++)
+ {
+ mWorkers[i].join();
+ //check for any exceptions
+ if (!mWorkers[i].isCorrect())
+ {
+ Debug("worker " + i + " has encountered an exception");
+ mCorrect = false;
+ }
+ }
+ }
+ catch (Exception e)
+ {
+ mCorrect = false;
+ Debug("exception in worker thread ", e);
+ }
+
+ for (int i = 0; i < mNumberOfWorkers; i++)
+ {
+ if (!mWorkers[i].isCorrect())
+ {
+ mCorrect = false;
+ Debug("worker " + i + " has encountered a problem");
+ break;
+ }
+ }
+
+ qaAssert(mCorrect);
+ }
+ catch (Exception e)
+ {
+ Fail("Error in WorkerClient002.test() :", e);
+ }
+ }
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/impl/BasicAbstractRecord.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/impl/BasicAbstractRecord.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/impl/BasicAbstractRecord.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,260 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.impl;
+
+import com.arjuna.ats.arjuna.common.Uid;
+import com.arjuna.ats.arjuna.coordinator.AbstractRecord;
+import com.arjuna.ats.arjuna.coordinator.RecordType;
+import com.arjuna.ats.arjuna.coordinator.TwoPhaseOutcome;
+import com.arjuna.ats.arjuna.state.InputObjectState;
+import com.arjuna.ats.arjuna.state.OutputObjectState;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.qautil;
+
+/**
+ * Simple record used to test AtomicAction
+ */
+public class BasicAbstractRecord extends AbstractRecord
+{
+ public BasicAbstractRecord()
+ {
+ super(new Uid());
+ }
+
+ /**
+ * This constructor will be used to recreate the object from an old uid.
+ */
+ public BasicAbstractRecord(Uid oldId)
+ {
+ super(oldId);
+ }
+
+ public int typeIs()
+ {
+ return RecordType.USER_DEF_FIRST0;
+ }
+
+ public Object value()
+ {
+ return null;
+ }
+
+ public void setValue(Object object)
+ {
+ }
+
+ public int nestedAbort()
+ {
+ qautil.qadebug("nested abort has been called : " + order());
+ mNestedAbortCounter++;
+ return TwoPhaseOutcome.FINISH_OK;
+ }
+
+ public int nestedOnePhaseCommit()
+ {
+ qautil.qadebug("nested one phase comit has been called : " + order());
+ mNestedCommitCounter++;
+ return TwoPhaseOutcome.FINISH_OK;
+ }
+
+ public int nestedCommit()
+ {
+ qautil.qadebug("nested comit has been called : " + order());
+ mNestedCommitCounter++;
+ return TwoPhaseOutcome.FINISH_OK;
+ }
+
+ public int nestedPrepare()
+ {
+ mNestedPrepareCounter++;
+ return TwoPhaseOutcome.PREPARE_OK;
+ }
+
+ public int topLevelAbort()
+ {
+ qautil.qadebug("top level abort has been called : " + order());
+ mTopLevelAbortCounter++;
+ return TwoPhaseOutcome.FINISH_OK;
+ }
+
+ public int topLevelOnePhaseCommit()
+ {
+ qautil.qadebug("top level one phase commit has been called : " + order());
+ mTopLevelCommitCounter++;
+ return TwoPhaseOutcome.FINISH_OK;
+ }
+
+ public int topLevelCommit()
+ {
+ qautil.qadebug("top level commit has been called : " + order());
+ mTopLevelCommitCounter++;
+ return TwoPhaseOutcome.FINISH_OK;
+ }
+
+ public int topLevelPrepare()
+ {
+ qautil.qadebug("prep has been called : " + order());
+ mTopLevelPrepareCounter++;
+ return TwoPhaseOutcome.PREPARE_OK;
+ }
+
+ public void alter(AbstractRecord abstractRecord)
+ {
+ }
+
+ public void merge(AbstractRecord abstractRecord)
+ {
+ }
+
+ public boolean shouldAdd(AbstractRecord abstractRecord)
+ {
+ return false;
+ }
+
+ public boolean shouldAlter(AbstractRecord abstractRecord)
+ {
+ return false;
+ }
+
+ public boolean shouldMerge(AbstractRecord abstractRecord)
+ {
+ return false;
+ }
+
+ public boolean shouldReplace(AbstractRecord abstractRecord)
+ {
+ return false;
+ }
+
+ /**
+ * My methods to test abstract record is being processed correctly by the transaction
+ * manager.
+ */
+ public void increase()
+ {
+ mValue++;
+ }
+
+ public int getValue()
+ {
+ return mValue;
+ }
+
+ /**
+ * Override method to indicate we want this object to be saved.
+ */
+ public boolean doSave()
+ {
+ return true;
+ }
+
+ public boolean save_state(OutputObjectState objectState, int objectType)
+ {
+ qautil.qadebug("save state called when value = " + mValue);
+ mStaveStateCounter++;
+ super.save_state(objectState, objectType);
+ try
+ {
+ objectState.packInt(mValue);
+ return true;
+ }
+ catch (Exception exception)
+ {
+ qautil.debug("BasicAbstractRecord.save_state: ", exception);
+ return false;
+ }
+ }
+
+ /**
+ * As this is an abstract record restore state does not function as a ait object
+ * but will be used by the crash recovery engine.
+ */
+ public boolean restore_state(InputObjectState objectState, int objectType)
+ {
+ qautil.qadebug("restore state called");
+ super.restore_state(objectState, objectType);
+ try
+ {
+ mValue = objectState.unpackInt();
+ qautil.qadebug("value restored to " + mValue);
+ return true;
+ }
+ catch (Exception exception)
+ {
+ qautil.debug("BasicAbstractRecord.restore_state: ", exception);
+ return false;
+ }
+ }
+
+ public String type()
+ {
+ return "/StateManager/BasicAbstractRecord";
+ }
+
+ public static String thisType()
+ {
+ return "/StateManager/BasicAbstractRecord";
+ }
+
+ public int getStateCounter()
+ {
+ return mStaveStateCounter;
+ }
+
+ public int getTLC()
+ {
+ return mTopLevelCommitCounter;
+ }
+
+ public int getTLP()
+ {
+ return mTopLevelPrepareCounter;
+ }
+
+ public int getTLA()
+ {
+ return mTopLevelAbortCounter;
+ }
+
+ public int getNP()
+ {
+ return mNestedPrepareCounter;
+ }
+
+ public int getNC()
+ {
+ return mNestedCommitCounter;
+ }
+
+ public int getNA()
+ {
+ return mNestedAbortCounter;
+ }
+
+ private int mStaveStateCounter = 0;
+ private int mTopLevelCommitCounter = 0;
+ private int mTopLevelAbortCounter = 0;
+ private int mTopLevelPrepareCounter = 0;
+ private int mNestedPrepareCounter = 0;
+ private int mNestedCommitCounter = 0;
+ private int mNestedAbortCounter = 0;
+ private int mValue = 0;
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/impl/ErrorAbstractRecord.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/impl/ErrorAbstractRecord.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/impl/ErrorAbstractRecord.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,269 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+/*
+ * Created by IntelliJ IDEA.
+ * User: peter craddock
+ * Date: 12-Mar-02
+ * Time: 14:36:10
+ */
+package org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.impl;
+
+import com.arjuna.ats.arjuna.common.Uid;
+import com.arjuna.ats.arjuna.coordinator.AbstractRecord;
+import com.arjuna.ats.arjuna.coordinator.RecordType;
+import com.arjuna.ats.arjuna.coordinator.TwoPhaseOutcome;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.qautil;
+
+public class ErrorAbstractRecord extends AbstractRecord
+{
+ /**
+ * default constructor will call main constructor setting crash point and type
+ * so that no crash will occur.
+ */
+ public ErrorAbstractRecord()
+ {
+ this(0, 0);
+ }
+
+ public ErrorAbstractRecord(int crashpoint, int crashtype)
+ {
+ super(new Uid());
+ mCrashPoint = crashpoint;
+ mCrashType = crashtype;
+ }
+
+ /**
+ * Typeis is over-riden to force TransactionManager to process this record first.
+ */
+ public int typeIs()
+ {
+ return RecordType.USER_DEF_FIRST0;
+ }
+
+ public Object value()
+ {
+ return null;
+ }
+
+ public void setValue(Object object)
+ {
+ }
+
+ public int topLevelOnePhaseCommit()
+ {
+ qautil.qadebug("top level one phase commit has been called : " + order());
+ if (mCrashPoint == 1)
+ {
+ qautil.qadebug("Changing return value on top level commit");
+ return outcome();
+ }
+ return TwoPhaseOutcome.FINISH_OK;
+ }
+
+ public int topLevelCommit()
+ {
+ qautil.qadebug("top level commit has been called : " + order());
+ if (mCrashPoint == 1)
+ {
+ qautil.qadebug("Changing return value on top level commit");
+ return outcome();
+ }
+ return TwoPhaseOutcome.FINISH_OK;
+ }
+
+ public int topLevelAbort()
+ {
+ qautil.qadebug("top level abort has been called : " + order());
+ if (mCrashPoint == 2)
+ {
+ qautil.qadebug("Changing return value on top level abort");
+ return outcome();
+ }
+ return TwoPhaseOutcome.FINISH_OK;
+ }
+
+ public int topLevelPrepare()
+ {
+ qautil.qadebug("prep has been called : " + order());
+ if (mCrashPoint == 3)
+ {
+ qautil.qadebug("Changing return value on top level prepare");
+ return outcome();
+ }
+ return TwoPhaseOutcome.PREPARE_OK;
+ }
+
+ public int nestedOnePhaseCommit()
+ {
+
+ qautil.qadebug("nested one phase comit has been called : " + order());
+ if (mCrashPoint == 4)
+ {
+ qautil.qadebug("Changing return value on nested one phase commit");
+ return outcome();
+ }
+ return TwoPhaseOutcome.FINISH_OK;
+ }
+
+ public int nestedCommit()
+ {
+
+ qautil.qadebug("nested comit has been called : " + order());
+ if (mCrashPoint == 4)
+ {
+ qautil.qadebug("Changing return value on nested commit");
+ return outcome();
+ }
+ return TwoPhaseOutcome.FINISH_OK;
+ }
+
+ public int nestedAbort()
+ {
+ qautil.qadebug("nested abort has been called : " + order());
+ if (mCrashPoint == 5)
+ {
+ qautil.qadebug("Changing return value on nested abort");
+ return outcome();
+ }
+ return TwoPhaseOutcome.FINISH_OK;
+ }
+
+ public int nestedPrepare()
+ {
+ if (mCrashPoint == 6)
+ {
+ qautil.qadebug("Changing return value on nested prepare");
+ return outcome();
+ }
+ return TwoPhaseOutcome.PREPARE_OK;
+ }
+
+ public void alter(AbstractRecord abstractRecord)
+ {
+ }
+
+ public void merge(AbstractRecord abstractRecord)
+ {
+ }
+
+ public boolean shouldAdd(AbstractRecord abstractRecord)
+ {
+ return false;
+ }
+
+ public boolean shouldAlter(AbstractRecord abstractRecord)
+ {
+ return false;
+ }
+
+ public boolean shouldMerge(AbstractRecord abstractRecord)
+ {
+ return false;
+ }
+
+ public boolean shouldReplace(AbstractRecord abstractRecord)
+ {
+ return false;
+ }
+
+ private int outcome()
+ {
+ int value = TwoPhaseOutcome.FINISH_OK;
+ ;//default
+
+ if (mCrashType == 0)
+ {
+ value = TwoPhaseOutcome.PREPARE_OK;
+ }
+ else if (mCrashType == 1)
+ {
+ value = TwoPhaseOutcome.PREPARE_NOTOK;
+ }
+ else if (mCrashType == 2)
+ {
+ value = TwoPhaseOutcome.PREPARE_READONLY;
+ }
+ else if (mCrashType == 3)
+ {
+ value = TwoPhaseOutcome.HEURISTIC_ROLLBACK;
+ }
+ else if (mCrashType == 4)
+ {
+ value = TwoPhaseOutcome.HEURISTIC_COMMIT;
+ }
+ else if (mCrashType == 5)
+ {
+ value = TwoPhaseOutcome.HEURISTIC_MIXED;
+ }
+ else if (mCrashType == 6)
+ {
+ value = TwoPhaseOutcome.HEURISTIC_HAZARD;
+ }
+ else if (mCrashType == 7)
+ {
+ value = TwoPhaseOutcome.FINISH_OK;
+ }
+ else if (mCrashType == 8)
+ {
+ value = TwoPhaseOutcome.FINISH_ERROR;
+ }
+ else if (mCrashType == 9)
+ {
+ value = TwoPhaseOutcome.NOT_PREPARED;
+ }
+ else if (mCrashType == 10)
+ {
+ value = TwoPhaseOutcome.ONE_PHASE_ERROR;
+ }
+ else if (mCrashType == 11)
+ {
+ value = TwoPhaseOutcome.INVALID_TRANSACTION;
+ }
+// else if (mCrashType == 12)
+// return TwoPhaseOutcome.IGNORE_PHASE;
+ qautil.qadebug("return value = " + value + " " + TwoPhaseOutcome.stringForm(value));
+ return value;
+ }
+
+ public int getCrashPoint()
+ {
+ return mCrashPoint;
+ }
+
+ public void setCrashPoint(int mCrashPoint)
+ {
+ this.mCrashPoint = mCrashPoint;
+ }
+
+ private int mCrashPoint = 0;
+
+ public int getCrashType()
+ {
+ return mCrashType;
+ }
+
+ public void setCrashType(int mCrashType)
+ {
+ this.mCrashType = mCrashType;
+ }
+
+ private int mCrashType = 7; //default is 7 these are the return values of TwoPhaseOutcome
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/impl/ErrorService01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/impl/ErrorService01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/impl/ErrorService01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,98 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+/*
+ * Created by IntelliJ IDEA.
+ * User: peter craddock
+ * Date: 12-Mar-02
+ * Time: 15:05:18
+ */
+package org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.impl;
+
+import com.arjuna.ats.arjuna.AtomicAction;
+import com.arjuna.ats.arjuna.coordinator.AddOutcome;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.qautil;
+
+public class ErrorService01
+{
+ public ErrorService01(int i)
+ {
+ mNumberOfResources = i;
+ }
+
+ public void setupOper()
+ throws Exception
+ {
+ mTransaction = (AtomicAction) AtomicAction.Current();
+ if (mTransaction == null)
+ {
+ throw new Exception("Transaction must be running");
+ }
+
+ qautil.qadebug("createing abstract records and enlisting them");
+ mAbstractRecordList = new ErrorAbstractRecord[mNumberOfResources];
+ //set up abstract records
+ for (int i = 0; i < mNumberOfResources; i++)
+ {
+ mAbstractRecordList[i] = new ErrorAbstractRecord();
+ if (mTransaction.add(mAbstractRecordList[i]) != AddOutcome.AR_ADDED)
+ {
+ qautil.debug("Error when adding: " + i + " to atomic action");
+ mCorrect = false;
+ }
+ }
+ }
+
+ /**
+ * set all abstract records up the same.
+ */
+ public void setCrash(int point, int type)
+ {
+ for (int i = 0; i < mNumberOfResources; i++)
+ {
+ mAbstractRecordList[i].setCrashPoint(point);
+ mAbstractRecordList[i].setCrashType(type);
+ }
+ }
+
+ /**
+ * set all records up with a different
+ */
+ public void setCrash(int point, int[] type)
+ {
+ for (int i = 0; i < mNumberOfResources; i++)
+ {
+ mAbstractRecordList[i].setCrashPoint(point);
+ if (i > type.length)
+ {
+ mAbstractRecordList[i].setCrashType(7);//default 'finished_ok'
+ }
+ else
+ {
+ mAbstractRecordList[i].setCrashType(type[i]);
+ }
+ }
+ }
+
+ private int mNumberOfResources = 0;
+ private boolean mCorrect = true;
+ private ErrorAbstractRecord[] mAbstractRecordList;
+ private AtomicAction mTransaction = null;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/impl/Service01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/impl/Service01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/impl/Service01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,275 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+/*
+ * Created by IntelliJ IDEA.
+ * User: peter craddock
+ * Date: 11-Mar-02
+ * Time: 11:40:43
+ */
+package org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.impl;
+
+import com.arjuna.ats.arjuna.AtomicAction;
+import com.arjuna.ats.arjuna.coordinator.AddOutcome;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.qautil;
+
+/**
+ * This service class is the container that we will use to emulate
+ * how abstract records are to be used by the transaction servcie.
+ */
+public class Service01
+{
+ /**
+ * Constructor that will set up the number of abstract records that are going to ber used
+ * in each transaction.
+ */
+ public Service01(int i)
+ {
+ mNumberOfResources = i;
+ }
+
+ /**
+ * simple method used to create the abstract records and enlist them into the current running
+ * transaction. if no transaction is running the method will start a new one.
+ */
+ public void setupOper()
+ {
+ setupOper(false);
+ }
+
+ /**
+ * passing in true to this operation will force the records to be enlisted into a new transaction
+ * nesting the new transaction within any other running transaction.
+ */
+ public void setupOper(boolean nest)
+ {
+ //create abstract records
+ mTransaction = (AtomicAction) AtomicAction.Current();
+ if (nest || mTransaction == null)
+ {
+ mTransaction = new AtomicAction();
+ mTransaction.begin();
+ }
+
+ qautil.qadebug("createing abstract records and enlisting them");
+ mAbstractRecordList = new BasicAbstractRecord[mNumberOfResources];
+ //set up abstract records
+ for (int i = 0; i < mNumberOfResources; i++)
+ {
+ mAbstractRecordList[i] = new BasicAbstractRecord();
+ if (mTransaction.add(mAbstractRecordList[i]) != AddOutcome.AR_ADDED)
+ {
+ qautil.debug("Error when adding: " + i + " to atomic action");
+ mCorrect = false;
+ }
+ }
+ mNest = nest;
+ }
+
+ /**
+ * main body of work will be performed here and any sub transactions that are currently
+ * running will be commited on completion.
+ */
+ public void doWork(int workcount)
+ {
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < workcount; i++)
+ {
+ mAbstractRecordList[j].increase();
+ }
+ }
+ if (mTransaction != null && mNest)
+ {
+ mTransaction.commit();
+ }
+ mMaxIteration = workcount;
+ }
+
+ /**
+ * convenience method for checking counters after test has run
+ */
+ public boolean checkAbortOper()
+ {
+ qautil.qadebug("running check abort");
+ for (int i = 0; i < mNumberOfResources; i++)
+ {
+ //first test to see if increases have been run
+ if (mAbstractRecordList[i].getValue() != mMaxIteration)
+ {
+ qautil.debug("whilst checking the " + i + " resource the getvalue was: " + mAbstractRecordList[i].getValue() + " and we expected: " + mMaxIteration);
+ return false;
+ }
+ if (mNest)
+ {
+ qautil.qadebug("nested check");
+ if (mAbstractRecordList[i].getTLA() != 1)
+ {
+ qautil.debug("value check wrong on resource " + i);
+ return false;
+ }
+ if (mAbstractRecordList[i].getNC() != 1)
+ {
+ qautil.debug("nested commit value is wrong in resource " + i);
+ return false;
+ }
+ }
+ else
+ {
+ qautil.qadebug("normal check");
+ if (mAbstractRecordList[i].getTLA() != 1 && mAbstractRecordList[i].getTLC() != 1)
+ {
+ qautil.debug("value check wrong on resource " + i);
+ return false;
+ }
+ if (mAbstractRecordList[i].getNC() != 0)
+ {
+ qautil.debug("nested commit value is wrong in resource " + i);
+ return false;
+ }
+ }
+ }
+ return mCorrect;
+ }
+
+ /**
+ * convenience method for checking counters after test has run
+ */
+ public boolean checkCommitOper()
+ {
+ qautil.qadebug("running check commit");
+ for (int i = 0; i < mNumberOfResources; i++)
+ {
+ //first test to see if increases have been run
+ if (mAbstractRecordList[i].getValue() != mMaxIteration)
+ {
+ qautil.debug("whilst checking the " + i + " resource the getvalue was: " + mAbstractRecordList[i].getValue() + " and we expected: " + mMaxIteration);
+ return false;
+ }
+ if (mNumberOfResources > 1 && mAbstractRecordList[i].getStateCounter() != 1)
+ {
+ qautil.debug("save state has not been called on resource " + i);
+ return false;
+ }
+ if (mNest)
+ {
+ qautil.qadebug("nested check");
+ if (mAbstractRecordList[i].getTLA() != 1 && mAbstractRecordList[i].getTLC() != 1)
+ {
+ qautil.debug("value check wrong on resource " + i);
+ return false;
+ }
+ if (mAbstractRecordList[i].getNC() != 1)
+ {
+ qautil.debug("nested commit value is wrong in resource " + i + " " + mAbstractRecordList[i].getNC());
+ return false;
+ }
+ }
+ else
+ {
+ qautil.qadebug("normal check");
+ if (mAbstractRecordList[i].getTLA() != 1 && mAbstractRecordList[i].getTLC() != 1)
+ {
+ qautil.debug("value check wrong on resource " + i);
+ return false;
+ }
+ if (mAbstractRecordList[i].getNC() != 0)
+ {
+ qautil.debug("nested commit value is wrong in resource " + i);
+ return false;
+ }
+ }
+ }
+ return mCorrect;
+ }
+
+ public void storeUIDs(String uniquePrefix)
+ {
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ String key = uniquePrefix + "resource_" + j;
+ try
+ {
+ qautil.storeUid(key, mAbstractRecordList[j].get_uid());
+ }
+ catch (Exception e)
+ {
+ qautil.debug("Error when creating ior store", e);
+ mCorrect = false;
+ }
+ }
+ }
+
+ public void restoreUIDs(String uniquePrefix)
+ {
+ mAbstractRecordList = new BasicAbstractRecord[mNumberOfResources];
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ String key = uniquePrefix + "resource_" + j;
+ try
+ {
+ mAbstractRecordList[j] = new BasicAbstractRecord(qautil.loadUid(key));
+ }
+ catch (Exception e)
+ {
+ qautil.debug("Error when reading ior store", e);
+ mCorrect = false;
+ }
+ }
+ }
+
+ public void clearUIDs(String uniquePrefix)
+ {
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ String key = uniquePrefix + "resource_" + j;
+ try
+ {
+ qautil.clearUid(key);
+ }
+ catch (Exception e)
+ {
+ qautil.debug("Error when reading ior store", e);
+ mCorrect = false;
+ }
+ }
+ }
+
+ public boolean checkRestore()
+ {
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ //we dont expect the value to be saved with abstract records
+ if (mAbstractRecordList[j].getValue() != 0)
+ {
+ qautil.debug("the value has not been retored: " + mAbstractRecordList[j].getValue());
+ return false;
+ }
+ }
+ return mCorrect;
+ }
+
+ private int mNumberOfResources = 0;
+ private int mMaxIteration = 0;
+ private boolean mCorrect = true;
+ private boolean mNest = false;
+ private BasicAbstractRecord[] mAbstractRecordList;
+ private AtomicAction mTransaction = null;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/impl/Service02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/impl/Service02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/AbstractRecord/impl/Service02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,76 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+/*
+ * Created by IntelliJ IDEA.
+ * User: peter craddock
+ * Date: 11-Mar-02
+ * Time: 17:43:09
+ */
+package org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.impl;
+
+import com.arjuna.ats.arjuna.AtomicAction;
+import com.arjuna.ats.arjuna.coordinator.AddOutcome;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.qautil;
+
+public class Service02
+{
+ public Service02(int i)
+ {
+ mNumberOfResources = i;
+ }
+
+ /**
+ * do the same unit of work every time
+ */
+ public void dowork(int workload)
+ {
+ for (int i = 0; i < workload; i++)
+ {
+ BasicAbstractRecord[] mAbstractRecordList = new BasicAbstractRecord[mNumberOfResources];
+ mTransaction = new AtomicAction();
+ mTransaction.begin();
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ mAbstractRecordList[j] = new BasicAbstractRecord();
+ if (mTransaction.add(mAbstractRecordList[j]) != AddOutcome.AR_ADDED)
+ {
+ qautil.qadebug("Error when adding: " + i + " to atomic action");
+ mCorrect = false;
+ }
+ mAbstractRecordList[j].increase();
+ }
+ if (i % 2 == 0)
+ {
+ mTransaction.commit();
+ }
+ else
+ {
+ mTransaction.abort();
+ }
+ }
+ }
+
+ private int mNumberOfResources = 0;
+ private int mMaxIteration = 0;
+ private boolean mCorrect = true;
+ private BasicAbstractRecord[] mAbstractRecordList;
+ private AtomicAction mTransaction = null;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Common/PropertyFileLoader.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Common/PropertyFileLoader.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Common/PropertyFileLoader.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,50 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.Common;
+
+import java.io.File;
+import java.net.URL;
+
+/**
+ * Utility for loading testharnes property file.
+ */
+public class PropertyFileLoader
+{
+ public static String getFileLocation()
+ {
+ //we hard code this from the class location
+ String key = "propertyfiles" + File.separator + "etc";
+ String key1 = "propertyfiles/etc";
+ URL test = sPropertyFileLoader.getClass().getResource(key);
+
+ if (test == null)
+ {
+ test = sPropertyFileLoader.getClass().getResource(key1);
+ }
+
+ String filelocation = test.toExternalForm();
+ // now remove the file: from the url
+ filelocation = filelocation.substring(5, filelocation.length());
+ return filelocation;
+ }
+
+ private static final PropertyFileLoader sPropertyFileLoader = new PropertyFileLoader();
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Common/PropertyManagerTest.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Common/PropertyManagerTest.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Common/PropertyManagerTest.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,204 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.Common;
+
+import com.arjuna.common.util.propertyservice.PropertyManager;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.ChangeClasspath;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.qautil;
+
+/**
+ * Simple test to see if Properties are being loaded correctly
+ */
+public class PropertyManagerTest
+{
+ /**
+ * Global varable for test result
+ */
+ private static boolean mCorrect = true;
+ private static int mNumberOfFiles = 0;
+ private static String mOriginalarg = "";
+
+ /**
+ * Simple test we only need to use the main method.
+ */
+ public static void main(String[] args)
+ {
+ //since property manager does not check absolute path we need to add
+ //location of propertyfiles to the classpath.
+ ChangeClasspath.addToEnd(PropertyFileLoader.getFileLocation()); //we had to use '/etc' at the end of the path
+
+ try
+ {
+ mOriginalarg = (String) args[0];
+ mNumberOfFiles = Integer.parseInt(mOriginalarg);
+ }
+ catch (NumberFormatException nfe)
+ {
+ qautil.debug("Error in argument 1: ", nfe);
+ mCorrect = false;
+ }
+ catch (Exception e)
+ {
+ qautil.debug("No args provided: ", e);
+ mCorrect = false;
+ }
+
+ if (args.length < 2 || args[1].equals("force"))
+ {
+ forceReload();
+ }
+ else if (args[1].equals("reload"))
+ {
+ reload();
+ }
+ else
+ {
+ removeProperty();
+ }
+ }
+
+ public static void forceReload()
+ {
+ qautil.qadebug("Running force reload test");
+ loadProperty(true);
+
+ //get the property from both methods.
+ String systemProperty = System.getProperty("TESTPROPERTY");
+ String propertyManagerProperty = pm.getProperty("TESTPROPERTY");
+
+ //check final values
+ if (!mOriginalarg.equals(systemProperty))
+ {
+ qautil.debug("Error checking system property: " + systemProperty);
+ mCorrect = false;
+ }
+
+ if (!mOriginalarg.equals(propertyManagerProperty))
+ {
+ qautil.debug("Error checking property manager property: " + propertyManagerProperty);
+ mCorrect = false;
+ }
+ finishTest(mCorrect);
+ }
+
+ public static void reload()
+ {
+ qautil.qadebug("Running reload test");
+ loadProperty(false);
+
+ //get the property from both methods.
+ String systemProperty = System.getProperty("TESTPROPERTY");
+ String propertyManagerProperty = pm.getProperty("TESTPROPERTY");
+
+ //check final values
+ if (!Integer.toString(1).equals(systemProperty))
+ {
+ qautil.debug("Error checking system property: " + systemProperty);
+ qautil.debug("this is a known miss interpretation of the docs that has already been raised: see issue 565");
+ mCorrect = false;
+ }
+
+ if (!Integer.toString(1).equals(propertyManagerProperty))
+ {
+ qautil.debug("Error checking property manager property: " + propertyManagerProperty);
+ mCorrect = false;
+ }
+ finishTest(mCorrect);
+ }
+
+ /**
+ * Test if remove property removes all instances of property.
+ */
+ public static void removeProperty()
+ {
+ qautil.qadebug("Running removeproperty test with flag set to true");
+ loadProperty(true);
+
+ //check we have the value or not
+ String systemProperty = System.getProperty("TESTPROPERTY");
+ qautil.qadebug("first check = " + systemProperty);
+ String propertyManagerProperty = pm.getProperty("TESTPROPERTY");
+ qautil.qadebug("first check = " + propertyManagerProperty);
+ //if we have loaded more than 1 property file will this remove them all ?
+
+ //remove property (for some reason this returns a string)
+ String test = pm.removeProperty("TESTPROPERTY");
+ qautil.qadebug("removeProperty method returned: " + test);
+
+ //get the property from both methods.
+ systemProperty = System.getProperty("TESTPROPERTY");
+ propertyManagerProperty = pm.getProperty("TESTPROPERTY");
+
+ //check final values
+ if (systemProperty != null)
+ {
+ qautil.debug("Error checking system property: " + systemProperty);
+ qautil.debug("see jitterbug issue 566");
+ mCorrect = false;
+ }
+
+ if (propertyManagerProperty != null)
+ {
+ qautil.debug("Error checking property manager property: " + propertyManagerProperty);
+ qautil.debug("see jitterbug issue 566");
+ mCorrect = false;
+ }
+ finishTest(mCorrect);
+ }
+
+ public static void loadProperty(boolean flag)
+ {
+ /**
+ * Load property files with true flag to force reload.
+ */
+ try
+ {
+ for (int i = 1; i < mNumberOfFiles + 1; i++)
+ {
+ String filename = "t" + i + ".props";
+ qautil.qadebug("adding: " + filename);
+ pm.load(com.arjuna.common.internal.util.propertyservice.plugins.io.XMLFilePlugin.class.getName(), filename);
+ }
+ }
+ catch (Exception e)
+ {
+ qautil.debug("exception in test: ", e);
+ mCorrect = false;
+ }
+ }
+
+ /**
+ * Simple method for printing result.
+ */
+ public static void finishTest(boolean result)
+ {
+ if (result)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+
+ private static PropertyManager pm = com.arjuna.common.util.propertyservice.PropertyManagerFactory.getPropertyManager("qa");
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Common/UidTest.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Common/UidTest.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Common/UidTest.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,161 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.Common;
+
+import org.jboss.jbossts.qa.ArjunaCore.Utils.qautil;
+
+import java.util.ArrayList;
+import java.util.Iterator;
+
+/**
+ * Simple test to see if Uid generation is unique.
+ */
+public class UidTest
+{
+ public static void main(String[] args)
+ {
+ if (args.length != 2)
+ {
+ qautil.qadebug("runnig defaults");
+ UidTest ut = new UidTest();
+ }
+ else
+ {
+ try
+ {
+ UidTest ut = new UidTest(Integer.parseInt(args[0]), Integer.parseInt(args[1]));
+ }
+ catch (NumberFormatException e)
+ {
+ qautil.debug("runnig defaults", e);
+ UidTest ut = new UidTest();
+ }
+ }
+ }
+
+ public UidTest()
+ {
+ this(10, 1000);
+ }
+
+ /**
+ * To check this method we are going to start sub processes create a bunch of
+ * Uid's then check that the final list is unique.
+ */
+ public UidTest(int threads, int uids)
+ {
+ qautil.qadebug("Running Uid test with param " + threads + ", " + uids);
+ mNumberOfThreads = threads;
+ mNumberOfUids = uids;
+
+ mUidSubProcess = new UidTestProcess[mNumberOfThreads];
+
+ //this will create the uidprocess objects and start
+ //the sub process uidtestworker.
+ qautil.qadebug("createing workers");
+ for (int i = 0; i < mNumberOfThreads; i++)
+ {
+ mUidSubProcess[i] = new UidTestProcess(mCommand, mNumberOfUids);
+ }
+
+ qautil.qadebug("wait until workers finished");
+ //wait until all subprocesses have finished
+ boolean allfinished = false;
+ while (!allfinished)
+ {
+ for (int i = 0; i < mNumberOfThreads; i++)
+ {
+ if (!mUidSubProcess[i].mFinished)
+ {
+ allfinished = false;
+ break;
+ }
+ else
+ {
+ qautil.qadebug(i + ": Finished = " + mUidSubProcess[i].mFinished);
+ allfinished = true;
+ }
+ }
+ //go to sleep let other processes run
+ try
+ {
+ Thread.currentThread().sleep(100);
+ }
+ catch (Exception e)
+ {
+ }
+ }
+
+ //gather all results
+ for (int i = 0; i < mNumberOfThreads; i++)
+ {
+ Iterator iter = mUidSubProcess[i].mResults.iterator();
+ while (iter.hasNext())
+ {
+ String s = (String) iter.next();
+ mUidList.add(s);
+ }
+ }
+
+ boolean correct = true;
+ ArrayList unique = new ArrayList();
+ //we now have a full list lets check for uniqueness.
+ int uniqueSize = mUidList.size();
+ qautil.qadebug("Number of Uids = " + uniqueSize);
+ for (int i = 0; i < uniqueSize; i++)
+ {
+ String s = (String) mUidList.get(i);
+ if (unique.contains(s))
+ {
+ qautil.debug("Found non unique uid = " + s + " at index: " + unique.indexOf(s));
+ correct = false;
+ break;
+ }
+ else
+ {
+ qautil.qadebug(s);
+ unique.add(s);
+ }
+ }
+
+ //just in case sub process has not run
+ if (correct && uniqueSize == 0)
+ {
+ correct = false;
+ qautil.debug("Sub process has returned zero lenth array");
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+
+ public int mNumberOfThreads;
+ public int mNumberOfUids;
+ public String mCommand = "java -cp " + System.getProperty("java.class.path") + " org.jboss.jbossts.qa.ArjunaCore.Common.UidTestWorker";
+ public ArrayList mUidList = new ArrayList();
+ private UidTestProcess[] mUidSubProcess;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Common/UidTestProcess.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Common/UidTestProcess.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Common/UidTestProcess.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,131 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.Common;
+
+import java.io.BufferedReader;
+import java.io.IOException;
+import java.io.InputStreamReader;
+import java.io.InterruptedIOException;
+import java.util.ArrayList;
+
+public class UidTestProcess
+{
+ public UidTestProcess(String command, int numberofuids)
+ {
+ mComand = command + " " + numberofuids;
+
+ Thread mMainThread = new Thread("comand thread")
+ {
+ public void run()
+ {
+ try
+ {
+ mProcess = Runtime.getRuntime().exec(mComand);
+ }
+ catch (OutOfMemoryError ome)
+ {
+ System.out.println("Out of memeory end test = " + ome);
+ }
+ catch (IOException io)
+ {
+ System.out.println("runtime exception " + io);
+ }
+ getResults();
+ }
+ };
+ mMainThread.start();
+ }
+
+ /**
+ * We are only bothered about the output stream.
+ */
+ public void getResults()
+ {
+ Thread mOutReader = new Thread()
+ {
+ public void run()
+ {
+ try
+ {
+ BufferedReader br = new BufferedReader(new InputStreamReader(mProcess.getInputStream()));
+ String line = br.readLine();
+ while ((!isInterrupted() && line != null))
+ {
+ line = line.trim();
+ mResults.add(line);
+ line = br.readLine();
+ }
+ }
+ catch (InterruptedIOException e)
+ {
+ }
+ catch (Exception e)
+ {
+ }
+ }
+ };
+
+ //we will process the error stream just in case
+ Thread mErrReader = new Thread()
+ {
+ public void run()
+ {
+ try
+ {
+ BufferedReader br = new BufferedReader(new InputStreamReader(mProcess.getErrorStream()));
+ String line = br.readLine();
+ while ((!isInterrupted() && line != null))
+ {
+ line = line.trim();
+ System.out.println(line);
+ line = br.readLine();
+ }
+ }
+ catch (InterruptedIOException e)
+ {
+ }
+ catch (Exception e)
+ {
+ }
+ }
+ };
+
+ mOutReader.start();
+ mErrReader.start();
+
+ //wait for process to end.
+ try
+ {
+ mProcess.waitFor();
+ }
+ catch (Exception e)
+ {
+ System.err.println("process exception");
+ }
+ mFinished = true;
+ }
+
+ private Process mProcess;
+ private String mComand;
+
+ public boolean mFinished = false;
+ public ArrayList mResults = new ArrayList();
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Common/UidTestWorker.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Common/UidTestWorker.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Common/UidTestWorker.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,52 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.Common;
+
+import com.arjuna.ats.arjuna.common.Uid;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.qautil;
+
+/**
+ * Simple test to see if Uid generation is unique.
+ */
+public class UidTestWorker
+{
+ /**
+ * This is a sub processso it may be difficult to return our results.
+ */
+ public static void main(String[] args)
+ {
+ int mNumberOfUids = 0;
+ try
+ {
+ mNumberOfUids = Integer.parseInt(args[0]);
+ }
+ catch (NumberFormatException mfe)
+ {
+ qautil.debug("error in uid worker using default value of 1000");
+ mNumberOfUids = 1000;
+ }
+
+ for (int i = 0; i < mNumberOfUids; i++)
+ {
+ System.out.println(new Uid().toString());
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Common/UtilityTest.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Common/UtilityTest.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Common/UtilityTest.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,174 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.Common;
+
+import com.arjuna.ats.arjuna.utils.Utility;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.qautil;
+
+/**
+ * Simple test to see if Properties are being loaded correctly
+ */
+public class UtilityTest
+{
+ /**
+ * Global varable for test result
+ */
+ private static boolean mCorrect = true;
+
+ /**
+ * Simple test to see if utiity methods are working correctly.
+ */
+ public static void main(String[] args)
+ {
+ if (args.length != 2)
+ {
+ finishTest(false);
+ qautil.debug("incorrect number of args");
+ System.exit(0);
+ }
+
+ if (args[0].equals("int"))
+ {
+ intTest(args[1]);
+ }
+ else
+ {
+ longTest(args[1]);
+ }
+ }
+
+ /**
+ * Main test bolck for checking function inttohexstring and
+ * back to int.
+ */
+ public static void intTest(String intvalue)
+ {
+ int passedValue = 0;
+ String hexReturnValue = "";
+ int intReturnValue = 0;
+
+ if (intvalue.equals("max") || intvalue.equals("min"))
+ {
+ if (intvalue.equals("max"))
+ {
+ passedValue = Integer.MAX_VALUE;
+ }
+ else
+ {
+ passedValue = Integer.MIN_VALUE;
+ }
+ }
+ else
+ {
+ try
+ {
+ passedValue = Integer.parseInt(intvalue);
+ }
+ catch (NumberFormatException nfe)
+ {
+ mCorrect = false;
+ qautil.debug("Exception in parseInt: ", nfe);
+ }
+ }
+
+ hexReturnValue = Utility.intToHexString(passedValue);
+
+ qautil.qadebug("Hex String = " + hexReturnValue);
+
+ intReturnValue = Utility.hexStringToInt(hexReturnValue);
+
+ qautil.qadebug("Int from Hex = " + intReturnValue);
+
+ if (intReturnValue != passedValue)
+ {
+ mCorrect = false;
+ qautil.debug("Final value does not equal original value");
+ }
+
+ finishTest(mCorrect);
+ }
+
+ /**
+ * Main test bolck for checking function longtohexstring and
+ * back to long.
+ */
+ public static void longTest(String longvalue)
+ {
+ long passedValue = 0;
+ String hexReturnValue = "";
+ long longReturnValue = 0;
+
+ if (longvalue.equals("max") || longvalue.equals("min"))
+ {
+ if (longvalue.equals("max"))
+ {
+ passedValue = Long.MAX_VALUE;
+ }
+ else
+ {
+ passedValue = Long.MIN_VALUE;
+ }
+ }
+ else
+ {
+ try
+ {
+ passedValue = Long.parseLong(longvalue);
+ }
+ catch (NumberFormatException nfe)
+ {
+ mCorrect = false;
+ qautil.debug("Exception in parseInt: ", nfe);
+ }
+ }
+
+ hexReturnValue = Utility.longToHexString(passedValue);
+
+ qautil.qadebug("Hex String = " + hexReturnValue);
+
+ longReturnValue = Utility.hexStringToLong(hexReturnValue);
+
+ qautil.qadebug("Long from Hex = " + longReturnValue);
+
+ if (longReturnValue != passedValue)
+ {
+ mCorrect = false;
+ qautil.debug("Final value does not equal original value");
+ }
+
+ finishTest(mCorrect);
+ }
+
+ /**
+ * Simple method for printing result.
+ */
+ public static void finishTest(boolean result)
+ {
+ if (result)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Common/propertyfiles/etc/t1.props
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Common/propertyfiles/etc/t1.props (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Common/propertyfiles/etc/t1.props 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1 @@
+TESTPROPERTY=1
\ No newline at end of file
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Common/propertyfiles/etc/t2.props
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Common/propertyfiles/etc/t2.props (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Common/propertyfiles/etc/t2.props 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1 @@
+TESTPROPERTY=2
\ No newline at end of file
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Common/propertyfiles/etc/t3.props
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Common/propertyfiles/etc/t3.props (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Common/propertyfiles/etc/t3.props 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1 @@
+TESTPROPERTY=3
\ No newline at end of file
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Common/propertyfiles/etc/t4.props
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Common/propertyfiles/etc/t4.props (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Common/propertyfiles/etc/t4.props 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1 @@
+TESTPROPERTY=4
\ No newline at end of file
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Common/propertyfiles/etc/t5.props
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Common/propertyfiles/etc/t5.props (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Common/propertyfiles/etc/t5.props 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1 @@
+TESTPROPERTY=5
\ No newline at end of file
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Common/propertyfiles/etc/t6.props
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Common/propertyfiles/etc/t6.props (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Common/propertyfiles/etc/t6.props 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1 @@
+TESTPROPERTY=6
\ No newline at end of file
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/CrashRecovery/client/ActivateDestroyTest1.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/CrashRecovery/client/ActivateDestroyTest1.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/CrashRecovery/client/ActivateDestroyTest1.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,89 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.LockManager.CrashRecovery.client;
+
+import org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.impl.CrashAbstractRecord;
+import org.jboss.jbossts.qa.ArjunaCore.LockManager.impl.BasicLockRecord;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.BaseTestClient;
+
+/*
+ * Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+ *
+ * Arjuna Technologies Ltd.
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ActivateDestroyTest1.java,v 1.2 2003/12/01 13:37:53 nmcl Exp $
+ */
+
+public class ActivateDestroyTest1 extends BaseTestClient
+{
+ public static void main(String[] args)
+ {
+ ActivateDestroyTest1 test = new ActivateDestroyTest1(args);
+ }
+
+ private ActivateDestroyTest1(String[] args)
+ {
+ super(args);
+ }
+
+ public void Test()
+ {
+ /** Set argument relative positions **/
+ setNumberOfCalls(2);
+ setNumberOfResources(1);
+
+ try
+ {
+ /*
+ * Default intentions list is to order by Uid (improves
+ * performance). But for this test we need to order by type.
+ */
+
+ com.arjuna.ats.arjuna.common.Configuration.setAlternativeOrdering(true);
+
+ BasicLockRecord basicRecord = new BasicLockRecord();
+
+ System.out.println("created object " + basicRecord.get_uid());
+
+ this.startTx();
+
+ System.out.println("basicRecord.increase()");
+ basicRecord.increase(1, 0);
+
+ System.out.println("basicRecord.destroy()");
+ basicRecord.destroy();
+
+ CrashAbstractRecord crashRecord = new CrashAbstractRecord(1, 0);
+ this.add(crashRecord);
+
+ this.commit();
+
+ this.Fail();
+ }
+ catch (Exception e)
+ {
+ Fail("Error doing work", e);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/CrashRecovery/client/Client001a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/CrashRecovery/client/Client001a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/CrashRecovery/client/Client001a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,85 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.LockManager.CrashRecovery.client;
+
+import org.jboss.jbossts.qa.ArjunaCore.LockManager.impl.BasicLockRecord;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.BaseTestClient;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.qautil;
+
+public class Client001a extends BaseTestClient
+{
+ public static void main(String[] args)
+ {
+ Client001a test = new Client001a(args);
+ }
+
+ private Client001a(String[] args)
+ {
+ super(args);
+ }
+
+ public void Test()
+ {
+ try
+ {
+ setNumberOfCalls(3);
+ setNumberOfResources(2);
+ setUniquePrefix(1);
+
+ //sleep
+ qautil.sleep();
+
+ //restore objects from uid's
+ BasicLockRecord[] mLockRecordList = new BasicLockRecord[mNumberOfResources];
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ String key = getResourceName("resource_" + j);
+ try
+ {
+ mLockRecordList[j] = new BasicLockRecord(qautil.loadUid(key));
+ qautil.clearUid(key);
+ }
+ catch (Exception e)
+ {
+ Debug("Error when reading uid store");
+ mCorrect = false;
+ }
+ }
+
+ //record should have been commited by recovery manager
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ if (mLockRecordList[j].getValue() != (mMaxIteration + 1))
+ {
+ Debug("value is incorrect: " + mLockRecordList[j].getValue());
+ mCorrect = false;
+ }
+ }
+
+ qaAssert(mCorrect);
+ }
+ catch (Exception e)
+ {
+ Fail("Error in Client001a.test() :", e);
+ }
+ }
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/CrashRecovery/client/Client001b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/CrashRecovery/client/Client001b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/CrashRecovery/client/Client001b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,99 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.LockManager.CrashRecovery.client;
+
+import org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.impl.CrashAbstractRecord;
+import org.jboss.jbossts.qa.ArjunaCore.LockManager.impl.BasicLockRecord;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.BaseTestClient;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.qautil;
+
+public class Client001b extends BaseTestClient
+{
+ public static void main(String[] args)
+ {
+ Client001b test = new Client001b(args);
+ }
+
+ private Client001b(String[] args)
+ {
+ super(args);
+ }
+
+ public void Test()
+ {
+ try
+ {
+ setNumberOfCalls(5);
+ setNumberOfResources(4);
+ setCrashPoint(3);
+ setCrashType(2);
+ setUniquePrefix(1);
+
+ //create crash record first so uid is processed first
+ CrashAbstractRecord mCrashObject = new CrashAbstractRecord(mCrashPoint, mCrashType);
+
+ BasicLockRecord[] mLockRecordList = new BasicLockRecord[mNumberOfResources];
+ //set up lock records and store away uids
+ for (int i = 0; i < mNumberOfResources; i++)
+ {
+ mLockRecordList[i] = new BasicLockRecord(i);
+ String key = getResourceName("resource_" + i);
+ try
+ {
+ qautil.storeUid(key, mLockRecordList[i].get_uid());
+ }
+ catch (Exception e)
+ {
+ Debug("Error when creating ior store", e);
+ mCorrect = false;
+ }
+ }
+
+ //start transaction to check all is ok.
+ startTx();
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ mLockRecordList[j].increase();
+ }
+ commit();
+
+ //start new AtomicAction
+ startTx();
+ add(mCrashObject);
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ mLockRecordList[j].increase();
+ }
+ }
+ commit();
+
+ //we do not need to do anything else it should finish here if not print failed
+ Fail();
+ }
+ catch (Exception e)
+ {
+ Fail("Error in Client001b.test() :", e);
+ }
+ }
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/CrashRecovery/client/Client002a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/CrashRecovery/client/Client002a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/CrashRecovery/client/Client002a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,85 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.LockManager.CrashRecovery.client;
+
+import org.jboss.jbossts.qa.ArjunaCore.LockManager.impl.BasicLockRecord;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.BaseTestClient;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.qautil;
+
+public class Client002a extends BaseTestClient
+{
+ public static void main(String[] args)
+ {
+ Client002a test = new Client002a(args);
+ }
+
+ private Client002a(String[] args)
+ {
+ super(args);
+ }
+
+ public void Test()
+ {
+ try
+ {
+ setNumberOfCalls(3);
+ setNumberOfResources(2);
+ setUniquePrefix(1);
+
+ //sleep
+ qautil.sleep();
+
+ //restore objects from uid's
+ BasicLockRecord[] mLockRecordList = new BasicLockRecord[mNumberOfResources];
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ String key = getResourceName("resource_" + j);
+ try
+ {
+ mLockRecordList[j] = new BasicLockRecord(qautil.loadUid(key));
+ qautil.clearUid(key);
+ }
+ catch (Exception e)
+ {
+ Debug("Error when reading uid store");
+ mCorrect = false;
+ }
+ }
+
+ //record should have been rolledback by recovery manager
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ if (mLockRecordList[j].getValue() != 1)
+ {
+ Debug("value is incorrect: " + mLockRecordList[j].getValue());
+ mCorrect = false;
+ }
+ }
+
+ qaAssert(mCorrect);
+ }
+ catch (Exception e)
+ {
+ Fail("Error in Client002a.test() :", e);
+ }
+ }
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/CrashRecovery/client/Client002b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/CrashRecovery/client/Client002b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/CrashRecovery/client/Client002b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,100 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.LockManager.CrashRecovery.client;
+
+import org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.impl.CrashAbstractRecord;
+import org.jboss.jbossts.qa.ArjunaCore.LockManager.impl.BasicLockRecord;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.BaseTestClient;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.qautil;
+
+public class Client002b extends BaseTestClient
+{
+ public static void main(String[] args)
+ {
+ Client002b test = new Client002b(args);
+ }
+
+ private Client002b(String[] args)
+ {
+ super(args);
+ }
+
+ public void Test()
+ {
+ try
+ {
+ setNumberOfCalls(5);
+ setNumberOfResources(4);
+ setCrashPoint(3);
+ setCrashType(2);
+ setUniquePrefix(1);
+
+ BasicLockRecord[] mLockRecordList = new BasicLockRecord[mNumberOfResources];
+ //set up lock records and store away uids
+ for (int i = 0; i < mNumberOfResources; i++)
+ {
+ mLockRecordList[i] = new BasicLockRecord(i);
+ String key = getResourceName("resource_" + i);
+ try
+ {
+ qautil.storeUid(key, mLockRecordList[i].get_uid());
+ }
+ catch (Exception e)
+ {
+ Debug("Error when creating ior store", e);
+ mCorrect = false;
+ }
+ }
+
+ // Create crash record last so record is processed last. We want the
+ // crash to occur after prepare has been called on the lockmanager objects.
+ CrashAbstractRecord mCrashObject = new CrashAbstractRecord(mCrashPoint, mCrashType);
+
+ //start transaction to check all is ok.
+ startTx();
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ mLockRecordList[j].increase();
+ }
+ commit();
+
+ //start new AtomicAction
+ startTx();
+ add(mCrashObject);
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ mLockRecordList[j].increase();
+ }
+ }
+ commit();
+
+ //we do not need to do anything else it should finish here if not print failed
+ Fail();
+ }
+ catch (Exception e)
+ {
+ Fail("Error in Client002b.test() :", e);
+ }
+ }
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/CrashRecovery/client/RestoreClient001a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/CrashRecovery/client/RestoreClient001a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/CrashRecovery/client/RestoreClient001a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,83 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.LockManager.CrashRecovery.client;
+
+import org.jboss.jbossts.qa.ArjunaCore.LockManager.impl.BasicLockRecord;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.BaseTestClient;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.qautil;
+
+public class RestoreClient001a extends BaseTestClient
+{
+ public static void main(String[] args)
+ {
+ RestoreClient001a test = new RestoreClient001a(args);
+ }
+
+ private RestoreClient001a(String[] args)
+ {
+ super(args);
+ }
+
+ public void Test()
+ {
+ try
+ {
+ setNumberOfCalls(3);
+ setNumberOfResources(2);
+ setUniquePrefix(1);
+
+ //restore objects from uid's
+ BasicLockRecord[] mLockRecordList = new BasicLockRecord[mNumberOfResources];
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ String key = getResourceName("resource_" + j);
+ try
+ {
+ mLockRecordList[j] = new BasicLockRecord(qautil.loadUid(key));
+ qautil.clearUid(key);
+ }
+ catch (Exception e)
+ {
+ Debug("Error when creating ior store");
+ mCorrect = false;
+ }
+ }
+
+ //check if objects and final values have been restored.
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ if (mLockRecordList[j].getValue() != mMaxIteration)
+ {
+ mCorrect = false;
+ Debug("the value has not been retored: " + mLockRecordList[j].getValue());
+ break;
+ }
+ }
+
+ qaAssert(mCorrect);
+ }
+ catch (Exception e)
+ {
+ Fail("Error in RestoreClient001a.test() :", e);
+ }
+ }
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/CrashRecovery/client/RestoreClient001b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/CrashRecovery/client/RestoreClient001b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/CrashRecovery/client/RestoreClient001b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,100 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.LockManager.CrashRecovery.client;
+
+import org.jboss.jbossts.qa.ArjunaCore.LockManager.impl.BasicLockRecord;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.BaseTestClient;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.qautil;
+
+public class RestoreClient001b extends BaseTestClient
+{
+ public static void main(String[] args)
+ {
+ RestoreClient001b test = new RestoreClient001b(args);
+ }
+
+ private RestoreClient001b(String[] args)
+ {
+ super(args);
+ }
+
+ public void Test()
+ {
+ try
+ {
+ setNumberOfCalls(3);
+ setNumberOfResources(2);
+ setUniquePrefix(1);
+
+ BasicLockRecord[] mLockRecordList = new BasicLockRecord[mNumberOfResources];
+ //set up abstract records
+ for (int i = 0; i < mNumberOfResources; i++)
+ {
+ mLockRecordList[i] = new BasicLockRecord();
+ }
+
+ startTx();
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ mLockRecordList[j].increase();
+ }
+ }
+ //comit transaction
+ commit();
+
+ //start new AtomicAction
+ startTx();
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ mLockRecordList[j].increase();
+ }
+ }
+ //abort transaction
+ abort();
+
+ //store uid of remote objects in ServerIORStore
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ String key = getResourceName("resource_" + j);
+ try
+ {
+ qautil.storeUid(key, mLockRecordList[j].get_uid());
+ }
+ catch (Exception e)
+ {
+ Debug("Error when creating ior store");
+ mCorrect = false;
+ }
+ }
+
+ qaAssert(mCorrect);
+ }
+ catch (Exception e)
+ {
+ Fail("Error in RestoreClient001b.test() :", e);
+ }
+ }
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/Client001.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/Client001.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/Client001.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,98 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.LockManager.client;
+
+import org.jboss.jbossts.qa.ArjunaCore.LockManager.impl.BasicLockRecord;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.BaseTestClient;
+
+public class Client001 extends BaseTestClient
+{
+ public static void main(String[] args)
+ {
+ Client001 test = new Client001(args);
+ }
+
+ private Client001(String[] args)
+ {
+ super(args);
+ }
+
+ public void Test()
+ {
+ try
+ {
+ setNumberOfCalls(2);
+ setNumberOfResources(1);
+ BasicLockRecord[] mLockRecordList = new BasicLockRecord[mNumberOfResources];
+ int[] expectedValue = new int[mNumberOfResources];
+
+ //set up abstract records
+ for (int i = 0; i < mNumberOfResources; i++)
+ {
+ mLockRecordList[i] = new BasicLockRecord();
+ expectedValue[i] = 0;
+ }
+
+ startTx();
+ //add abstract record
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ expectedValue[j] += mLockRecordList[j].increase();
+ }
+ }
+ //comit transaction
+ commit();
+
+ //start new AtomicAction
+ startTx();
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ mLockRecordList[j].increase();
+ }
+ }
+ //abort transaction
+ abort();
+
+ //check final values
+ for (int i = 0; i < mNumberOfResources; i++)
+ {
+ //first test to see if increases have been run
+ if (mLockRecordList[i].getValue() != expectedValue[i])
+ {
+ Debug("whilst checking the " + i + " resource the getvalue was: " + mLockRecordList[i].getValue() + " and we expected: " + expectedValue[i]);
+ mCorrect = false;
+ break;
+ }
+ }
+
+ qaAssert(mCorrect);
+ }
+ catch (Exception e)
+ {
+ Fail("Error in Client001.test() :", e);
+ }
+ }
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/Client002.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/Client002.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/Client002.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,122 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.LockManager.client;
+
+import org.jboss.jbossts.qa.ArjunaCore.LockManager.impl.TXBasicLockRecord;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.BaseTestClient;
+
+public class Client002 extends BaseTestClient
+{
+ public static void main(String[] args)
+ {
+ Client002 test = new Client002(args);
+ }
+
+ private Client002(String[] args)
+ {
+ super(args);
+ }
+
+ public void Test()
+ {
+ try
+ {
+ setNumberOfCalls(2);
+ setNumberOfResources(1);
+
+ TXBasicLockRecord[] mLockRecordList = new TXBasicLockRecord[mNumberOfResources];
+ int[] expectedValue = new int[mNumberOfResources];
+ //set up abstract records
+ for (int i = 0; i < mNumberOfResources; i++)
+ {
+ mLockRecordList[i] = new TXBasicLockRecord();
+ expectedValue[i] = 0;
+ }
+
+ createTx();
+ try
+ {
+ //start transaction
+ begin();
+ //add abstract record
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ expectedValue[j] += mLockRecordList[j].increase();
+ }
+ }
+ //comit transaction
+ commit();
+ }
+ catch (Exception e)
+ {
+ Debug("exception in first transaction ", e);
+ abort();
+ mCorrect = false;
+ }
+
+ if (mCorrect)
+ {
+ //start new AtomicAction
+ createTx();
+ try
+ {
+ begin();
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ mLockRecordList[j].increase();
+ }
+ }
+ //abort transaction
+ abort();
+ }
+ catch (Exception e)
+ {
+ Debug("exception in first transaction ", e);
+ abort();
+ mCorrect = false;
+ }
+ }
+
+ //check final values
+ for (int i = 0; i < mNumberOfResources; i++)
+ {
+ //first test to see if increases have been run
+ if (mLockRecordList[i].getValue() != expectedValue[i])
+ {
+ Debug("whilst checking the " + i + " resource the getvalue was: " + mLockRecordList[i].getValue() + " and we expected: " + expectedValue[i]);
+ mCorrect = false;
+ break;
+ }
+ }
+
+ qaAssert(mCorrect);
+ }
+ catch (Exception e)
+ {
+ Fail("Error in Client002.test() :", e);
+ }
+ }
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/Client003.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/Client003.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/Client003.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,112 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.LockManager.client;
+
+import org.jboss.jbossts.qa.ArjunaCore.LockManager.impl.BasicLockRecord;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.BaseTestClient;
+
+public class Client003 extends BaseTestClient
+{
+ public static void main(String[] args)
+ {
+ Client003 test = new Client003(args);
+ }
+
+ private Client003(String[] args)
+ {
+ super(args);
+ }
+
+ public void Test()
+ {
+ try
+ {
+ setNumberOfCalls(2);
+ setNumberOfResources(1);
+
+ BasicLockRecord[] mLockRecordList = new BasicLockRecord[mNumberOfResources];
+ int[] expectedValue = new int[mNumberOfResources];
+
+ //set up abstract records
+ for (int i = 0; i < mNumberOfResources; i++)
+ {
+ mLockRecordList[i] = new BasicLockRecord();
+ expectedValue[i] = 0;
+ }
+
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ //start transaction
+ startTx();
+ int incValue = mLockRecordList[j].increase();
+ if (i % 2 == 0)
+ {
+ commit();
+ expectedValue[j] += incValue;
+ }
+ else
+ {
+ abort();
+ }
+ }
+ }
+
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ startTx();
+ int incValue = mLockRecordList[j].increase();
+ if (i % 2 == 0)
+ {
+ commit();
+ expectedValue[j] += incValue;
+ }
+ else
+ {
+ abort();
+ }
+ }
+ }
+
+ //check final values
+ for (int i = 0; i < mNumberOfResources; i++)
+ {
+ //first test to see if increases have been run
+ if (mLockRecordList[i].getValue() != expectedValue[i])
+ {
+ Debug("whilst checking the " + i + " resource the getvalue was: " + mLockRecordList[i].getValue() + " and we expected: " + expectedValue[i]);
+ mCorrect = false;
+ break;
+ }
+ }
+
+ qaAssert(mCorrect);
+ }
+ catch (Exception e)
+ {
+ Fail("Error in Client003.test() :", e);
+ }
+ }
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/Client004.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/Client004.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/Client004.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,112 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.LockManager.client;
+
+import org.jboss.jbossts.qa.ArjunaCore.LockManager.impl.TXBasicLockRecord;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.BaseTestClient;
+
+public class Client004 extends BaseTestClient
+{
+ public static void main(String[] args)
+ {
+ Client004 test = new Client004(args);
+ }
+
+ private Client004(String[] args)
+ {
+ super(args);
+ }
+
+ public void Test()
+ {
+ try
+ {
+ setNumberOfCalls(2);
+ setNumberOfResources(1);
+
+ TXBasicLockRecord[] mLockRecordList = new TXBasicLockRecord[mNumberOfResources];
+ int[] expectedValue = new int[mNumberOfResources];
+
+ //set up abstract records
+ for (int i = 0; i < mNumberOfResources; i++)
+ {
+ mLockRecordList[i] = new TXBasicLockRecord();
+ expectedValue[i] = 0;
+ }
+
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ //start transaction
+ startTx();
+ int incValue = mLockRecordList[j].increase();
+ if (i % 2 == 0)
+ {
+ commit();
+ expectedValue[j] += incValue;
+ }
+ else
+ {
+ abort();
+ }
+ }
+ }
+
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ startTx();
+ int incValue = mLockRecordList[j].increase();
+ if (i % 2 == 0)
+ {
+ commit();
+ expectedValue[j] += incValue;
+ }
+ else
+ {
+ abort();
+ }
+ }
+ }
+
+ //check final values
+ for (int i = 0; i < mNumberOfResources; i++)
+ {
+ //first test to see if increases have been run
+ if (mLockRecordList[i].getValue() != expectedValue[i])
+ {
+ Debug("whilst checking the " + i + " resource the getvalue was: " + mLockRecordList[i].getValue() + " and we expected: " + expectedValue[i]);
+ mCorrect = false;
+ break;
+ }
+ }
+
+ qaAssert(mCorrect);
+ }
+ catch (Exception e)
+ {
+ Fail("Error in Client004.test() :", e);
+ }
+ }
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/Client005.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/Client005.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/Client005.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,104 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.LockManager.client;
+
+import org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.impl.CrashAbstractRecord;
+import org.jboss.jbossts.qa.ArjunaCore.LockManager.impl.BasicLockRecord;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.BaseTestClient;
+
+public class Client005 extends BaseTestClient
+{
+ public static void main(String[] args)
+ {
+ Client005 test = new Client005(args);
+ }
+
+ private Client005(String[] args)
+ {
+ super(args);
+ }
+
+ public void Test()
+ {
+ try
+ {
+ setNumberOfCalls(2);
+ setNumberOfResources(1);
+
+ BasicLockRecord[] mLockRecordList = new BasicLockRecord[mNumberOfResources];
+ int[] expectedValue = new int[mNumberOfResources];
+
+ //set up abstract records
+ for (int i = 0; i < mNumberOfResources; i++)
+ {
+ mLockRecordList[i] = new BasicLockRecord();
+ expectedValue[i] = 0;
+ }
+
+ startTx();
+ //add abstract record
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ expectedValue[j] += mLockRecordList[j].increase();
+ }
+ }
+ //comit transaction
+ commit();
+
+ //now create abstract record that will cause rollback
+ CrashAbstractRecord mCrashObject = new CrashAbstractRecord(3, 1);
+
+ //start new AtomicAction
+ startTx();
+ add(mCrashObject);
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ expectedValue[j] += mLockRecordList[j].increase();
+ }
+ }
+ //abort transaction
+ commit();
+
+ //check final values
+ for (int i = 0; i < mNumberOfResources; i++)
+ {
+ //first test to see if increases have been run
+ if (mLockRecordList[i].getValue() != expectedValue[i])
+ {
+ Debug("whilst checking the " + i + " resource the getvalue was: " + mLockRecordList[i].getValue() + " and we expected: " + expectedValue[i]);
+ mCorrect = false;
+ break;
+ }
+ }
+
+ qaAssert(mCorrect);
+ }
+ catch (Exception e)
+ {
+ Fail("Error in Client005.test() :", e);
+ }
+ }
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/Client006.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/Client006.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/Client006.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,128 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.LockManager.client;
+
+import org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.impl.CrashAbstractRecord;
+import org.jboss.jbossts.qa.ArjunaCore.LockManager.impl.TXBasicLockRecord;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.BaseTestClient;
+
+public class Client006 extends BaseTestClient
+{
+ public static void main(String[] args)
+ {
+ Client006 test = new Client006(args);
+ }
+
+ private Client006(String[] args)
+ {
+ super(args);
+ }
+
+ public void Test()
+ {
+ try
+ {
+ setNumberOfCalls(2);
+ setNumberOfResources(1);
+
+ TXBasicLockRecord[] mLockRecordList = new TXBasicLockRecord[mNumberOfResources];
+ int[] expectedValue = new int[mNumberOfResources];
+
+ //set up abstract records
+ for (int i = 0; i < mNumberOfResources; i++)
+ {
+ mLockRecordList[i] = new TXBasicLockRecord();
+ expectedValue[i] = 0;
+ }
+
+ createTx();
+ try
+ {
+ //start transaction
+ begin();
+ //add abstract record
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ expectedValue[j] += mLockRecordList[j].increase();
+ }
+ }
+ //comit transaction
+ commit();
+ }
+ catch (Exception e)
+ {
+ Debug("exception in first transaction ", e);
+ abort();
+ mCorrect = false;
+ }
+
+ //now create abstract record that will cause rollback
+ CrashAbstractRecord mCrashObject = new CrashAbstractRecord(3, 1);
+
+ if (mCorrect)
+ {
+ //start new AtomicAction
+ createTx();
+ try
+ {
+ begin();
+ add(mCrashObject);
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ expectedValue[j] += mLockRecordList[j].increase();
+ }
+ }
+ //abort transaction
+ commit();
+ }
+ catch (Exception e)
+ {
+ Debug("exception in first transaction ", e);
+ abort();
+ mCorrect = false;
+ }
+ }
+
+ //check final values
+ for (int i = 0; i < mNumberOfResources; i++)
+ {
+ //first test to see if increases have been run
+ if (mLockRecordList[i].getValue() != expectedValue[i])
+ {
+ Debug("whilst checking the " + i + " resource the getvalue was: " + mLockRecordList[i].getValue() + " and we expected: " + expectedValue[i]);
+ mCorrect = false;
+ break;
+ }
+ }
+
+ qaAssert(mCorrect);
+ }
+ catch (Exception e)
+ {
+ Fail("Error in Client006.test() :", e);
+ }
+ }
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/Client007.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/Client007.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/Client007.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,113 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.LockManager.client;
+
+import org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.impl.CrashAbstractRecord;
+import org.jboss.jbossts.qa.ArjunaCore.LockManager.impl.BasicLockRecord;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.BaseTestClient;
+
+public class Client007 extends BaseTestClient
+{
+ public static void main(String[] args)
+ {
+ Client007 test = new Client007(args);
+ }
+
+ private Client007(String[] args)
+ {
+ super(args);
+ }
+
+ public void Test()
+ {
+ try
+ {
+ setNumberOfCalls(2);
+ setNumberOfResources(1);
+
+ BasicLockRecord[] mLockRecordList = new BasicLockRecord[mNumberOfResources];
+ int[] expectedValue = new int[mNumberOfResources];
+
+ //set up abstract records
+ for (int i = 0; i < mNumberOfResources; i++)
+ {
+ mLockRecordList[i] = new BasicLockRecord();
+ expectedValue[i] = 0;
+ }
+
+ //now create abstract record that will cause rollback
+ CrashAbstractRecord mCrashObject = new CrashAbstractRecord(3, 1);
+
+ //rather than commit/abort alternate transactions we will add this
+ //record to alternate transactions.
+ //
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ //start transaction
+ startTx();
+ if (i % 2 == 0)
+ {
+ add(mCrashObject);
+ }
+ int incValue = mLockRecordList[j].increase();
+ expectedValue[j] += (i % 2 == 0) ? 0 : incValue;
+ commit();
+ }
+ }
+
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ startTx();
+ if (i % 2 == 0)
+ {
+ add(mCrashObject);
+ }
+ int incValue = mLockRecordList[j].increase();
+ expectedValue[j] += (i % 2 == 0) ? 0 : incValue;
+ commit();
+ }
+ }
+
+ //check final values
+ for (int i = 0; i < mNumberOfResources; i++)
+ {
+ //first test to see if increases have been run
+ if (mLockRecordList[i].getValue() != expectedValue[i])
+ {
+ Debug("whilst checking the " + i + " resource the getvalue was: " + mLockRecordList[i].getValue() + " and we expected: " + expectedValue[i]);
+ mCorrect = false;
+ break;
+ }
+ }
+
+ qaAssert(mCorrect);
+ }
+ catch (Exception e)
+ {
+ Fail("Error in Client007.test() :", e);
+ }
+ }
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/Client008.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/Client008.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/Client008.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,109 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.LockManager.client;
+
+import org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.impl.CrashAbstractRecord;
+import org.jboss.jbossts.qa.ArjunaCore.LockManager.impl.TXBasicLockRecord;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.BaseTestClient;
+
+public class Client008 extends BaseTestClient
+{
+ public static void main(String[] args)
+ {
+ Client008 test = new Client008(args);
+ }
+
+ private Client008(String[] args)
+ {
+ super(args);
+ }
+
+ public void Test()
+ {
+ try
+ {
+ setNumberOfCalls(2);
+ setNumberOfResources(1);
+ TXBasicLockRecord[] mLockRecordList = new TXBasicLockRecord[mNumberOfResources];
+ int[] expectedValue = new int[mNumberOfResources];
+
+ //set up abstract records
+ for (int i = 0; i < mNumberOfResources; i++)
+ {
+ mLockRecordList[i] = new TXBasicLockRecord();
+ expectedValue[i] = 0;
+ }
+
+ //now create abstract record that will cause rollback
+ CrashAbstractRecord mCrashObject = new CrashAbstractRecord(3, 1);
+
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ //start transaction
+ startTx();
+ if (i % 2 == 0)
+ {
+ add(mCrashObject);
+ }
+ int incValue = mLockRecordList[j].increase();
+ expectedValue[j] += (i % 2 == 0) ? 0 : incValue;
+ commit();
+ }
+ }
+
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ startTx();
+ if (i % 2 == 0)
+ {
+ add(mCrashObject);
+ }
+ int incValue = mLockRecordList[j].increase();
+ expectedValue[j] += (i % 2 == 0) ? 0 : incValue;
+ commit();
+ }
+ }
+
+ //check final values
+ for (int i = 0; i < mNumberOfResources; i++)
+ {
+ //first test to see if increases have been run
+ if (mLockRecordList[i].getValue() != expectedValue[i])
+ {
+ Debug("whilst checking the " + i + " resource the getvalue was: " + mLockRecordList[i].getValue() + " and we expected: " + expectedValue[i]);
+ mCorrect = false;
+ break;
+ }
+ }
+
+ qaAssert(mCorrect);
+ }
+ catch (Exception e)
+ {
+ Fail("Error in Client008.test() :", e);
+ }
+ }
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/MemoryClient001.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/MemoryClient001.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/MemoryClient001.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,97 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.LockManager.client;
+
+import org.jboss.jbossts.qa.ArjunaCore.LockManager.impl.BasicLockRecord;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.BaseTestClient;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.qautil;
+
+public class MemoryClient001 extends BaseTestClient
+{
+ public static void main(String[] args)
+ {
+ MemoryClient001 test = new MemoryClient001(args);
+ }
+
+ private MemoryClient001(String[] args)
+ {
+ super(args);
+ }
+
+ public void Test()
+ {
+ try
+ {
+ setNumberOfCalls(3);
+ setNumberOfResources(2);
+ getClientThreshold(1);
+
+ BasicLockRecord[] mLockRecordList = new BasicLockRecord[mNumberOfResources];
+ //set up abstract records
+ for (int i = 0; i < mNumberOfResources; i++)
+ {
+ mLockRecordList[i] = new BasicLockRecord();
+ }
+
+ startTx();
+ //add abstract record
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ mLockRecordList[j].increase();
+ }
+ }
+ //comit transaction
+ commit();
+
+ //lets go to sleep to see if this helps the vm clean itself up
+ qautil.sleep();
+
+ //get first memory reading.
+ getFirstReading();
+
+ //start new AtomicAction
+ startTx();
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ mLockRecordList[j].increase();
+ }
+ }
+ //abort transaction
+ abort();
+
+ //lets go to sleep to see if this helps the vm clean itself up
+ qautil.sleep();
+
+ getSecondReading();
+
+ qaMemoryAssert();
+ }
+ catch (Exception e)
+ {
+ Fail("Error in MemoryClient001.test() :", e);
+ }
+ }
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/MemoryClient002.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/MemoryClient002.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/MemoryClient002.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,97 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.LockManager.client;
+
+import org.jboss.jbossts.qa.ArjunaCore.LockManager.impl.TXBasicLockRecord;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.BaseTestClient;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.qautil;
+
+public class MemoryClient002 extends BaseTestClient
+{
+ public static void main(String[] args)
+ {
+ MemoryClient002 test = new MemoryClient002(args);
+ }
+
+ private MemoryClient002(String[] args)
+ {
+ super(args);
+ }
+
+ public void Test()
+ {
+ try
+ {
+ setNumberOfCalls(3);
+ setNumberOfResources(2);
+ getClientThreshold(1);
+
+ TXBasicLockRecord[] mLockRecordList = new TXBasicLockRecord[mNumberOfResources];
+ //set up abstract records
+ for (int i = 0; i < mNumberOfResources; i++)
+ {
+ mLockRecordList[i] = new TXBasicLockRecord();
+ }
+
+ startTx();
+ //add abstract record
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ mLockRecordList[j].increase();
+ }
+ }
+ //comit transaction
+ commit();
+
+ //lets go to sleep to see if this helps the vm clean itself up
+ qautil.sleep();
+
+ //get first memory reading.
+ getFirstReading();
+
+ //start new AtomicAction
+ startTx();
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ mLockRecordList[j].increase();
+ }
+ }
+ //abort transaction
+ abort();
+
+ //lets go to sleep to see if this helps the vm clean itself up
+ qautil.sleep();
+
+ getSecondReading();
+
+ qaMemoryAssert();
+ }
+ catch (Exception e)
+ {
+ Fail("Error in MemoryClient002.test() :", e);
+ }
+ }
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/MemoryClient003.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/MemoryClient003.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/MemoryClient003.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,108 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.LockManager.client;
+
+import org.jboss.jbossts.qa.ArjunaCore.LockManager.impl.BasicLockRecord;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.BaseTestClient;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.qautil;
+
+public class MemoryClient003 extends BaseTestClient
+{
+ public static void main(String[] args)
+ {
+ MemoryClient003 test = new MemoryClient003(args);
+ }
+
+ private MemoryClient003(String[] args)
+ {
+ super(args);
+ }
+
+ public void Test()
+ {
+ try
+ {
+ setNumberOfCalls(3);
+ setNumberOfResources(2);
+ getClientThreshold(1);
+
+ BasicLockRecord[] mLockRecordList = new BasicLockRecord[mNumberOfResources];
+ //set up abstract records
+ for (int i = 0; i < mNumberOfResources; i++)
+ {
+ mLockRecordList[i] = new BasicLockRecord();
+ }
+
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ //start transaction
+ startTx();
+ mLockRecordList[j].increase();
+ if (i % 2 == 0)
+ {
+ commit();
+ }
+ else
+ {
+ abort();
+ }
+ }
+ }
+
+ //lets go to sleep to see if this helps the vm clean itself up
+ qautil.sleep();
+
+ //get first memory reading.
+ getFirstReading();
+
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ startTx();
+ mLockRecordList[j].increase();
+ if (i % 2 == 0)
+ {
+ commit();
+ }
+ else
+ {
+ abort();
+ }
+ }
+ }
+
+ //lets go to sleep to see if this helps the vm clean itself up
+ qautil.sleep();
+
+ getSecondReading();
+
+ qaMemoryAssert();
+ }
+ catch (Exception e)
+ {
+ Fail("Error in MemoryClient003.test() :", e);
+ }
+ }
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/MemoryClient004.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/MemoryClient004.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/MemoryClient004.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,120 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.LockManager.client;
+
+import org.jboss.jbossts.qa.ArjunaCore.LockManager.impl.TXBasicLockRecord;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.BaseTestClient;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.qautil;
+
+public class MemoryClient004 extends BaseTestClient
+{
+ public static void main(String[] args)
+ {
+ MemoryClient004 test = new MemoryClient004(args);
+ }
+
+ private MemoryClient004(String[] args)
+ {
+ super(args);
+ }
+
+ public void Test()
+ {
+ try
+ {
+ setNumberOfCalls(3);
+ setNumberOfResources(2);
+ getClientThreshold(1);
+
+ TXBasicLockRecord[] mLockRecordList = new TXBasicLockRecord[mNumberOfResources];
+
+ startStopWatch();
+
+ //set up abstract records
+ for (int i = 0; i < mNumberOfResources; i++)
+ {
+ mLockRecordList[i] = new TXBasicLockRecord();
+ }
+
+ long stopWatchTime = stopStopWatch();
+ System.err.println("Time taken to create records: " + stopWatchTime + "ms");
+
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ startStopWatch();
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ //start transaction
+ startTx();
+ mLockRecordList[j].increase();
+ if (i % 2 == 0)
+ {
+ commit();
+ }
+ else
+ {
+ abort();
+ }
+ }
+ stopWatchTime = stopStopWatch();
+ System.err.println("Time taken to increase resource " + mMaxIteration + " iteration(s): " + stopWatchTime + "ms");
+ }
+
+ //lets go to sleep to see if this helps the vm clean itself up
+ qautil.sleep();
+
+ //get first memory reading.
+ getFirstReading();
+
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ startStopWatch();
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ startTx();
+ mLockRecordList[j].increase();
+ if (i % 2 == 0)
+ {
+ commit();
+ }
+ else
+ {
+ abort();
+ }
+ }
+ stopWatchTime = stopStopWatch();
+ System.err.println("Time taken to increase resource " + mMaxIteration + " iteration(s): " + stopWatchTime + "ms");
+ }
+
+ //lets go to sleep to see if this helps the vm clean itself up
+ qautil.sleep();
+
+ getSecondReading();
+
+ qaMemoryAssert();
+ }
+ catch (Exception e)
+ {
+ Fail("Error in MemoryClient004.test() :", e);
+ }
+ }
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/Worker001.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/Worker001.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/Worker001.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,105 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.LockManager.client;
+
+import com.arjuna.ats.arjuna.AtomicAction;
+import org.jboss.jbossts.qa.ArjunaCore.LockManager.impl.BasicLockRecord;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.qautil;
+
+public class Worker001 extends Thread
+{
+ public Worker001(int iterations, int resources, BasicLockRecord[] records)
+ {
+ this(iterations, resources, records, 1);
+ }
+
+ public Worker001(int iterations, int resources, BasicLockRecord[] records, int id)
+ {
+ mMaxIteration = iterations;
+ mNumberOfResources = resources;
+ mLockRecordList = records;
+ mId = id;
+ }
+
+ /**
+ * The main method of the class that will perform the work.
+ */
+ public void run()
+ {
+ expectedValue = new int[mNumberOfResources];
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ expectedValue[j] = 0;
+ }
+
+ try
+ {
+ AtomicAction a = new AtomicAction();
+ //start transaction
+ a.begin();
+ //add abstract record
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ expectedValue[j] += mLockRecordList[j].increase();
+ }
+ }
+ //comit transaction
+ a.commit();
+
+ //start new AtomicAction
+ AtomicAction b = new AtomicAction();
+ b.begin();
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ mLockRecordList[j].increase();
+ }
+ }
+ //abort transaction
+ b.abort();
+ }
+ catch (Exception e)
+ {
+ mCorrect = false;
+ qautil.debug("exception in worker001: ", e);
+ }
+ }
+
+ public boolean isCorrect()
+ {
+ return mCorrect;
+ }
+
+ public int[] getExpectedValues()
+ {
+ return expectedValue;
+ }
+
+ private BasicLockRecord[] mLockRecordList;
+ private int mMaxIteration;
+ private int mNumberOfResources;
+ private int[] expectedValue;
+ private boolean mCorrect = true;
+ private int mId = 0;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/Worker002.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/Worker002.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/Worker002.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,105 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.LockManager.client;
+
+import com.arjuna.ats.arjuna.AtomicAction;
+import org.jboss.jbossts.qa.ArjunaCore.LockManager.impl.TXBasicLockRecord;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.qautil;
+
+public class Worker002 extends Thread
+{
+ public Worker002(int iterations, int resources, TXBasicLockRecord[] records)
+ {
+ this(iterations, resources, records, 1);
+ }
+
+ public Worker002(int iterations, int resources, TXBasicLockRecord[] records, int id)
+ {
+ mMaxIteration = iterations;
+ mNumberOfResources = resources;
+ mLockRecordList = records;
+ mId = id;
+ }
+
+ /**
+ * The main method of the class that will perform the work.
+ */
+ public void run()
+ {
+ expectedValue = new int[mNumberOfResources];
+ for (int i = 0; i < mNumberOfResources; i++)
+ {
+ expectedValue[i] = 0;
+ }
+
+ try
+ {
+ AtomicAction a = new AtomicAction();
+ //start transaction
+ a.begin();
+ //add abstract record
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ expectedValue[j] += mLockRecordList[j].increase();
+ }
+ }
+ //comit transaction
+ a.commit();
+
+ //start new AtomicAction
+ AtomicAction b = new AtomicAction();
+ b.begin();
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ mLockRecordList[j].increase();
+ }
+ }
+ //abort transaction
+ b.abort();
+ }
+ catch (Exception e)
+ {
+ mCorrect = false;
+ qautil.debug("exception in worker001: ", e);
+ }
+ }
+
+ public boolean isCorrect()
+ {
+ return mCorrect;
+ }
+
+ public int[] getExpectedValues()
+ {
+ return expectedValue;
+ }
+
+ private TXBasicLockRecord[] mLockRecordList;
+ private int mMaxIteration;
+ private int mNumberOfResources;
+ private int[] expectedValue;
+ private boolean mCorrect = true;
+ private int mId;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/Worker003.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/Worker003.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/Worker003.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,117 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.LockManager.client;
+
+import com.arjuna.ats.arjuna.AtomicAction;
+import org.jboss.jbossts.qa.ArjunaCore.LockManager.impl.BasicLockRecord;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.qautil;
+
+public class Worker003 extends Thread
+{
+ public Worker003(int iterations, int resources, BasicLockRecord[] records)
+ {
+ this(iterations, resources, records, 1);
+ }
+
+ public Worker003(int iterations, int resources, BasicLockRecord[] records, int id)
+ {
+ mMaxIteration = iterations;
+ mNumberOfResources = resources;
+ mLockRecordList = records;
+ mId = id;
+ }
+
+ /**
+ * The main method of the class that will perform the work.
+ */
+ public void run()
+ {
+ expectedValue = new int[mNumberOfResources];
+ for (int j = 0; j < expectedValue.length; j++)
+ {
+ expectedValue[j] = 0;
+ }
+
+ try
+ {
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ //start transaction
+ AtomicAction a = new AtomicAction();
+ a.begin();
+ int incValue = mLockRecordList[j].increase();
+ if (i % 2 == 0)
+ {
+ a.commit();
+ expectedValue[j] += incValue;
+ }
+ else
+ {
+ a.abort();
+ }
+ }
+ }
+
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ AtomicAction b = new AtomicAction();
+ b.begin();
+ int incValue = mLockRecordList[j].increase();
+ if (i % 2 == 0)
+ {
+ b.commit();
+ expectedValue[j] += incValue;
+ }
+ else
+ {
+ b.abort();
+ }
+ }
+ }
+ }
+ catch (Exception e)
+ {
+ mCorrect = false;
+ qautil.debug("exception in worker001: ", e);
+ }
+ }
+
+ public boolean isCorrect()
+ {
+ return mCorrect;
+ }
+
+ public int[] getExpectedValues()
+ {
+ return expectedValue;
+ }
+
+ private BasicLockRecord[] mLockRecordList;
+ private int[] expectedValue;
+ private int mMaxIteration;
+ private int mNumberOfResources;
+ private boolean mCorrect = true;
+ private int mId = 0;//default value
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/Worker004.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/Worker004.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/Worker004.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,112 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.LockManager.client;
+
+import com.arjuna.ats.arjuna.AtomicAction;
+import org.jboss.jbossts.qa.ArjunaCore.LockManager.impl.TXBasicLockRecord;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.qautil;
+
+public class Worker004 extends Thread
+{
+ public Worker004(int iterations, int resources, TXBasicLockRecord[] records, int id)
+ {
+ mMaxIteration = iterations;
+ mNumberOfResources = resources;
+ mLockRecordList = records;
+ mId = id;
+ }
+
+ /**
+ * The main method of the class that will perform the work.
+ */
+ public void run()
+ {
+ expectedValue = new int[mNumberOfResources];
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ expectedValue[j] = 0;
+ }
+
+ try
+ {
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ //start transaction
+ AtomicAction a = new AtomicAction();
+ a.begin();
+ int incValue = mLockRecordList[j].increase();
+ if (i % 2 == 0)
+ {
+ a.commit();
+ expectedValue[j] += incValue;
+ }
+ else
+ {
+ a.abort();
+ }
+ }
+ }
+
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ AtomicAction b = new AtomicAction();
+ b.begin();
+ int incValue = mLockRecordList[j].increase();
+ if (i % 2 == 0)
+ {
+ b.commit();
+ expectedValue[j] += incValue;
+ }
+ else
+ {
+ b.abort();
+ }
+ }
+ }
+ }
+ catch (Exception e)
+ {
+ mCorrect = false;
+ qautil.debug("exception in worker001: ", e);
+ }
+ }
+
+ public boolean isCorrect()
+ {
+ return mCorrect;
+ }
+
+ public int[] getExpectedValues()
+ {
+ return expectedValue;
+ }
+
+ private TXBasicLockRecord[] mLockRecordList;
+ private int mMaxIteration;
+ private int[] expectedValue;
+ private int mNumberOfResources;
+ private boolean mCorrect = true;
+ private int mId = 0;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/WorkerClient001.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/WorkerClient001.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/WorkerClient001.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,118 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.LockManager.client;
+
+import org.jboss.jbossts.qa.ArjunaCore.LockManager.impl.BasicLockRecord;
+import org.jboss.jbossts.qa.ArjunaCore.LockManager.impl.BasicLockRecord2;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.BaseTestClient;
+
+public class WorkerClient001 extends BaseTestClient
+{
+ public static void main(String[] args)
+ {
+ WorkerClient001 test = new WorkerClient001(args);
+ }
+
+ private WorkerClient001(String[] args)
+ {
+ super(args);
+
+ if (args.length > 0 && args[0].equals("-newlock"))
+ {
+ System.out.println("Creating a lock per attempt");
+ _newLock = true;
+ }
+ }
+
+ public void Test()
+ {
+ try
+ {
+ setNumberOfCalls(3);
+ setNumberOfResources(2);
+ setNumberOfWorkers(1);
+
+ //set up lockmanager records - if newLock use the implementation with new lock per iteration
+ BasicLockRecord[] mLockRecordList = _newLock ? new BasicLockRecord[mNumberOfResources] : new BasicLockRecord2[mNumberOfResources];
+ int expectedValue[] = new int[mNumberOfResources];
+ for (int i = 0; i < mNumberOfResources; i++)
+ {
+ mLockRecordList[i] = _newLock ? new BasicLockRecord() : new BasicLockRecord2();
+ expectedValue[i] = 0;
+ }
+
+ Worker001[] mWorkers = new Worker001[mNumberOfWorkers];
+ for (int i = 0; i < mNumberOfWorkers; i++)
+ {
+ mWorkers[i] = new Worker001(mMaxIteration, mNumberOfResources, mLockRecordList, i);
+ mWorkers[i].start();
+ }
+
+ try
+ {
+ //wait for threads to complete
+ for (int i = 0; i < mNumberOfWorkers; i++)
+ {
+ mWorkers[i].join();
+ //check for any exceptions
+ if (!mWorkers[i].isCorrect())
+ {
+ Debug("worker " + i + " has encountered an exception");
+ mCorrect = false;
+ }
+
+ int[] workerExpectedValue = mWorkers[i].getExpectedValues();
+
+ for (int j = 0; j < expectedValue.length; j++)
+ {
+ expectedValue[j] += workerExpectedValue[j];
+ }
+ }
+ }
+ catch (Exception e)
+ {
+ mCorrect = false;
+ Debug("exception in worker thread ", e);
+ }
+
+ //now check final values we are not expecting all increases
+ // to be done but we do expect at least (mPercent) to have worked.
+ for (int i = 0; i < mNumberOfResources; i++)
+ {
+ int endValue = mLockRecordList[i].getValue();
+ double result = Math.abs(endValue - expectedValue[i]) / (double) expectedValue[i];
+ if (result > mPercent)
+ {
+ Debug("resource " + i + " final value is incorrect: value =" + mLockRecordList[i].getValue() + " we expected = " + expectedValue[i] + " does not fall into the " + (mPercent * 100) + "% margin");
+ mCorrect = false;
+ }
+ }
+
+ qaAssert(mCorrect);
+ }
+ catch (Exception e)
+ {
+ Fail("Error in WorkerClient001.test() :", e);
+ }
+ }
+
+ private boolean _newLock = false;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/WorkerClient002.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/WorkerClient002.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/WorkerClient002.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,117 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.LockManager.client;
+
+import org.jboss.jbossts.qa.ArjunaCore.LockManager.impl.TXBasicLockRecord;
+import org.jboss.jbossts.qa.ArjunaCore.LockManager.impl.TXBasicLockRecord2;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.BaseTestClient;
+
+public class WorkerClient002 extends BaseTestClient
+{
+ public static void main(String[] args)
+ {
+ WorkerClient002 test = new WorkerClient002(args);
+ }
+
+ private WorkerClient002(String[] args)
+ {
+ super(args);
+
+ if (args.length > 0 && args[0].equals("-newlock"))
+ {
+ System.out.println("Creating a lock per attempt");
+ _newLock = true;
+ }
+ }
+
+ public void Test()
+ {
+ try
+ {
+ setNumberOfCalls(3);
+ setNumberOfResources(2);
+ setNumberOfWorkers(1);
+
+ //set up lockmanager records
+ TXBasicLockRecord[] mLockRecordList = _newLock ? new TXBasicLockRecord[mNumberOfResources] : new TXBasicLockRecord2[mNumberOfResources];
+ int[] expectedValue = new int[mNumberOfResources];
+
+ for (int i = 0; i < mNumberOfResources; i++)
+ {
+ mLockRecordList[i] = _newLock ? new TXBasicLockRecord() : new TXBasicLockRecord2();
+ expectedValue[i] = 0;
+ }
+
+ Worker002[] mWorkers = new Worker002[mNumberOfWorkers];
+ for (int i = 0; i < mNumberOfWorkers; i++)
+ {
+ mWorkers[i] = new Worker002(mMaxIteration, mNumberOfResources, mLockRecordList, i);
+ mWorkers[i].start();
+ }
+
+ try
+ {
+ //wait for threads to complete
+ for (int i = 0; i < mNumberOfWorkers; i++)
+ {
+ mWorkers[i].join();
+ //check for any exceptions
+ if (!mWorkers[i].isCorrect())
+ {
+ Debug("worker " + i + " has encountered an exception");
+ mCorrect = false;
+ }
+
+ int[] workersExpectedValue = mWorkers[i].getExpectedValues();
+ for (int j = 0; j < workersExpectedValue.length; j++)
+ {
+ expectedValue[j] += workersExpectedValue[j];
+ }
+ }
+ }
+ catch (Exception e)
+ {
+ mCorrect = false;
+ Debug("exception in worker thread ", e);
+ }
+
+ //now check final values
+ for (int i = 0; i < mNumberOfResources; i++)
+ {
+ int endValue = mLockRecordList[i].getValue();
+ double result = Math.abs(endValue - expectedValue[i]) / (double) expectedValue[i];
+ if (result > mPercent)
+ {
+ Debug("resource " + i + " final value is incorrect: value =" + mLockRecordList[i].getValue() + " we expected = " + expectedValue[i] + " does not fall in the " + (mPercent * 100) + "% margin");
+ mCorrect = false;
+ }
+ }
+
+ qaAssert(mCorrect);
+ }
+ catch (Exception e)
+ {
+ Fail("Error in WorkerClient002.test() :", e);
+ }
+ }
+
+ private boolean _newLock = false;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/WorkerClient003.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/WorkerClient003.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/WorkerClient003.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,118 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.LockManager.client;
+
+import org.jboss.jbossts.qa.ArjunaCore.LockManager.impl.BasicLockRecord;
+import org.jboss.jbossts.qa.ArjunaCore.LockManager.impl.BasicLockRecord2;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.BaseTestClient;
+
+public class WorkerClient003 extends BaseTestClient
+{
+ public static void main(String[] args)
+ {
+ WorkerClient003 test = new WorkerClient003(args);
+ }
+
+ private WorkerClient003(String[] args)
+ {
+ super(args);
+
+ if (args.length > 0 && args[0].equals("-newlock"))
+ {
+ System.out.println("Creating a lock per attempt");
+ _newLock = true;
+ }
+ }
+
+ public void Test()
+ {
+ try
+ {
+ setNumberOfCalls(3);
+ setNumberOfResources(2);
+ setNumberOfWorkers(1);
+
+ //set up lockmanager records
+ BasicLockRecord[] mLockRecordList = _newLock ? new BasicLockRecord[mNumberOfResources] : new BasicLockRecord2[mNumberOfResources];
+ int[] expectedValue = new int[mNumberOfResources];
+
+ for (int i = 0; i < mNumberOfResources; i++)
+ {
+ mLockRecordList[i] = _newLock ? new BasicLockRecord() : new BasicLockRecord2();
+ expectedValue[i] = 0;
+ }
+
+ Worker003[] mWorkers = new Worker003[mNumberOfWorkers];
+ for (int i = 0; i < mNumberOfWorkers; i++)
+ {
+ mWorkers[i] = new Worker003(mMaxIteration, mNumberOfResources, mLockRecordList, i);
+ mWorkers[i].start();
+ }
+
+ try
+ {
+ //wait for threads to complete
+ for (int i = 0; i < mNumberOfWorkers; i++)
+ {
+ mWorkers[i].join();
+ //check for any exceptions
+ if (!mWorkers[i].isCorrect())
+ {
+ Debug("worker " + i + " has encountered an exception");
+ mCorrect = false;
+ }
+
+ int[] workersExpectedValue = mWorkers[i].getExpectedValues();
+ for (int j = 0; j < workersExpectedValue.length; j++)
+ {
+ expectedValue[j] += workersExpectedValue[j];
+ }
+ }
+ }
+ catch (Exception e)
+ {
+ mCorrect = false;
+ Debug("exception in worker thread ", e);
+ }
+
+ //now check final values
+ for (int i = 0; i < mNumberOfResources; i++)
+ {
+ int endValue = mLockRecordList[i].getValue();
+ double result = Math.abs(endValue - expectedValue[i]) / (double) expectedValue[i];
+ if (result > mPercent)
+ {
+
+ Debug("resource " + i + " final value is incorrect: value =" + mLockRecordList[i].getValue() + " we expected = " + expectedValue[i] + " does not fall within the " + (mPercent * 100) + "% margin");
+ mCorrect = false;
+ }
+ }
+
+ qaAssert(mCorrect);
+ }
+ catch (Exception e)
+ {
+ Fail("Error in WorkerClient003.test() :", e);
+ }
+ }
+
+ private boolean _newLock = false;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/WorkerClient004.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/WorkerClient004.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/client/WorkerClient004.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,121 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.LockManager.client;
+
+import org.jboss.jbossts.qa.ArjunaCore.LockManager.impl.TXBasicLockRecord;
+import org.jboss.jbossts.qa.ArjunaCore.LockManager.impl.TXBasicLockRecord2;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.BaseTestClient;
+
+public class WorkerClient004 extends BaseTestClient
+{
+ public static void main(String[] args)
+ {
+ WorkerClient004 test = new WorkerClient004(args);
+ }
+
+ private WorkerClient004(String[] args)
+ {
+ super(args);
+
+ if (args.length > 0 && args[0].equals("-newlock"))
+ {
+ System.out.println("Creating a lock per attempt");
+ _newLock = true;
+ }
+ else
+ {
+ System.out.println("Creating a single lock for all attempts");
+ }
+ }
+
+ public void Test()
+ {
+ try
+ {
+ setNumberOfCalls(3);
+ setNumberOfResources(2);
+ setNumberOfWorkers(1);
+
+ //set up lockmanager records
+ TXBasicLockRecord[] mLockRecordList = _newLock ? new TXBasicLockRecord[mNumberOfResources] : new TXBasicLockRecord2[mNumberOfResources];
+ int[] expectedValue = new int[mNumberOfResources];
+
+ for (int i = 0; i < mNumberOfResources; i++)
+ {
+ mLockRecordList[i] = _newLock ? new TXBasicLockRecord() : new TXBasicLockRecord2();
+ expectedValue[i] = 0;
+ }
+
+ Worker004[] mWorkers = new Worker004[mNumberOfWorkers];
+ for (int i = 0; i < mNumberOfWorkers; i++)
+ {
+ mWorkers[i] = new Worker004(mMaxIteration, mNumberOfResources, mLockRecordList, i);
+ mWorkers[i].start();
+ }
+
+ try
+ {
+ //wait for threads to complete
+ for (int i = 0; i < mNumberOfWorkers; i++)
+ {
+ mWorkers[i].join();
+ //check for any exceptions
+ if (!mWorkers[i].isCorrect())
+ {
+ Debug("worker " + i + " has encountered an exception");
+ mCorrect = false;
+ }
+
+ int[] workersExpectedValue = mWorkers[i].getExpectedValues();
+ for (int j = 0; j < workersExpectedValue.length; j++)
+ {
+ expectedValue[j] += workersExpectedValue[j];
+ }
+ }
+ }
+ catch (Exception e)
+ {
+ mCorrect = false;
+ Debug("exception in worker thread " + e);
+ }
+
+ //now check final values
+ for (int i = 0; i < mNumberOfResources; i++)
+ {
+ int endValue = mLockRecordList[i].getValue();
+ double result = Math.abs(endValue - expectedValue[i]) / (double) expectedValue[i];
+ if (result > mPercent)
+ {
+ Debug("resource " + i + " final value is incorrect: value =" + mLockRecordList[i].getValue() + " we expected = " + expectedValue[i] + " does not fall within the " + (mPercent * 100) + "% margin");
+ mCorrect = false;
+ }
+ }
+
+ qaAssert(mCorrect);
+ }
+ catch (Exception e)
+ {
+ Fail("Error in WorkerClient004.test() :", e);
+ }
+ }
+
+ private boolean _newLock = false;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/impl/BasicLockRecord.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/impl/BasicLockRecord.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/impl/BasicLockRecord.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,184 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.LockManager.impl;
+
+import com.arjuna.ats.arjuna.ObjectType;
+import com.arjuna.ats.arjuna.common.Uid;
+import com.arjuna.ats.arjuna.state.InputObjectState;
+import com.arjuna.ats.arjuna.state.OutputObjectState;
+import com.arjuna.ats.txoj.Lock;
+import com.arjuna.ats.txoj.LockManager;
+import com.arjuna.ats.txoj.LockMode;
+import com.arjuna.ats.txoj.LockResult;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.qautil;
+
+/**
+ * Simple record used to test AtomicAction
+ */
+public class BasicLockRecord extends LockManager
+{
+ public BasicLockRecord()
+ {
+ super(ObjectType.ANDPERSISTENT);
+ }
+
+ public BasicLockRecord(Uid oldId)
+ {
+ super(oldId, ObjectType.ANDPERSISTENT);
+ }
+
+ protected BasicLockRecord(Uid storeUid, int ot)
+ {
+ super(storeUid, ot);
+ }
+
+ public BasicLockRecord(int id)
+ {
+ super(ObjectType.ANDPERSISTENT);
+ mId = id;
+ }
+
+ /**
+ * My methods to test abstract record is being processed correctly by the transaction
+ * manager.
+ */
+ public int increase()
+ {
+ return increase(0);
+ }
+
+ public int increase(int retry)
+ {
+ return increase(retry, 0);
+ }
+
+ public int increase(int retry, int wait_time)
+ {
+ int returnValue = 0;
+ int locking_result = LockResult.REFUSED;
+ int locking_attempt_count = 0;
+
+ do
+ {
+ locking_result = setlock(new Lock(LockMode.WRITE), retry, wait_time);
+
+ if (locking_result == LockResult.GRANTED)
+ {
+ mValue++;
+ }
+ else
+ {
+ locking_attempt_count++;
+ }
+ }
+ while ((locking_result != LockResult.GRANTED) && (locking_attempt_count < mLimit));
+
+ if (locking_result != LockResult.GRANTED)
+ {
+ qautil.qadebug("trying to get lock for " + mLimit + "th time");
+ }
+ else
+ {
+ returnValue = 1;
+ }
+
+ return returnValue;
+ }
+
+ public int getValue()
+ {
+ return getValue(5);
+ }
+
+ public int getValue(int retry)
+ {
+ return getValue(retry, 250);
+ }
+
+ public int getValue(int retry, int wait_time)
+ {
+ int return_value = 0;
+ int locking_result = LockResult.REFUSED;
+ int locking_attempt_count = 0;
+
+ do
+ {
+ locking_result = setlock(new Lock(LockMode.READ), retry, wait_time);
+
+ if (locking_result == LockResult.GRANTED)
+ {
+ return_value = mValue;
+ }
+ else
+ {
+ locking_attempt_count++;
+ }
+ }
+ while ((locking_result != LockResult.GRANTED) && (locking_attempt_count < mLimit));
+
+ if (locking_result != LockResult.GRANTED)
+ {
+ qautil.qadebug("trying to get lock for " + mLimit + "th time");
+ }
+
+ return return_value;
+ }
+
+ public boolean save_state(OutputObjectState objectState, int objectType)
+ {
+ super.save_state(objectState, objectType);
+ try
+ {
+ objectState.packInt(mValue);
+ return true;
+ }
+ catch (Exception exception)
+ {
+ qautil.debug("BasicLockRecord.save_state: ", exception);
+ return false;
+ }
+ }
+
+ public boolean restore_state(InputObjectState objectState, int objectType)
+ {
+ super.restore_state(objectState, objectType);
+ try
+ {
+ mValue = objectState.unpackInt();
+ return true;
+ }
+ catch (Exception exception)
+ {
+ qautil.debug("BasicLockRecord.restore_state: ", exception);
+ return false;
+ }
+ }
+
+ public String type()
+ {
+ return "/StateManager/LockManager/BasicLockRecord";
+ }
+
+ private int mValue = 0;
+ private int mLimit = 1000;
+ private int mId = 0;
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/impl/BasicLockRecord2.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/impl/BasicLockRecord2.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/impl/BasicLockRecord2.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,179 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.LockManager.impl;
+
+import com.arjuna.ats.arjuna.ObjectType;
+import com.arjuna.ats.arjuna.common.Uid;
+import com.arjuna.ats.arjuna.state.InputObjectState;
+import com.arjuna.ats.arjuna.state.OutputObjectState;
+import com.arjuna.ats.txoj.Lock;
+import com.arjuna.ats.txoj.LockMode;
+import com.arjuna.ats.txoj.LockResult;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.qautil;
+
+/**
+ * Simple record used to test AtomicAction
+ */
+public class BasicLockRecord2 extends BasicLockRecord
+{
+ public BasicLockRecord2()
+ {
+ super(ObjectType.ANDPERSISTENT);
+ }
+
+ public BasicLockRecord2(Uid oldId)
+ {
+ super(oldId, ObjectType.ANDPERSISTENT);
+ }
+
+ public BasicLockRecord2(int id)
+ {
+ super(ObjectType.ANDPERSISTENT);
+ mId = id;
+ }
+
+ /**
+ * My methods to test abstract record is being processed correctly by the transaction
+ * manager.
+ */
+ public int increase()
+ {
+ return increase(0);
+ }
+
+ public int increase(int retry)
+ {
+ return increase(retry, 0);
+ }
+
+ public int increase(int retry, int wait_time)
+ {
+ int returnValue = 0;
+ int locking_result = LockResult.REFUSED;
+ int locking_attempt_count = 0;
+ Lock lck = new Lock(LockMode.WRITE);
+ do
+ {
+ locking_result = setlock(lck, retry, wait_time);
+
+ if (locking_result == LockResult.GRANTED)
+ {
+ mValue++;
+ }
+ else
+ {
+ locking_attempt_count++;
+ }
+ }
+ while ((locking_result != LockResult.GRANTED) && (locking_attempt_count < mLimit));
+
+ if (locking_result != LockResult.GRANTED)
+ {
+ qautil.qadebug("trying to get lock for " + mLimit + "th time");
+ }
+ else
+ {
+ returnValue = 1;
+ }
+
+ return returnValue;
+ }
+
+ public int getValue()
+ {
+ return getValue(5);
+ }
+
+ public int getValue(int retry)
+ {
+ return getValue(retry, 250);
+ }
+
+ public int getValue(int retry, int wait_time)
+ {
+ int return_value = 0;
+ int locking_result = LockResult.REFUSED;
+ int locking_attempt_count = 0;
+ Lock lck = new Lock(LockMode.READ);
+
+ do
+ {
+ locking_result = setlock(lck, retry, wait_time);
+
+ if (locking_result == LockResult.GRANTED)
+ {
+ return_value = mValue;
+ }
+ else
+ {
+ locking_attempt_count++;
+ }
+ }
+ while ((locking_result != LockResult.GRANTED) && (locking_attempt_count < mLimit));
+
+ if (locking_result != LockResult.GRANTED)
+ {
+ qautil.qadebug("trying to get lock for " + mLimit + "th time");
+ }
+
+ return return_value;
+ }
+
+ public boolean save_state(OutputObjectState objectState, int objectType)
+ {
+ super.save_state(objectState, objectType);
+ try
+ {
+ objectState.packInt(mValue);
+ return true;
+ }
+ catch (Exception exception)
+ {
+ qautil.debug("BasicLockRecord.save_state: ", exception);
+ return false;
+ }
+ }
+
+ public boolean restore_state(InputObjectState objectState, int objectType)
+ {
+ super.restore_state(objectState, objectType);
+ try
+ {
+ mValue = objectState.unpackInt();
+ return true;
+ }
+ catch (Exception exception)
+ {
+ qautil.debug("BasicLockRecord.restore_state: ", exception);
+ return false;
+ }
+ }
+
+ public String type()
+ {
+ return "/StateManager/LockManager/BasicLockRecord";
+ }
+
+ private int mValue = 0;
+ private int mLimit = 1000;
+ private int mId = 0;
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/impl/TXBasicLockRecord.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/impl/TXBasicLockRecord.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/impl/TXBasicLockRecord.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,229 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.LockManager.impl;
+
+import com.arjuna.ats.arjuna.AtomicAction;
+import com.arjuna.ats.arjuna.ObjectType;
+import com.arjuna.ats.arjuna.common.Uid;
+import com.arjuna.ats.arjuna.state.InputObjectState;
+import com.arjuna.ats.arjuna.state.OutputObjectState;
+import com.arjuna.ats.txoj.Lock;
+import com.arjuna.ats.txoj.LockMode;
+import com.arjuna.ats.txoj.LockResult;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.qautil;
+import org.jboss.jbossts.qa.Utils.JVMStats;
+
+/**
+ * Simple record used to test AtomicAction
+ */
+public class TXBasicLockRecord extends BasicLockRecord
+{
+ public TXBasicLockRecord()
+ {
+ super(ObjectType.ANDPERSISTENT);
+ }
+
+ protected TXBasicLockRecord(Uid storeUid, int ot)
+ {
+ super(storeUid, ot);
+ }
+
+ public TXBasicLockRecord(int id)
+ {
+ super(ObjectType.ANDPERSISTENT);
+ mId = id;
+ }
+
+ public TXBasicLockRecord(Uid oldId)
+ {
+ super(oldId, ObjectType.ANDPERSISTENT);
+ }
+
+ public int increase()
+ {
+ return increase(0);
+ }
+
+ public int increase(int retry)
+ {
+ return increase(retry, 0);
+ }
+
+ private long timeOfLastWaiting = 0;
+
+ /**
+ * We will start a subtrancastion during the increase to see what effet this has.
+ *
+ * @return +1 if tx was committed, 0 if tx was not committed
+ */
+ public int increase(int retry, int wait_time)
+ {
+ int returnValue = 0;
+ AtomicAction a = new AtomicAction();
+ a.begin();
+ try
+ {
+ int locking_result = LockResult.REFUSED;
+ int locking_attempt_count = 0;
+ do
+ {
+ locking_result = setlock(new Lock(LockMode.WRITE), retry, wait_time);
+
+ if (locking_result == LockResult.GRANTED)
+ {
+ mValue++;
+ }
+ else
+ {
+ locking_attempt_count++;
+ }
+
+ if (timeOfLastWaiting < (System.currentTimeMillis() - 15000))
+ {
+ System.out.println("Thread: [" + Thread.currentThread() + "]");
+ timeOfLastWaiting = System.currentTimeMillis();
+ }
+ }
+ while ((locking_result != LockResult.GRANTED) && (locking_attempt_count < mLimit));
+
+ if (locking_result != LockResult.GRANTED)
+ {
+ qautil.qadebug("trying to get lock for " + mLimit + "th time");
+ a.abort();
+ }
+ else
+ {
+ a.commit();
+ returnValue = 1;
+ }
+ }
+ catch (Exception e)
+ {
+ a.abort();
+ qautil.debug("exception in increase method ", e);
+ }
+ return returnValue;
+ }
+
+ /**
+ * Call to getValue with default value of 10 for retry time.
+ */
+ public int getValue()
+ {
+ return getValue(1);
+ }
+
+ public int getValue(int retry)
+ {
+ return getValue(retry, 10);
+ }
+
+ public int getValue(int retry, int wait_time)
+ {
+ int return_value = 0;
+
+ AtomicAction a = new AtomicAction();
+ a.begin();
+ try
+ {
+ int locking_result = LockResult.REFUSED;
+ int locking_attempt_count = 0;
+
+ do
+ {
+ locking_result = setlock(new Lock(LockMode.READ), retry, wait_time);
+
+ if (locking_result == LockResult.GRANTED)
+ {
+ return_value = mValue;
+ }
+ else
+ {
+ locking_attempt_count++;
+ }
+ }
+ while ((locking_result != LockResult.GRANTED) && (locking_attempt_count < mLimit));
+
+ if (locking_result != LockResult.GRANTED)
+ {
+ qautil.qadebug("trying to get lock for " + mLimit + "th time");
+ }
+
+ a.commit();
+ }
+ catch (Exception e)
+ {
+ a.abort();
+ qautil.debug("exception in get method ", e);
+ }
+
+ return return_value;
+ }
+
+ /**
+ * Method used to check for any memory leaks.
+ */
+ public int getMemory()
+ {
+ return (int) JVMStats.getMemory();
+ }
+
+ public boolean save_state(OutputObjectState objectState, int objectType)
+ {
+ super.save_state(objectState, objectType);
+ try
+ {
+ objectState.packInt(mValue);
+ return true;
+ }
+ catch (Exception exception)
+ {
+ qautil.debug("TXBasicLockRecord.save_state: ", exception);
+ return false;
+ }
+ }
+
+ public boolean restore_state(InputObjectState objectState, int objectType)
+ {
+ qautil.qadebug("restore state of " + this + " = " + mValue);
+ super.restore_state(objectState, objectType);
+ try
+ {
+ mValue = objectState.unpackInt();
+ return true;
+ }
+ catch (Exception exception)
+ {
+ qautil.debug("TXBasicLockRecord.restore_state: ", exception);
+ return false;
+ }
+ }
+
+ public String type()
+ {
+ return "/StateManager/LockManager/TXBasicLockRecord";
+ }
+
+ private int mValue = 0;
+ private int mLimit = 1000;
+ private int mId = 0;
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/impl/TXBasicLockRecord2.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/impl/TXBasicLockRecord2.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/LockManager/impl/TXBasicLockRecord2.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,217 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.LockManager.impl;
+
+import com.arjuna.ats.arjuna.AtomicAction;
+import com.arjuna.ats.arjuna.ObjectType;
+import com.arjuna.ats.arjuna.common.Uid;
+import com.arjuna.ats.arjuna.state.InputObjectState;
+import com.arjuna.ats.arjuna.state.OutputObjectState;
+import com.arjuna.ats.txoj.Lock;
+import com.arjuna.ats.txoj.LockMode;
+import com.arjuna.ats.txoj.LockResult;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.qautil;
+import org.jboss.jbossts.qa.Utils.JVMStats;
+
+/**
+ * Simple record used to test AtomicAction
+ */
+public class TXBasicLockRecord2 extends TXBasicLockRecord
+{
+ public TXBasicLockRecord2()
+ {
+ super(ObjectType.ANDPERSISTENT);
+ }
+
+ public TXBasicLockRecord2(int id)
+ {
+ super(ObjectType.ANDPERSISTENT);
+ mId = id;
+ }
+
+ public TXBasicLockRecord2(Uid oldId)
+ {
+ super(oldId, ObjectType.ANDPERSISTENT);
+ }
+
+ public int increase()
+ {
+ return increase(0);
+ }
+
+ public int increase(int retry)
+ {
+ return increase(retry, 0);
+ }
+
+ /**
+ * We will start a subtrancastion during the increase to see what effet this has.
+ *
+ * @return +1 if tx was committed, 0 if tx was not committed
+ */
+ public int increase(int retry, int wait_time)
+ {
+ int returnValue = 0;
+ AtomicAction a = new AtomicAction();
+ a.begin();
+ try
+ {
+ int locking_result = LockResult.REFUSED;
+ int locking_attempt_count = 0;
+ Lock lck = new Lock(LockMode.WRITE);
+ do
+ {
+ locking_result = setlock(lck, retry, wait_time);
+
+ if (locking_result == LockResult.GRANTED)
+ {
+ mValue++;
+ }
+ else
+ {
+ locking_attempt_count++;
+ }
+ }
+ while ((locking_result != LockResult.GRANTED) && (locking_attempt_count < mLimit));
+
+ if (locking_result != LockResult.GRANTED)
+ {
+ qautil.qadebug("trying to get lock for " + mLimit + "th time");
+ a.abort();
+ }
+ else
+ {
+ a.commit();
+ returnValue = 1;
+ }
+ }
+ catch (Exception e)
+ {
+ a.abort();
+ qautil.debug("exception in increase method ", e);
+ }
+ return returnValue;
+ }
+
+ /**
+ * Call to getValue with default value of 10 for retry time.
+ */
+ public int getValue()
+ {
+ return getValue(1);
+ }
+
+ public int getValue(int retry)
+ {
+ return getValue(retry, 10);
+ }
+
+ public int getValue(int retry, int wait_time)
+ {
+ int return_value = 0;
+
+ AtomicAction a = new AtomicAction();
+ a.begin();
+ try
+ {
+ int locking_result = LockResult.REFUSED;
+ int locking_attempt_count = 0;
+ Lock lck = new Lock(LockMode.READ);
+ do
+ {
+ locking_result = setlock(lck, retry, wait_time);
+
+ if (locking_result == LockResult.GRANTED)
+ {
+ return_value = mValue;
+ }
+ else
+ {
+ locking_attempt_count++;
+ }
+ }
+ while ((locking_result != LockResult.GRANTED) && (locking_attempt_count < mLimit));
+
+ if (locking_result != LockResult.GRANTED)
+ {
+ qautil.qadebug("trying to get lock for " + mLimit + "th time");
+ }
+
+ a.commit();
+ }
+ catch (Exception e)
+ {
+ a.abort();
+ qautil.debug("exception in get method ", e);
+ }
+
+ return return_value;
+ }
+
+ /**
+ * Method used to check for any memory leaks.
+ */
+ public int getMemory()
+ {
+ return (int) JVMStats.getMemory();
+ }
+
+ public boolean save_state(OutputObjectState objectState, int objectType)
+ {
+ super.save_state(objectState, objectType);
+ try
+ {
+ objectState.packInt(mValue);
+ return true;
+ }
+ catch (Exception exception)
+ {
+ qautil.debug("TXBasicLockRecord.save_state: ", exception);
+ return false;
+ }
+ }
+
+ public boolean restore_state(InputObjectState objectState, int objectType)
+ {
+ qautil.qadebug("restore state of " + this + " = " + mValue);
+ super.restore_state(objectState, objectType);
+ try
+ {
+ mValue = objectState.unpackInt();
+ return true;
+ }
+ catch (Exception exception)
+ {
+ qautil.debug("TXBasicLockRecord.restore_state: ", exception);
+ return false;
+ }
+ }
+
+ public String type()
+ {
+ return "/StateManager/LockManager/TXBasicLockRecord";
+ }
+
+ private int mValue = 0;
+ private int mLimit = 1000;
+ private int mId = 0;
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/CrashRecovery/client/Client001a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/CrashRecovery/client/Client001a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/CrashRecovery/client/Client001a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,85 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.StateManager.CrashRecovery.client;
+
+import org.jboss.jbossts.qa.ArjunaCore.StateManager.impl.BasicStateRecord;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.BaseTestClient;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.qautil;
+
+public class Client001a extends BaseTestClient
+{
+ public static void main(String[] args)
+ {
+ Client001a test = new Client001a(args);
+ }
+
+ private Client001a(String[] args)
+ {
+ super(args);
+ }
+
+ public void Test()
+ {
+ try
+ {
+ setNumberOfCalls(3);
+ setNumberOfResources(2);
+ setUniquePrefix(1);
+
+ //sleep
+ qautil.sleep();
+
+ //restore objects from uid's
+ BasicStateRecord[] mStateRecordList = new BasicStateRecord[mNumberOfResources];
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ String key = getResourceName("resource_" + j);
+ try
+ {
+ mStateRecordList[j] = new BasicStateRecord(qautil.loadUid(key));
+ qautil.clearUid(key);
+ }
+ catch (Exception e)
+ {
+ Debug("Error when reading uid store");
+ mCorrect = false;
+ }
+ }
+
+ //record should hav ebeen commited by recovery manager
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ if (mStateRecordList[j].getValue() != (mMaxIteration + 1))
+ {
+ Debug("value is incorrect: " + mStateRecordList[j].getValue());
+ mCorrect = false;
+ }
+ }
+
+ qaAssert(mCorrect);
+ }
+ catch (Exception e)
+ {
+ Fail("Error in Client001a.test() :", e);
+ }
+ }
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/CrashRecovery/client/Client001b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/CrashRecovery/client/Client001b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/CrashRecovery/client/Client001b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,99 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.StateManager.CrashRecovery.client;
+
+import org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.impl.CrashAbstractRecord;
+import org.jboss.jbossts.qa.ArjunaCore.StateManager.impl.BasicStateRecord;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.BaseTestClient;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.qautil;
+
+public class Client001b extends BaseTestClient
+{
+ public static void main(String[] args)
+ {
+ Client001b test = new Client001b(args);
+ }
+
+ private Client001b(String[] args)
+ {
+ super(args);
+ }
+
+ public void Test()
+ {
+ try
+ {
+ setNumberOfCalls(5);
+ setNumberOfResources(4);
+ setCrashPoint(3);
+ setCrashType(2);
+ setUniquePrefix(1);
+
+ //create crash record first so uid is processed first
+ CrashAbstractRecord mCrashObject = new CrashAbstractRecord(mCrashPoint, mCrashType);
+
+ BasicStateRecord[] mStateRecordList = new BasicStateRecord[mNumberOfResources];
+ //set up lock records and store away uids
+ for (int i = 0; i < mNumberOfResources; i++)
+ {
+ mStateRecordList[i] = new BasicStateRecord(i);
+ String key = getResourceName("resource_" + i);
+ try
+ {
+ qautil.storeUid(key, mStateRecordList[i].get_uid());
+ }
+ catch (Exception e)
+ {
+ Debug("Error when creating ior store");
+ mCorrect = false;
+ }
+ }
+
+ //start transaction to check all is ok.
+ startTx();
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ mStateRecordList[j].increase();
+ }
+ commit();
+
+ //start new AtomicAction
+ startTx();
+ add(mCrashObject);
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ mStateRecordList[j].increase();
+ }
+ }
+ commit();
+
+ //we do not need to do anything else it should finish here if not print failed
+ Fail();
+ }
+ catch (Exception e)
+ {
+ Fail("Error in Client001b.test() :", e);
+ }
+ }
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/CrashRecovery/client/Client002a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/CrashRecovery/client/Client002a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/CrashRecovery/client/Client002a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,85 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.StateManager.CrashRecovery.client;
+
+import org.jboss.jbossts.qa.ArjunaCore.StateManager.impl.BasicStateRecord;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.BaseTestClient;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.qautil;
+
+public class Client002a extends BaseTestClient
+{
+ public static void main(String[] args)
+ {
+ Client002a test = new Client002a(args);
+ }
+
+ private Client002a(String[] args)
+ {
+ super(args);
+ }
+
+ public void Test()
+ {
+ try
+ {
+ setNumberOfCalls(3);
+ setNumberOfResources(2);
+ setUniquePrefix(1);
+
+ //sleep
+ qautil.sleep();
+
+ //restore objects from uid's
+ BasicStateRecord[] mStateRecordList = new BasicStateRecord[mNumberOfResources];
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ String key = getResourceName("resource_" + j);
+ try
+ {
+ mStateRecordList[j] = new BasicStateRecord(qautil.loadUid(key));
+ qautil.clearUid(key);
+ }
+ catch (Exception e)
+ {
+ Debug("Error when reading uid store");
+ mCorrect = false;
+ }
+ }
+
+ //record should hav ebeen commited by recovery manager
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ if (mStateRecordList[j].getValue() != 1)
+ {
+ Debug("value is incorrect: " + mStateRecordList[j].getValue());
+ mCorrect = false;
+ }
+ }
+
+ qaAssert(mCorrect);
+ }
+ catch (Exception e)
+ {
+ Fail("Error in Client002a.test() :", e);
+ }
+ }
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/CrashRecovery/client/Client002b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/CrashRecovery/client/Client002b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/CrashRecovery/client/Client002b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,100 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.StateManager.CrashRecovery.client;
+
+import org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.CrashRecovery.impl.CrashAbstractRecord;
+import org.jboss.jbossts.qa.ArjunaCore.StateManager.impl.BasicStateRecord;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.BaseTestClient;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.qautil;
+
+public class Client002b extends BaseTestClient
+{
+ public static void main(String[] args)
+ {
+ Client002b test = new Client002b(args);
+ }
+
+ private Client002b(String[] args)
+ {
+ super(args);
+ }
+
+ public void Test()
+ {
+ try
+ {
+ setNumberOfCalls(5);
+ setNumberOfResources(4);
+ setCrashPoint(3);
+ setCrashType(2);
+ setUniquePrefix(1);
+
+ BasicStateRecord[] mStateRecordList = new BasicStateRecord[mNumberOfResources];
+ //set up lock records and store away uids
+ for (int i = 0; i < mNumberOfResources; i++)
+ {
+ mStateRecordList[i] = new BasicStateRecord(i);
+ String key = getResourceName("resource_" + i);
+ try
+ {
+ qautil.storeUid(key, mStateRecordList[i].get_uid());
+ }
+ catch (Exception e)
+ {
+ Debug("Error when creating ior store");
+ mCorrect = false;
+ }
+ }
+
+ // Create crash record last so record is processed last. We want the
+ // crash to occur after prepare has been called on the statemanager objects.
+ CrashAbstractRecord mCrashObject = new CrashAbstractRecord(mCrashPoint, mCrashType);
+
+ //start transaction to check all is ok.
+ startTx();
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ mStateRecordList[j].increase();
+ }
+ commit();
+
+ //start new AtomicAction
+ startTx();
+ add(mCrashObject);
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ mStateRecordList[j].increase();
+ }
+ }
+ commit();
+
+ //we do not need to do anything else it should finish here if not print failed
+ Fail();
+ }
+ catch (Exception e)
+ {
+ Fail("Error in Client002b.test() :", e);
+ }
+ }
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/CrashRecovery/client/RestoreClient001a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/CrashRecovery/client/RestoreClient001a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/CrashRecovery/client/RestoreClient001a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,83 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.StateManager.CrashRecovery.client;
+
+import org.jboss.jbossts.qa.ArjunaCore.StateManager.impl.BasicStateRecord;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.BaseTestClient;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.qautil;
+
+public class RestoreClient001a extends BaseTestClient
+{
+ public static void main(String[] args)
+ {
+ RestoreClient001a test = new RestoreClient001a(args);
+ }
+
+ private RestoreClient001a(String[] args)
+ {
+ super(args);
+ }
+
+ public void Test()
+ {
+ try
+ {
+ setNumberOfCalls(3);
+ setNumberOfResources(2);
+ setUniquePrefix(1);
+
+ //restore objects from uid's
+ BasicStateRecord[] mStateRecordList = new BasicStateRecord[mNumberOfResources];
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ String key = getResourceName("resource_" + j);
+ try
+ {
+ mStateRecordList[j] = new BasicStateRecord(qautil.loadUid(key));
+ qautil.clearUid(key);
+ }
+ catch (Exception e)
+ {
+ Debug("Error when creating ior store");
+ mCorrect = false;
+ }
+ }
+
+ //check if objects and final values have been restored.
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ if (mStateRecordList[j].getValue() != mMaxIteration)
+ {
+ mCorrect = false;
+ Debug("the value has not been retored: " + mStateRecordList[j].getValue());
+ break;
+ }
+ }
+
+ qaAssert(mCorrect);
+ }
+ catch (Exception e)
+ {
+ Fail("Error in RestoreClient001a.test() :", e);
+ }
+ }
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/CrashRecovery/client/RestoreClient001b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/CrashRecovery/client/RestoreClient001b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/CrashRecovery/client/RestoreClient001b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,100 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.StateManager.CrashRecovery.client;
+
+import org.jboss.jbossts.qa.ArjunaCore.StateManager.impl.BasicStateRecord;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.BaseTestClient;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.qautil;
+
+public class RestoreClient001b extends BaseTestClient
+{
+ public static void main(String[] args)
+ {
+ RestoreClient001b test = new RestoreClient001b(args);
+ }
+
+ private RestoreClient001b(String[] args)
+ {
+ super(args);
+ }
+
+ public void Test()
+ {
+ try
+ {
+ setNumberOfCalls(3);
+ setNumberOfResources(2);
+ setUniquePrefix(1);
+
+ BasicStateRecord[] mStateRecordList = new BasicStateRecord[mNumberOfResources];
+ //set up abstract records
+ for (int i = 0; i < mNumberOfResources; i++)
+ {
+ mStateRecordList[i] = new BasicStateRecord(i);
+ }
+
+ startTx();
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ mStateRecordList[j].increase();
+ }
+ }
+ //comit transaction
+ commit();
+
+ //start new AtomicAction
+ startTx();
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ mStateRecordList[j].increase();
+ }
+ }
+ //abort transaction
+ abort();
+
+ //store uid of remote objects in ServerIORStore
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ String key = getResourceName("resource_" + j);
+ try
+ {
+ qautil.storeUid(key, mStateRecordList[j].get_uid());
+ }
+ catch (Exception e)
+ {
+ Debug("Error when creating ior store");
+ mCorrect = false;
+ }
+ }
+
+ qaAssert(mCorrect);
+ }
+ catch (Exception e)
+ {
+ Fail("Error in RestoreClient001b.test() :", e);
+ }
+ }
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/Client001.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/Client001.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/Client001.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,95 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.StateManager.client;
+
+import org.jboss.jbossts.qa.ArjunaCore.StateManager.impl.BasicStateRecord;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.BaseTestClient;
+
+public class Client001 extends BaseTestClient
+{
+ public static void main(String[] args)
+ {
+ Client001 test = new Client001(args);
+ }
+
+ private Client001(String[] args)
+ {
+ super(args);
+ }
+
+ public void Test()
+ {
+ try
+ {
+ setNumberOfCalls(2);
+ setNumberOfResources(1);
+
+ BasicStateRecord[] mStateRecordList = new BasicStateRecord[mNumberOfResources];
+ //set up abstract records
+ for (int i = 0; i < mNumberOfResources; i++)
+ {
+ mStateRecordList[i] = new BasicStateRecord();
+ }
+
+ startTx();
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ mStateRecordList[j].increase();
+ }
+ }
+ //comit transaction
+ commit();
+
+ //start new AtomicAction
+ startTx();
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ mStateRecordList[j].increase();
+ }
+ }
+ //abort transaction
+ abort();
+
+ //check final values
+ for (int i = 0; i < mNumberOfResources; i++)
+ {
+ //first test to see if increases have been run
+ if (mStateRecordList[i].getValue() != mMaxIteration)
+ {
+ Debug("whilst checking the " + i + " resource the getvalue was: " + mStateRecordList[i].getValue() + " and we expected: " + mMaxIteration);
+ mCorrect = false;
+ break;
+ }
+ }
+
+ qaAssert(mCorrect);
+ }
+ catch (Exception e)
+ {
+ Fail("Error in Client001.test() :", e);
+ }
+ }
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/Client002.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/Client002.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/Client002.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,120 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.StateManager.client;
+
+import org.jboss.jbossts.qa.ArjunaCore.StateManager.impl.TXBasicStateRecord;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.BaseTestClient;
+
+public class Client002 extends BaseTestClient
+{
+ public static void main(String[] args)
+ {
+ Client002 test = new Client002(args);
+ }
+
+ private Client002(String[] args)
+ {
+ super(args);
+ }
+
+ public void Test()
+ {
+ try
+ {
+ setNumberOfCalls(2);
+ setNumberOfResources(1);
+
+ TXBasicStateRecord[] mStateRecordList = new TXBasicStateRecord[mNumberOfResources];
+ //set up abstract records
+ for (int i = 0; i < mNumberOfResources; i++)
+ {
+ mStateRecordList[i] = new TXBasicStateRecord();
+ }
+
+ createTx();
+ try
+ {
+ //start transaction
+ begin();
+ //dont add anything here we will do this in the increase
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ mStateRecordList[j].increase();
+ }
+ }
+ //comit transaction
+ commit();
+ }
+ catch (Exception e)
+ {
+ Debug("exception in first transaction ", e);
+ abort();
+ mCorrect = false;
+ }
+
+ if (mCorrect)
+ {
+ //start new AtomicAction
+ createTx();
+ try
+ {
+ begin();
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ mStateRecordList[j].increase();
+ }
+ }
+ //abort transaction
+ abort();
+ }
+ catch (Exception e)
+ {
+ Debug("exception in first transaction ", e);
+ abort();
+ mCorrect = false;
+ }
+ }
+
+ //check final values
+ for (int i = 0; i < mNumberOfResources; i++)
+ {
+ //first test to see if increases have been run
+ if (mStateRecordList[i].getValue() != mMaxIteration)
+ {
+ Debug("whilst checking the " + i + " resource the getvalue was: " + mStateRecordList[i].getValue() + " and we expected: " + mMaxIteration);
+ mCorrect = false;
+ break;
+ }
+ }
+
+ qaAssert(mCorrect);
+ }
+ catch (Exception e)
+ {
+ Fail("Error in Client002.test() :", e);
+ }
+ }
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/Client003.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/Client003.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/Client003.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,112 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.StateManager.client;
+
+import org.jboss.jbossts.qa.ArjunaCore.StateManager.impl.BasicStateRecord;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.BaseTestClient;
+
+public class Client003 extends BaseTestClient
+{
+ public static void main(String[] args)
+ {
+ Client003 test = new Client003(args);
+ }
+
+ private Client003(String[] args)
+ {
+ super(args);
+ }
+
+ public void Test()
+ {
+ try
+ {
+ setNumberOfCalls(2);
+ setNumberOfResources(1);
+
+ BasicStateRecord[] mStateRecordList = new BasicStateRecord[mNumberOfResources];
+ //set up abstract records
+ for (int i = 0; i < mNumberOfResources; i++)
+ {
+ mStateRecordList[i] = new BasicStateRecord();
+ }
+
+ //start first loop
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ //start transaction
+ startTx();
+ //perform increase
+ mStateRecordList[j].increase();
+ if (i % 2 == 0)
+ {
+ commit();
+ }
+ else
+ {
+ abort();
+ }
+ }
+ }
+
+ //start second loop
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ //start transaction
+ startTx();
+ //perform increase
+ mStateRecordList[j].increase();
+ if (i % 2 != 0)
+ {
+ commit();
+ }
+ else
+ {
+ abort();
+ }
+ }
+ }
+
+ //check final values
+ for (int i = 0; i < mNumberOfResources; i++)
+ {
+ //first test to see if increases have been run
+ if (mStateRecordList[i].getValue() != mMaxIteration)
+ {
+ Debug("whilst checking the " + i + " resource the getvalue was: " + mStateRecordList[i].getValue() + " and we expected: " + mMaxIteration);
+ mCorrect = false;
+ break;
+ }
+ }
+
+ qaAssert(mCorrect);
+ }
+ catch (Exception e)
+ {
+ Fail("Error in Client003.test() :", e);
+ }
+ }
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/Client004.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/Client004.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/Client004.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,110 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.StateManager.client;
+
+import org.jboss.jbossts.qa.ArjunaCore.StateManager.impl.TXBasicStateRecord;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.BaseTestClient;
+
+public class Client004 extends BaseTestClient
+{
+ public static void main(String[] args)
+ {
+ Client004 test = new Client004(args);
+ }
+
+ private Client004(String[] args)
+ {
+ super(args);
+ }
+
+ public void Test()
+ {
+ try
+ {
+ setNumberOfCalls(2);
+ setNumberOfResources(1);
+
+ TXBasicStateRecord[] mStateRecordList = new TXBasicStateRecord[mNumberOfResources];
+ //set up abstract records
+ for (int i = 0; i < mNumberOfResources; i++)
+ {
+ mStateRecordList[i] = new TXBasicStateRecord();
+ }
+
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ //start transaction
+ startTx();
+ //perform increase (this will enlist resource)
+ mStateRecordList[j].increase();
+ if (i % 2 == 0)
+ {
+ commit();
+ }
+ else
+ {
+ abort();
+ }
+ }
+ }
+
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ //start transaction
+ startTx();
+ //perform increase(this will enlist resource)
+ mStateRecordList[j].increase();
+ if (i % 2 != 0)
+ {
+ commit();
+ }
+ else
+ {
+ abort();
+ }
+ }
+ }
+
+ //check final values
+ for (int i = 0; i < mNumberOfResources; i++)
+ {
+ //first test to see if increases have been run
+ if (mStateRecordList[i].getValue() != mMaxIteration)
+ {
+ Debug("whilst checking the " + i + " resource the getvalue was: " + mStateRecordList[i].getValue() + " and we expected: " + mMaxIteration);
+ mCorrect = false;
+ break;
+ }
+ }
+
+ qaAssert(mCorrect);
+ }
+ catch (Exception e)
+ {
+ Fail("Error in Client004.test() :", e);
+ }
+ }
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/MemoryClient001.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/MemoryClient001.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/MemoryClient001.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,96 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.StateManager.client;
+
+import org.jboss.jbossts.qa.ArjunaCore.StateManager.impl.BasicStateRecord;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.BaseTestClient;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.qautil;
+
+public class MemoryClient001 extends BaseTestClient
+{
+ public static void main(String[] args)
+ {
+ MemoryClient001 test = new MemoryClient001(args);
+ }
+
+ private MemoryClient001(String[] args)
+ {
+ super(args);
+ }
+
+ public void Test()
+ {
+ try
+ {
+ setNumberOfCalls(3);
+ setNumberOfResources(2);
+ getClientThreshold(1);
+ BasicStateRecord[] mStateRecordList = new BasicStateRecord[mNumberOfResources];
+ //set up abstract records
+ for (int i = 0; i < mNumberOfResources; i++)
+ {
+ mStateRecordList[i] = new BasicStateRecord();
+ }
+
+ startTx();
+ //add abstract record
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ mStateRecordList[j].increase();
+ }
+ }
+ //comit transaction
+ commit();
+
+ //lets go to sleep to see if this helps the vm clean itself up
+ qautil.sleep();
+
+ //get first memory reading.
+ getFirstReading();
+
+ //start new AtomicAction
+ startTx();
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ mStateRecordList[j].increase();
+ }
+ }
+ //abort transaction
+ abort();
+
+ //lets go to sleep to see if this helps the vm clean itself up
+ qautil.sleep();
+
+ getSecondReading();
+
+ qaMemoryAssert();
+ }
+ catch (Exception e)
+ {
+ Fail("Error in MemoryClient001.test() :", e);
+ }
+ }
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/MemoryClient002.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/MemoryClient002.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/MemoryClient002.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,97 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.StateManager.client;
+
+import org.jboss.jbossts.qa.ArjunaCore.StateManager.impl.TXBasicStateRecord;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.BaseTestClient;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.qautil;
+
+public class MemoryClient002 extends BaseTestClient
+{
+ public static void main(String[] args)
+ {
+ MemoryClient002 test = new MemoryClient002(args);
+ }
+
+ private MemoryClient002(String[] args)
+ {
+ super(args);
+ }
+
+ public void Test()
+ {
+ try
+ {
+ setNumberOfCalls(3);
+ setNumberOfResources(2);
+ getClientThreshold(1);
+
+ TXBasicStateRecord[] mStateRecordList = new TXBasicStateRecord[mNumberOfResources];
+ //set up abstract records
+ for (int i = 0; i < mNumberOfResources; i++)
+ {
+ mStateRecordList[i] = new TXBasicStateRecord();
+ }
+
+ startTx();
+ //add abstract record
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ mStateRecordList[j].increase();
+ }
+ }
+ //comit transaction
+ commit();
+
+ //lets go to sleep to see if this helps the vm clean itself up
+ qautil.sleep();
+
+ //get first memory reading.
+ getFirstReading();
+
+ //start new AtomicAction
+ startTx();
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ mStateRecordList[j].increase();
+ }
+ }
+ //abort transaction
+ abort();
+
+ //lets go to sleep to see if this helps the vm clean itself up
+ qautil.sleep();
+
+ getSecondReading();
+
+ qaMemoryAssert();
+ }
+ catch (Exception e)
+ {
+ Fail("Error in MemoryClient002.test() :", e);
+ }
+ }
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/MemoryClient003.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/MemoryClient003.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/MemoryClient003.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,107 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.StateManager.client;
+
+import org.jboss.jbossts.qa.ArjunaCore.StateManager.impl.BasicStateRecord;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.BaseTestClient;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.qautil;
+
+public class MemoryClient003 extends BaseTestClient
+{
+ public static void main(String[] args)
+ {
+ MemoryClient003 test = new MemoryClient003(args);
+ }
+
+ private MemoryClient003(String[] args)
+ {
+ super(args);
+ }
+
+ public void Test()
+ {
+ try
+ {
+ setNumberOfCalls(3);
+ setNumberOfResources(2);
+ getClientThreshold(1);
+ BasicStateRecord[] mStateRecordList = new BasicStateRecord[mNumberOfResources];
+ //set up abstract records
+ for (int i = 0; i < mNumberOfResources; i++)
+ {
+ mStateRecordList[i] = new BasicStateRecord();
+ }
+
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ //start transaction
+ startTx();
+ mStateRecordList[j].increase();
+ if (i % 2 == 0)
+ {
+ commit();
+ }
+ else
+ {
+ abort();
+ }
+ }
+ }
+
+ //lets go to sleep to see if this helps the vm clean itself up
+ qautil.sleep();
+
+ //get first memory reading.
+ getFirstReading();
+
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ startTx();
+ mStateRecordList[j].increase();
+ if (i % 2 == 0)
+ {
+ commit();
+ }
+ else
+ {
+ abort();
+ }
+ }
+ }
+
+ //lets go to sleep to see if this helps the vm clean itself up
+ qautil.sleep();
+
+ getSecondReading();
+
+ qaMemoryAssert();
+ }
+ catch (Exception e)
+ {
+ Fail("Error in MemoryClient003.test() :", e);
+ }
+ }
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/MemoryClient004.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/MemoryClient004.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/MemoryClient004.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,107 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.StateManager.client;
+
+import org.jboss.jbossts.qa.ArjunaCore.StateManager.impl.TXBasicStateRecord;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.BaseTestClient;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.qautil;
+
+public class MemoryClient004 extends BaseTestClient
+{
+ public static void main(String[] args)
+ {
+ MemoryClient004 test = new MemoryClient004(args);
+ }
+
+ private MemoryClient004(String[] args)
+ {
+ super(args);
+ }
+
+ public void Test()
+ {
+ try
+ {
+ setNumberOfCalls(3);
+ setNumberOfResources(2);
+ getClientThreshold(1);
+
+ TXBasicStateRecord[] mStateRecordList = new TXBasicStateRecord[mNumberOfResources];
+ //set up abstract records
+ for (int i = 0; i < mNumberOfResources; i++)
+ {
+ mStateRecordList[i] = new TXBasicStateRecord();
+ }
+
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ //start transaction
+ startTx();
+ mStateRecordList[j].increase();
+ if (i % 2 == 0)
+ {
+ commit();
+ }
+ else
+ {
+ abort();
+ }
+ }
+ }
+
+ //lets go to sleep to see if this helps the vm clean itself up
+ qautil.sleep();
+
+ //get first memory reading.
+ getFirstReading();
+
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ startTx();
+ mStateRecordList[j].increase();
+ if (i % 2 == 0)
+ {
+ commit();
+ }
+ else
+ {
+ abort();
+ }
+ }
+ }
+
+ //lets go to sleep to see if this helps the vm clean itself up
+ qautil.sleep();
+
+ getSecondReading();
+
+ qaMemoryAssert();
+ }
+ catch (Exception e)
+ {
+ Fail("Error in MemoryClient004.test() :", e);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/Worker001.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/Worker001.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/Worker001.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,98 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.StateManager.client;
+
+import com.arjuna.ats.arjuna.AtomicAction;
+import org.jboss.jbossts.qa.ArjunaCore.StateManager.impl.BasicStateRecord;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.qautil;
+
+public class Worker001 extends Thread
+{
+ public Worker001(int iterations, int resources)
+ {
+ this(iterations, resources, 1);
+ }
+
+ public Worker001(int iterations, int resources, int id)
+ {
+ mMaxIteration = iterations;
+ mNumberOfResources = resources;
+
+ //set up abstract records
+ mStatetRecordList = new BasicStateRecord[mNumberOfResources];
+ for (int i = 0; i < mNumberOfResources; i++)
+ {
+ mStatetRecordList[i] = new BasicStateRecord();
+ }
+ mId = id;
+ }
+
+ /**
+ * The main method of the class that will perform the work.
+ */
+ public void run()
+ {
+ try
+ {
+ AtomicAction a = new AtomicAction();
+ //start transaction
+ a.begin();
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ mStatetRecordList[j].increase();
+ }
+ }
+ //comit transaction
+ a.commit();
+
+ //start new AtomicAction
+ AtomicAction b = new AtomicAction();
+ b.begin();
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ mStatetRecordList[j].increase();
+ }
+ }
+ //abort transaction
+ b.abort();
+ }
+ catch (Exception e)
+ {
+ mCorrect = false;
+ qautil.debug("exception in worker001: ", e);
+ }
+ }
+
+ public boolean isCorrect()
+ {
+ return mCorrect;
+ }
+
+ private BasicStateRecord[] mStatetRecordList;
+ private int mMaxIteration;
+ private int mNumberOfResources;
+ private boolean mCorrect = true;
+ private int mId = 0;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/Worker002.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/Worker002.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/Worker002.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,98 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.StateManager.client;
+
+import com.arjuna.ats.arjuna.AtomicAction;
+import org.jboss.jbossts.qa.ArjunaCore.StateManager.impl.TXBasicStateRecord;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.qautil;
+
+public class Worker002 extends Thread
+{
+ public Worker002(int iterations, int resources)
+ {
+ this(iterations, resources, 1);
+ }
+
+ public Worker002(int iterations, int resources, int id)
+ {
+ mMaxIteration = iterations;
+ mNumberOfResources = resources;
+
+ //set up abstract records
+ mStatetRecordList = new TXBasicStateRecord[mNumberOfResources];
+ for (int i = 0; i < mNumberOfResources; i++)
+ {
+ mStatetRecordList[i] = new TXBasicStateRecord();
+ }
+ mId = id;
+ }
+
+ /**
+ * The main method of the class that will perform the work.
+ */
+ public void run()
+ {
+ try
+ {
+ AtomicAction a = new AtomicAction();
+ //start transaction
+ a.begin();
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ mStatetRecordList[j].increase();
+ }
+ }
+ //comit transaction
+ a.commit();
+
+ //start new AtomicAction
+ AtomicAction b = new AtomicAction();
+ b.begin();
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ mStatetRecordList[j].increase();
+ }
+ }
+ //abort transaction
+ b.abort();
+ }
+ catch (Exception e)
+ {
+ mCorrect = false;
+ qautil.debug("exception in worker002: ", e);
+ }
+ }
+
+ public boolean isCorrect()
+ {
+ return mCorrect;
+ }
+
+ private TXBasicStateRecord[] mStatetRecordList;
+ private int mMaxIteration;
+ private int mNumberOfResources;
+ private boolean mCorrect = true;
+ private int mId = 0;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/Worker003.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/Worker003.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/Worker003.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,114 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.StateManager.client;
+
+import com.arjuna.ats.arjuna.AtomicAction;
+import org.jboss.jbossts.qa.ArjunaCore.StateManager.impl.BasicStateRecord;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.qautil;
+
+public class Worker003 extends Thread
+{
+ public Worker003(int iterations, int resources)
+ {
+ this(iterations, resources, 1);
+ }
+
+ public Worker003(int iterations, int resources, int id)
+ {
+ mMaxIteration = iterations;
+ mNumberOfResources = resources;
+
+ //set up abstract records
+ mStatetRecordList = new BasicStateRecord[mNumberOfResources];
+ for (int i = 0; i < mNumberOfResources; i++)
+ {
+ mStatetRecordList[i] = new BasicStateRecord();
+ }
+ mId = id;
+ }
+
+ /**
+ * The main method of the class that will perform the work.
+ */
+ public void run()
+ {
+ try
+ {
+ //start first loop
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ //start transaction
+ AtomicAction a = new AtomicAction();
+ a.begin();
+ //perform increase
+ mStatetRecordList[j].increase();
+ if (i % 2 == 0)
+ {
+ a.commit();
+ }
+ else
+ {
+ a.abort();
+ }
+ }
+ }
+
+ //start second loop
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ //start transaction
+ AtomicAction b = new AtomicAction();
+ b.begin();
+ //perform increase
+ mStatetRecordList[j].increase();
+ if (i % 2 != 0)
+ {
+ b.commit();
+ }
+ else
+ {
+ b.abort();
+ }
+ }
+ }
+ }
+ catch (Exception e)
+ {
+ mCorrect = false;
+ qautil.debug("exception in worker001: ", e);
+ }
+ }
+
+ public boolean isCorrect()
+ {
+ return mCorrect;
+ }
+
+ private BasicStateRecord[] mStatetRecordList;
+ private int mMaxIteration;
+ private int mNumberOfResources;
+ private boolean mCorrect = true;
+ private int mId = 0;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/Worker004.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/Worker004.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/Worker004.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,114 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.StateManager.client;
+
+import com.arjuna.ats.arjuna.AtomicAction;
+import org.jboss.jbossts.qa.ArjunaCore.StateManager.impl.TXBasicStateRecord;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.qautil;
+
+public class Worker004 extends Thread
+{
+ public Worker004(int iterations, int resources)
+ {
+ this(iterations, resources, 1);
+ }
+
+ public Worker004(int iterations, int resources, int id)
+ {
+ mMaxIteration = iterations;
+ mNumberOfResources = resources;
+
+ //set up abstract records
+ mStatetRecordList = new TXBasicStateRecord[mNumberOfResources];
+ for (int i = 0; i < mNumberOfResources; i++)
+ {
+ mStatetRecordList[i] = new TXBasicStateRecord();
+ }
+ mId = id;
+ }
+
+ /**
+ * The main method of the class that will perform the work.
+ */
+ public void run()
+ {
+ try
+ {
+ //start first loop
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ //start transaction
+ AtomicAction a = new AtomicAction();
+ a.begin();
+ //perform increase (this will enlist resource)
+ mStatetRecordList[j].increase();
+ if (i % 2 == 0)
+ {
+ a.commit();
+ }
+ else
+ {
+ a.abort();
+ }
+ }
+ }
+
+ //start second loop
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ for (int i = 0; i < mMaxIteration; i++)
+ {
+ //start transaction
+ AtomicAction b = new AtomicAction();
+ b.begin();
+ //perform increase(this will enlist resource)
+ mStatetRecordList[j].increase();
+ if (i % 2 != 0)
+ {
+ b.commit();
+ }
+ else
+ {
+ b.abort();
+ }
+ }
+ }
+ }
+ catch (Exception e)
+ {
+ mCorrect = false;
+ qautil.debug("exception in worker001: ", e);
+ }
+ }
+
+ public boolean isCorrect()
+ {
+ return mCorrect;
+ }
+
+ private TXBasicStateRecord[] mStatetRecordList;
+ private int mMaxIteration;
+ private int mNumberOfResources;
+ private boolean mCorrect = true;
+ private int mId = 0;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/WorkerClient001.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/WorkerClient001.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/WorkerClient001.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,90 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.StateManager.client;
+
+import org.jboss.jbossts.qa.ArjunaCore.Utils.BaseTestClient;
+
+public class WorkerClient001 extends BaseTestClient
+{
+ public static void main(String[] args)
+ {
+ WorkerClient001 test = new WorkerClient001(args);
+ }
+
+ private WorkerClient001(String[] args)
+ {
+ super(args);
+ }
+
+ public void Test()
+ {
+ try
+ {
+ setNumberOfCalls(3);
+ setNumberOfResources(2);
+ setNumberOfWorkers(1);
+
+ Worker001[] mWorkers = new Worker001[mNumberOfWorkers];
+ for (int i = 0; i < mNumberOfWorkers; i++)
+ {
+ mWorkers[i] = new Worker001(mMaxIteration, mNumberOfResources, i);
+ mWorkers[i].start();
+ }
+
+ try
+ {
+ //wait for threads to complete
+ for (int i = 0; i < mNumberOfWorkers; i++)
+ {
+ mWorkers[i].join();
+ //check for any exceptions
+ if (!mWorkers[i].isCorrect())
+ {
+ Debug("worker " + i + " has encountered an exception");
+ mCorrect = false;
+ }
+ }
+ }
+ catch (Exception e)
+ {
+ mCorrect = false;
+ Debug("exception in worker thread " + e);
+ }
+
+ for (int i = 0; i < mNumberOfWorkers; i++)
+ {
+ if (!mWorkers[i].isCorrect())
+ {
+ mCorrect = false;
+ Debug("worker " + i + " has encountered a problem");
+ break;
+ }
+ }
+
+ qaAssert(mCorrect);
+ }
+ catch (Exception e)
+ {
+ Fail("Error in WorkerClient001.test() :", e);
+ }
+ }
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/WorkerClient002.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/WorkerClient002.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/WorkerClient002.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,90 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.StateManager.client;
+
+import org.jboss.jbossts.qa.ArjunaCore.Utils.BaseTestClient;
+
+public class WorkerClient002 extends BaseTestClient
+{
+ public static void main(String[] args)
+ {
+ WorkerClient002 test = new WorkerClient002(args);
+ }
+
+ private WorkerClient002(String[] args)
+ {
+ super(args);
+ }
+
+ public void Test()
+ {
+ try
+ {
+ setNumberOfCalls(3);
+ setNumberOfResources(2);
+ setNumberOfWorkers(1);
+
+ Worker002[] mWorkers = new Worker002[mNumberOfWorkers];
+ for (int i = 0; i < mNumberOfWorkers; i++)
+ {
+ mWorkers[i] = new Worker002(mMaxIteration, mNumberOfResources, i);
+ mWorkers[i].start();
+ }
+
+ try
+ {
+ //wait for threads to complete
+ for (int i = 0; i < mNumberOfWorkers; i++)
+ {
+ mWorkers[i].join();
+ //check for any exceptions
+ if (!mWorkers[i].isCorrect())
+ {
+ Debug("worker " + i + " has encountered an exception");
+ mCorrect = false;
+ }
+ }
+ }
+ catch (Exception e)
+ {
+ mCorrect = false;
+ Debug("exception in worker thread " + e);
+ }
+
+ for (int i = 0; i < mNumberOfWorkers; i++)
+ {
+ if (!mWorkers[i].isCorrect())
+ {
+ mCorrect = false;
+ Debug("worker " + i + " has encountered a problem");
+ break;
+ }
+ }
+
+ qaAssert(mCorrect);
+ }
+ catch (Exception e)
+ {
+ Fail("Error in WorkerClient002.test() :", e);
+ }
+ }
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/WorkerClient003.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/WorkerClient003.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/WorkerClient003.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,90 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.StateManager.client;
+
+import org.jboss.jbossts.qa.ArjunaCore.Utils.BaseTestClient;
+
+public class WorkerClient003 extends BaseTestClient
+{
+ public static void main(String[] args)
+ {
+ WorkerClient003 test = new WorkerClient003(args);
+ }
+
+ private WorkerClient003(String[] args)
+ {
+ super(args);
+ }
+
+ public void Test()
+ {
+ try
+ {
+ setNumberOfCalls(3);
+ setNumberOfResources(2);
+ setNumberOfWorkers(1);
+
+ Worker003[] mWorkers = new Worker003[mNumberOfWorkers];
+ for (int i = 0; i < mNumberOfWorkers; i++)
+ {
+ mWorkers[i] = new Worker003(mMaxIteration, mNumberOfResources, i);
+ mWorkers[i].start();
+ }
+
+ try
+ {
+ //wait for threads to complete
+ for (int i = 0; i < mNumberOfWorkers; i++)
+ {
+ mWorkers[i].join();
+ //check for any exceptions
+ if (!mWorkers[i].isCorrect())
+ {
+ Debug("worker " + i + " has encountered an exception");
+ mCorrect = false;
+ }
+ }
+ }
+ catch (Exception e)
+ {
+ mCorrect = false;
+ Debug("exception in worker thread " + e);
+ }
+
+ for (int i = 0; i < mNumberOfWorkers; i++)
+ {
+ if (!mWorkers[i].isCorrect())
+ {
+ mCorrect = false;
+ Debug("worker " + i + " has encountered a problem");
+ break;
+ }
+ }
+
+ qaAssert(mCorrect);
+ }
+ catch (Exception e)
+ {
+ Fail("Error in WorkerClient003.test() :", e);
+ }
+ }
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/WorkerClient004.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/WorkerClient004.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/client/WorkerClient004.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,90 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.StateManager.client;
+
+import org.jboss.jbossts.qa.ArjunaCore.Utils.BaseTestClient;
+
+public class WorkerClient004 extends BaseTestClient
+{
+ public static void main(String[] args)
+ {
+ WorkerClient004 test = new WorkerClient004(args);
+ }
+
+ private WorkerClient004(String[] args)
+ {
+ super(args);
+ }
+
+ public void Test()
+ {
+ try
+ {
+ setNumberOfCalls(3);
+ setNumberOfResources(2);
+ setNumberOfWorkers(1);
+
+ Worker004[] mWorkers = new Worker004[mNumberOfWorkers];
+ for (int i = 0; i < mNumberOfWorkers; i++)
+ {
+ mWorkers[i] = new Worker004(mMaxIteration, mNumberOfResources, i);
+ mWorkers[i].start();
+ }
+
+ try
+ {
+ //wait for threads to complete
+ for (int i = 0; i < mNumberOfWorkers; i++)
+ {
+ mWorkers[i].join();
+ //check for any exceptions
+ if (!mWorkers[i].isCorrect())
+ {
+ Debug("worker " + i + " has encountered an exception");
+ mCorrect = false;
+ }
+ }
+ }
+ catch (Exception e)
+ {
+ mCorrect = false;
+ Debug("exception in worker thread " + e);
+ }
+
+ for (int i = 0; i < mNumberOfWorkers; i++)
+ {
+ if (!mWorkers[i].isCorrect())
+ {
+ mCorrect = false;
+ Debug("worker " + i + " has encountered a problem");
+ break;
+ }
+ }
+
+ qaAssert(mCorrect);
+ }
+ catch (Exception e)
+ {
+ Fail("Error in WorkerClient004.test() :", e);
+ }
+ }
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/impl/BasicStateRecord.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/impl/BasicStateRecord.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/impl/BasicStateRecord.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,165 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.StateManager.impl;
+
+import com.arjuna.ats.arjuna.ObjectType;
+import com.arjuna.ats.arjuna.StateManager;
+import com.arjuna.ats.arjuna.common.Uid;
+import com.arjuna.ats.arjuna.coordinator.BasicAction;
+import com.arjuna.ats.arjuna.coordinator.RecordType;
+import com.arjuna.ats.arjuna.state.InputObjectState;
+import com.arjuna.ats.arjuna.state.OutputObjectState;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.qautil;
+
+/**
+ * Simple record used to test AtomicAction
+ */
+public class BasicStateRecord extends StateManager
+{
+ /**
+ * This constructor will be the default and will not make the object
+ * persistent allowing the test to run quicker.
+ */
+ public BasicStateRecord()
+ {
+ super();
+ qautil.qadebug("starting construction");
+ activate();
+ modified();
+ deactivate();
+ qautil.qadebug("ending construction");
+ }
+
+ /**
+ * This constructor will be used with the crashrecovery group
+ * of tests to ensure the objects state has been persisted to
+ * disk.
+ */
+ public BasicStateRecord(int id)
+ {
+ super(ObjectType.ANDPERSISTENT);
+
+ qautil.qadebug("starting construction");
+ activate();
+ modified();
+ deactivate();
+ mId = id;
+ qautil.qadebug("ending construction");
+ }
+
+ /**
+ * This constructor will be used to recreate an object after a
+ * crash has occured.
+ */
+ public BasicStateRecord(Uid oldId)
+ {
+ super(oldId, ObjectType.ANDPERSISTENT);
+
+ qautil.qadebug("starting construction");
+ activate();
+ deactivate();
+
+ qautil.qadebug("ending construction");
+ }
+
+ public int typeIs()
+ {
+ return RecordType.USER_DEF_FIRST0;
+ }
+
+ /**
+ * My methods to test abstract record is being processed correctly by the transaction
+ * manager.
+ */
+ public void increase()
+ {
+
+ qautil.qadebug("start increase");
+ activate();
+ modified();
+ mValue++;
+ if (BasicAction.Current() == null)
+ {
+ deactivate();
+ }
+ qautil.qadebug("end increase");
+ }
+
+ /**
+ * Get value should realy use activate etc we will look into this.
+ */
+ public int getValue()
+ {
+ return mValue;
+ }
+
+ /**
+ * Override method to indicate we want this object to be saved.
+ */
+ public boolean doSave()
+ {
+ return true;
+ }
+
+ public boolean save_state(OutputObjectState objectState, int objectType)
+ {
+
+ qautil.qadebug("save state called when value = " + mValue);
+ super.save_state(objectState, objectType);
+ try
+ {
+ objectState.packInt(mValue);
+ return true;
+ }
+ catch (Exception exception)
+ {
+ qautil.debug("BasicAbstractRecord.save_state: ", exception);
+ return false;
+ }
+ }
+
+ public boolean restore_state(InputObjectState objectState, int objectType)
+ {
+
+ qautil.qadebug("restore state called");
+ super.restore_state(objectState, objectType);
+ try
+ {
+ mValue = objectState.unpackInt();
+ qautil.qadebug("value restored = " + mValue);
+ return true;
+ }
+ catch (Exception exception)
+ {
+ qautil.debug("BasicAbstractRecord.restore_state: ", exception);
+ return false;
+ }
+ }
+
+ public String type()
+ {
+ return "/StateManager/BasicStateRecord";
+ }
+
+ private int mValue = 0;
+ private int mId = 0;
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/impl/TXBasicStateRecord.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/impl/TXBasicStateRecord.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/StateManager/impl/TXBasicStateRecord.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,158 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.StateManager.impl;
+
+import com.arjuna.ats.arjuna.AtomicAction;
+import com.arjuna.ats.arjuna.ObjectType;
+import com.arjuna.ats.arjuna.StateManager;
+import com.arjuna.ats.arjuna.common.Uid;
+import com.arjuna.ats.arjuna.coordinator.RecordType;
+import com.arjuna.ats.arjuna.state.InputObjectState;
+import com.arjuna.ats.arjuna.state.OutputObjectState;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.qautil;
+
+/**
+ * Simple record used to test AtomicAction
+ */
+public class TXBasicStateRecord extends StateManager
+{
+ public TXBasicStateRecord()
+ {
+ super();
+ qautil.qadebug("starting construction");
+ activate();
+ modified();
+ deactivate();
+ qautil.qadebug("ending construction");
+ }
+
+ public TXBasicStateRecord(int id)
+ {
+ super(ObjectType.ANDPERSISTENT);
+ qautil.qadebug("starting construction");
+ activate();
+ modified();
+ deactivate();
+ mId = id;
+ qautil.qadebug("ending construction");
+ }
+
+ public TXBasicStateRecord(Uid oldId)
+ {
+ super(oldId, ObjectType.ANDPERSISTENT);
+ qautil.qadebug("starting construction");
+ activate();
+ deactivate();
+ qautil.qadebug("ending construction");
+ }
+
+ public int typeIs()
+ {
+ return RecordType.USER_DEF_FIRST0;
+ }
+
+ /**
+ * We will start a subtrancastion during the increase to see what effet this has.
+ */
+ public void increase()
+ {
+ qautil.qadebug("start increase");
+ AtomicAction a = new AtomicAction();
+ try
+ {
+ a.begin();
+ activate();
+ modified();
+ mValue++;
+ a.commit();
+ }
+ catch (Exception e)
+ {
+ a.abort();
+ qautil.debug("exception in increase method ", e);
+ }
+ qautil.qadebug("end increase");
+ }
+
+ public int getValue()
+ {
+ AtomicAction a = new AtomicAction();
+ a.begin();
+ activate();
+ deactivate();
+ a.commit();
+ return mValue;
+ }
+
+ /**
+ * Override method to indicate we want this object to be saved.
+ */
+ public boolean doSave()
+ {
+ return true;
+ }
+
+ public boolean save_state(OutputObjectState objectState, int objectType)
+ {
+ super.save_state(objectState, objectType);
+ qautil.qadebug("save state called when value = " + mValue);
+ try
+ {
+ objectState.packInt(mValue);
+ return true;
+ }
+ catch (Exception exception)
+ {
+ qautil.debug("TXBasicAbstractRecord.save_state: ", exception);
+ return false;
+ }
+ }
+
+ /**
+ * As this is an abstract record restore state does not function as a ait object
+ * but will be used by the crash recovery engine.
+ */
+ public boolean restore_state(InputObjectState objectState, int objectType)
+ {
+ super.restore_state(objectState, objectType);
+ qautil.qadebug("restore state called");
+ try
+ {
+ mValue = objectState.unpackInt();
+ return true;
+ }
+ catch (Exception exception)
+ {
+ qautil.debug("TXBasicAbstractRecord.restore_state: ", exception);
+ return false;
+ }
+ }
+
+ public String type()
+ {
+ return "/StateManager/TXBasicStateRecord";
+ }
+
+ private int mValue = 0;
+ private boolean mDebug = false;
+ private int mId = 0;
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Stats/Client001.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Stats/Client001.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Stats/Client001.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,96 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.Stats;
+
+import com.arjuna.ats.arjuna.coordinator.TxStats;
+import org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.impl.Service01;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.BaseTestClient;
+
+public class Client001 extends BaseTestClient
+{
+ public static void main(String[] args)
+ {
+ Client001 test = new Client001(args);
+ }
+
+ private Client001(String[] args)
+ {
+ super(args);
+ }
+
+ public void Test()
+ {
+ try
+ {
+ setNumberOfCalls(2);
+ setNumberOfResources(1);
+
+ TxStats mStats = new TxStats();
+
+ startTx();
+ //add abstract record
+ Service01 mService = new Service01(mNumberOfResources);
+ mService.setupOper();
+ mService.doWork(mMaxIteration);
+ //comit transaction
+ commit();
+
+ mService = new Service01(mNumberOfResources);
+ //start new AtomicAction
+ startTx();
+ mService.setupOper();
+ mService.doWork(mMaxIteration);
+ //abort transaction
+ abort();
+
+ if (mStats.numberOfAbortedTransactions() != 1)
+ {
+ Debug("error in number of aborted transactions: " + mStats.numberOfAbortedTransactions());
+ mCorrect = false;
+ }
+
+ if (mStats.numberOfCommittedTransactions() != 1)
+ {
+ Debug("error in number of commited transactions: " + mStats.numberOfCommittedTransactions());
+ mCorrect = false;
+ }
+
+ if (mStats.numberOfNestedTransactions() != 0)
+ {
+ Debug("error in number of nested transactions: " + mStats.numberOfNestedTransactions());
+ mCorrect = false;
+ }
+
+ if (mStats.numberOfTransactions() != 2)
+ {
+ Debug("error in number of transactions: " + mStats.numberOfTransactions());
+ mCorrect = false;
+ }
+
+ qaAssert(mCorrect);
+ }
+ catch (Exception e)
+ {
+ Fail("Error in Client001.test() :", e);
+ }
+ }
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Stats/Client002.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Stats/Client002.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Stats/Client002.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,94 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.Stats;
+
+import com.arjuna.ats.arjuna.coordinator.TxStats;
+import org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.impl.Service01;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.BaseTestClient;
+
+public class Client002 extends BaseTestClient
+{
+ public static void main(String[] args)
+ {
+ Client002 test = new Client002(args);
+ }
+
+ private Client002(String[] args)
+ {
+ super(args);
+ }
+
+ public void Test()
+ {
+ try
+ {
+ setNumberOfCalls(2);
+ setNumberOfResources(1);
+
+ Service01 mService = new Service01(mNumberOfResources);
+ TxStats mStats = new TxStats();
+
+ startTx();
+ mService.setupOper(true);
+ mService.doWork(mMaxIteration);
+ commit();
+
+ mService = new Service01(mNumberOfResources);
+ //start new AtomicAction
+ startTx();
+ mService.setupOper(true);
+ mService.doWork(mMaxIteration);
+ abort();
+
+ //test what the final stat values are
+ if (mStats.numberOfAbortedTransactions() != 1)
+ {
+ Debug("error in number of aborted transactions: " + mStats.numberOfAbortedTransactions());
+ mCorrect = false;
+ }
+
+ if (mStats.numberOfCommittedTransactions() != 3)
+ {
+ Debug("error in number of commited transactions: " + mStats.numberOfCommittedTransactions());
+ mCorrect = false;
+ }
+
+ if (mStats.numberOfNestedTransactions() != 2)
+ {
+ Debug("error in number of nested transactions: " + mStats.numberOfNestedTransactions());
+ mCorrect = false;
+ }
+
+ if (mStats.numberOfTransactions() != 4)
+ {
+ Debug("error in number of transactions: " + mStats.numberOfTransactions());
+ mCorrect = false;
+ }
+
+ qaAssert(mCorrect);
+ }
+ catch (Exception e)
+ {
+ Fail("Error in Client002.test() :", e);
+ }
+ }
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Stats/Client003.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Stats/Client003.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Stats/Client003.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,83 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.Stats;
+
+import com.arjuna.ats.arjuna.coordinator.TxStats;
+import org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.impl.Service02;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.BaseTestClient;
+
+public class Client003 extends BaseTestClient
+{
+ public static void main(String[] args)
+ {
+ Client003 test = new Client003(args);
+ }
+
+ private Client003(String[] args)
+ {
+ super(args);
+ }
+
+ public void Test()
+ {
+ try
+ {
+ setNumberOfCalls(2);
+ setNumberOfResources(1);
+
+ TxStats mStats = new TxStats();
+
+ Service02 mService = new Service02(mNumberOfResources);
+ mService.dowork(mMaxIteration * 2);
+
+ if (mStats.numberOfAbortedTransactions() != mMaxIteration)
+ {
+ Debug("error in number of aborted transactions: " + mStats.numberOfAbortedTransactions());
+ mCorrect = false;
+ }
+
+ if (mStats.numberOfCommittedTransactions() != mMaxIteration)
+ {
+ Debug("error in number of commited transactions: " + mStats.numberOfCommittedTransactions());
+ mCorrect = false;
+ }
+
+ if (mStats.numberOfNestedTransactions() != 0)
+ {
+ Debug("error in number of nested transactions: " + mStats.numberOfNestedTransactions());
+ mCorrect = false;
+ }
+
+ if (mStats.numberOfTransactions() != mMaxIteration * 2)
+ {
+ Debug("error in number of transactions: " + mStats.numberOfTransactions());
+ mCorrect = false;
+ }
+
+ qaAssert(mCorrect);
+ }
+ catch (Exception e)
+ {
+ Fail("Error in Client003.test() :", e);
+ }
+ }
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Stats/Client004.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Stats/Client004.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Stats/Client004.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,107 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.Stats;
+
+import com.arjuna.ats.arjuna.coordinator.TxStats;
+import org.jboss.jbossts.qa.ArjunaCore.AbstractRecord.impl.Service02;
+import org.jboss.jbossts.qa.ArjunaCore.Utils.BaseTestClient;
+
+public class Client004 extends BaseTestClient
+{
+ public static void main(String[] args)
+ {
+ Client004 test = new Client004(args);
+ }
+
+ private Client004(String[] args)
+ {
+ super(args);
+ }
+
+ public void Test()
+ {
+ try
+ {
+ setNumberOfCalls(2);
+ setNumberOfResources(1);
+
+ TxStats mStats = new TxStats();
+ int expectedCommitted = 0, expectedRolledback = 0, expectedNested = 0, expectedTx = 0;
+
+ for (int j = 0; j < mNumberOfResources; j++)
+ {
+ //start transaction
+ startTx();
+ Service02 mService = new Service02(mNumberOfResources);
+ mService.dowork(mMaxIteration);
+ expectedCommitted += mMaxIteration / 2;
+ expectedRolledback += mMaxIteration / 2;
+ expectedNested += mMaxIteration;
+ expectedTx += mMaxIteration + 1;
+ if (j % 2 == 0)
+ {
+ commit();
+ expectedCommitted++;
+ }
+ else
+ {
+ abort();
+ expectedRolledback++;
+ }
+ }
+
+ System.err.println("Number of resources = " + mNumberOfResources);
+ System.err.println("Number of iterations = " + mMaxIteration);
+
+ //test what the final stat values are
+ if (mStats.numberOfAbortedTransactions() != expectedRolledback)
+ {
+ Debug("error in number of aborted transactions: " + mStats.numberOfAbortedTransactions() + " expected = " + expectedRolledback);
+ mCorrect = false;
+ }
+
+ if (mStats.numberOfCommittedTransactions() != expectedCommitted)
+ {
+ Debug("error in number of commited transactions: " + mStats.numberOfCommittedTransactions() + " expected = " + expectedCommitted);
+ mCorrect = false;
+ }
+
+ if (mStats.numberOfNestedTransactions() != expectedNested)
+ {
+ Debug("error in number of nested transactions: " + mStats.numberOfNestedTransactions() + " expected = " + expectedNested);
+ mCorrect = false;
+ }
+
+ if (mStats.numberOfTransactions() != expectedTx)
+ {
+ Debug("error in number of transactions: " + mStats.numberOfTransactions() + " expected = " + expectedTx);
+ mCorrect = false;
+ }
+
+ qaAssert(mCorrect);
+ }
+ catch (Exception e)
+ {
+ Fail("Error in Client004.test() :", e);
+ }
+ }
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Utils/BaseTestClient.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Utils/BaseTestClient.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Utils/BaseTestClient.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,206 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+/*
+ * Created by IntelliJ IDEA.
+ * User: peter craddock
+ * Date: 24-May-02
+ * Time: 11:56:12
+ */
+package org.jboss.jbossts.qa.ArjunaCore.Utils;
+
+import com.arjuna.ats.arjuna.AtomicAction;
+import com.arjuna.ats.arjuna.common.Uid;
+import com.arjuna.ats.arjuna.coordinator.AbstractRecord;
+import org.jboss.jbossts.qa.Utils.BaseTestCase;
+import org.jboss.jbossts.qa.Utils.JVMStats;
+
+public class BaseTestClient extends BaseTestCase
+{
+ public BaseTestClient()
+ {
+ super();
+ }
+
+ public BaseTestClient(String[] args)
+ {
+ super(args);
+ Test();
+ }
+
+ public void Test()
+ {
+ }
+
+ public void startTx()
+ throws Exception
+ {
+ mAtom = new AtomicAction();
+ mAtom.begin();
+ }
+
+ public void createTx()
+ throws Exception
+ {
+ mAtom = new AtomicAction();
+ }
+
+ public void createTx(Uid uid)
+ throws Exception
+ {
+ mAtom = new AtomicAction(uid);
+ }
+
+ public void begin()
+ throws Exception
+ {
+ mAtom.begin();
+ }
+
+ public void commit()
+ throws Exception
+ {
+ commit(true);
+ }
+
+ public void commit(boolean flag)
+ throws Exception
+ {
+ mAtom.commit(flag);
+ }
+
+ //extra methods because we are changing the return type of the base class
+ public int intCommit()
+ throws Exception
+ {
+ return intCommit(true);
+ }
+
+ public int intCommit(boolean flag)
+ throws Exception
+ {
+ return mAtom.commit(flag);
+ }
+
+ public void abort()
+ throws Exception
+ {
+ mAtom.abort();
+ }
+
+ public void add(AbstractRecord record)
+ throws Exception
+ {
+ mAtom.add(record);
+ }
+
+ public void setNumberOfCalls(int relative_position)
+ {
+ mMaxIteration = getIntRelArg(relative_position);
+ }
+
+ public void setNumberOfResources(int relative_position)
+ {
+ mNumberOfResources = getIntRelArg(relative_position);
+ }
+
+ public void setNumberOfWorkers(int relative_position)
+ {
+ mNumberOfWorkers = getIntRelArg(relative_position);
+ }
+
+ public void setCrashPoint(int relative_position)
+ {
+ mCrashPoint = getIntRelArg(relative_position);
+ }
+
+ public void setCrashType(int relative_position)
+ {
+ mCrashType = getIntRelArg(relative_position);
+ }
+
+ public void getFirstReading()
+ {
+ clientMemory0 = (int) JVMStats.getMemory();
+ }
+
+ public void getSecondReading()
+ {
+ clientMemory1 = (int) JVMStats.getMemory();
+ }
+
+ public void qaMemoryAssert()
+ {
+ float clientMemoryIncrease = ((float) (clientMemory1 - clientMemory0)) / ((float) clientMemory0);
+
+ Debug("Client memory increase threshold : " + (float) (100.0 * clientIncreaseThreshold) + "%");
+ Debug("Client percentage memory increase: " + (float) (100.0 * clientMemoryIncrease) + "%");
+ Debug("Client memory increase per call : " + (clientMemory1 - clientMemory0) / mMaxIteration);
+
+ if (clientMemoryIncrease > clientIncreaseThreshold)
+ {
+ Debug("Memory increase to high");
+ mCorrect = false;
+ }
+
+ qaAssert(mCorrect);
+ }
+
+ public void setUniquePrefix(int relative_position)
+ {
+ uniquePrefix = getRelativeArg(relative_position);
+ }
+
+ public String getUniquePrefix()
+ {
+ return uniquePrefix;
+ }
+
+ public String getResourceName(String text)
+ {
+ return getUniquePrefix() + text;
+ }
+
+ public void startStopWatch()
+ {
+ _stopWatch = System.currentTimeMillis();
+ }
+
+ public long stopStopWatch()
+ {
+ long endTime = System.currentTimeMillis();
+
+ return endTime - _stopWatch;
+ }
+
+ private long _stopWatch = 0;
+ private String uniquePrefix = "";
+ public int mMaxIteration = 0; //default value
+ public int mNumberOfResources = 0;//default value
+ public int mNumberOfWorkers = 0;//default value
+ public int mCrashPoint = 1;//default value
+ public int mCrashType = 0;//default value
+
+ public AtomicAction mAtom = null;
+ public boolean mCorrect = true;
+
+ //value used with statemanager tests
+ public double mPercent = 0.4;//default value
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Utils/ChangeClasspath.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Utils/ChangeClasspath.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Utils/ChangeClasspath.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,52 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.Utils;
+
+import java.util.Properties;
+
+public class ChangeClasspath
+{
+ public static void addToFront(String path)
+ {
+ String orig = System.getProperty("java.class.path");
+ String seperator = System.getProperty("path.separator");
+ String newclasspath = path + seperator + orig;
+
+ //this will make the system properties the default propertie for
+ //this new property object
+ Properties props = new Properties(System.getProperties());
+ props.put("java.class.path", newclasspath);
+ System.setProperties(props);
+ }
+
+ public static void addToEnd(String path)
+ {
+ String orig = System.getProperty("java.class.path");
+ String seperator = System.getProperty("path.separator");
+ String newclasspath = orig + seperator + path;
+
+ //this will make the system properties the default propertie for
+ //this new property object
+ Properties props = new Properties(System.getProperties());
+ props.put("java.class.path", newclasspath);
+ System.setProperties(props);
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Utils/EmptyObjectStore.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Utils/EmptyObjectStore.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Utils/EmptyObjectStore.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,117 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.ArjunaCore.Utils;
+
+import com.arjuna.ats.arjuna.common.Environment;
+import com.arjuna.ats.arjuna.common.arjPropertyManager;
+import com.arjuna.ats.arjuna.objectstore.jdbc.JDBCAccess;
+
+import java.io.File;
+import java.sql.Connection;
+import java.sql.Statement;
+
+public class EmptyObjectStore
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ if (arjPropertyManager.propertyManager.getProperty(Environment.OBJECTSTORE_TYPE) != null &&
+ arjPropertyManager.propertyManager.getProperty(Environment.OBJECTSTORE_TYPE).startsWith("JDBCStore"))
+ {
+ JDBCAccess mJDBC = (JDBCAccess) Class.forName(System.getProperty("JDBC2_USER_DB_ACCESS")).newInstance();
+ Connection mConnection = mJDBC.getConnection();
+ Statement s = mConnection.createStatement();
+ s.executeUpdate("DROP TABLE " + mJDBC.tableName());
+ }
+ else
+ {
+ String objectStoreDirName = arjPropertyManager.propertyManager.getProperty(Environment.OBJECTSTORE_DIR, com.arjuna.ats.arjuna.common.Configuration.objectStoreRoot());
+
+ System.out.println("Emptying " + objectStoreDirName);
+
+ if (objectStoreDirName != null)
+ {
+ File objectStoreDir = new File(objectStoreDirName);
+
+ removeContents(objectStoreDir);
+ }
+ else
+ {
+ System.err.println("Unable to find the ObjectStore root.");
+ System.out.println("Failed");
+ }
+ }
+ emptyPIDStore();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("EmptyObjectStore.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ System.out.println("Passed");
+ }
+
+ public static void removeContents(File directory)
+ {
+ if ((directory != null) &&
+ directory.isDirectory() &&
+ (!directory.getName().equals("")) &&
+ (!directory.getName().equals("/")) &&
+ (!directory.getName().equals("\\")) &&
+ (!directory.getName().equals(".")) &&
+ (!directory.getName().equals("..")))
+ {
+ File[] contents = directory.listFiles();
+
+ for (int index = 0; index < contents.length; index++)
+ {
+ if (contents[index].isDirectory())
+ {
+ removeContents(contents[index]);
+
+ //System.err.println("Deleted: " + contents[index]);
+ contents[index].delete();
+ }
+ else
+ {
+ System.err.println("Deleted: " + contents[index]);
+ contents[index].delete();
+ }
+ }
+ }
+ }
+
+ public static void emptyPIDStore()
+ {
+ // Do nothing
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Utils/qautil.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Utils/qautil.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/ArjunaCore/Utils/qautil.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,175 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.ArjunaCore.Utils;
+
+import com.arjuna.ats.arjuna.common.Uid;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+import java.io.File;
+
+public class qautil
+{
+ /**
+ * Default sleep behavior is to perform gc then sleep for 1 min (1000 milli seconds)
+ */
+ public static void sleep()
+ {
+ sleep(true);
+ }
+
+ /**
+ * Sleep method used when gc is not required.
+ */
+ public static void sleep(boolean gc)
+ {
+ if (gc)
+ {
+ System.gc();
+ }
+ sleep(mSleepTime);
+ }
+
+ /**
+ * Convenience method to send the current thread to sleep for a number of
+ * milli seconds. (1000 milli = 1 second)
+ */
+ public static void sleep(int milli)
+ {
+ sleep("milli", milli);
+ }
+
+ /**
+ * Use the string option to pass in "min" if you would like the thread to
+ * sleep for a set number of minutes.
+ */
+ public static void sleep(String option, int duration)
+ {
+ int milli = duration;
+ if (option != null && option.equalsIgnoreCase("min"))
+ {
+ milli = duration * mSleepTime;
+ }
+ try
+ {
+ //System.err.println("sleeping for " + milli / mSleepTime + " mins");
+ Thread.currentThread().sleep(milli);
+ //System.err.println("awake");
+ }
+ catch (Exception e)
+ {
+ System.err.println("exception in sleep");
+ }
+ }
+
+ //default is 1 min
+ private static int mSleepTime = 60000;
+
+ public static void storeUid(String objectName, Uid objectUid)
+ throws Exception
+ {
+ ServerIORStore.storeIOR(objectName, objectUid.toString());
+ }
+
+ public static void clearUid(String objectName)
+ throws Exception
+ {
+ ServerIORStore.removeIOR(objectName);
+ }
+
+ public static Uid loadUid(String objectName)
+ throws Exception
+ {
+ Uid objectUid = new Uid(ServerIORStore.loadIOR(objectName));
+
+ return objectUid;
+ }
+
+ public static void remove()
+ {
+ try
+ {
+ File file = new File("ObjectUids");
+
+ file.delete();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Failed to remove \"ObjectUids\": " + exception);
+ }
+ }
+
+ public static void debug(String s)
+ {
+ debug(s, null);
+ }
+
+ public static void debug(String s, Exception e)
+ {
+ if (s != null)
+ {
+ if (e != null)
+ {
+ System.err.println(s + " " + e);
+ e.printStackTrace();
+ }
+ else
+ {
+ System.err.println(s);
+ }
+ }
+ }
+
+ /**
+ * Simple static method used for debug output that can be turned on if any errors occur.
+ * <p/>
+ * This can be turned on then recompiled or the -Dqa.debug=true can be used
+ * at runtime.
+ */
+
+ public static void qadebug(String s)
+ {
+ qadebug(s, true);
+ }
+
+ public static void qadebug(String s, boolean newln)
+ {
+ if (debug)
+ {
+ if (newln)
+ {
+ System.err.println(s);
+ }
+ else
+ {
+ System.err.print(s);
+ }
+ }
+ }
+
+ public static boolean debug;
+
+ static
+ {
+ String isDebugOn = System.getProperty("qa.debug");
+
+ debug = isDebugOn != null ? isDebugOn.equals("true") : false;
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,121 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client01.java,v 1.2 2003/06/26 11:43:15 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client01.java,v 1.2 2003/06/26 11:43:15 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client01
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service.setup_oper(1);
+
+ correct = service.check_oper();
+
+ OTS.current().commit(true);
+
+ correct = correct && service.is_correct();
+
+ ResourceTrace resourceTrace = service.get_resource_trace(0);
+
+ correct = correct && (resourceTrace == ResourceTrace.ResourceTraceCommitOnePhase);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,134 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client02.java,v 1.2 2003/06/26 11:43:15 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client02.java,v 1.2 2003/06/26 11:43:15 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client02
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service.setup_oper(1);
+
+ OTS.current().commit(true);
+
+// code changed to cope with recovery manager fix
+// that makes reply_completion cause resource to rollback even though
+// transaction has completed
+ ResourceTrace resourceTrace = service.get_resource_trace(0);
+
+// trace should be Commit_One_Phase because only single resource used
+ correct = correct && (resourceTrace == ResourceTrace.ResourceTraceCommitOnePhase);
+
+// check_oper will invoke reply_completion and check the state of the transaction
+ correct = correct && service.check_oper();
+
+// now sleep to let reply completion do its job 1 second should be more than enough
+ Thread.sleep(10 * 1000);
+
+ correct = correct && service.is_correct();
+// after reply_completion is called the resource will have rollback called on
+// it changeing the ResourceTrace to ResourceTrace.ResourceTraceUnknown
+ resourceTrace = service.get_resource_trace(0);
+
+ correct = correct && (resourceTrace == ResourceTrace.ResourceTraceUnknown);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client02.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client02.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client03.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client03.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client03.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,133 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client03.java,v 1.2 2003/06/26 11:43:15 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client03.java,v 1.2 2003/06/26 11:43:15 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client03
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service.setup_oper(1);
+
+ OTS.current().commit(false);
+// code changed to cope with recovery manager fix
+// that makes reply_completion cause resource to rollback even though
+// transaction has completed
+ ResourceTrace resourceTrace = service.get_resource_trace(0);
+
+// trace should be Commit_One_Phase because only single resource used
+ correct = correct && (resourceTrace == ResourceTrace.ResourceTraceCommitOnePhase);
+
+// check_oper will invoke reply_completion and check the state of the transaction
+ correct = correct && service.check_oper();
+
+// now sleep to let reply completion do its job 1 second should be more than enough
+ Thread.sleep(10 * 1000);
+
+ correct = correct && service.is_correct();
+// after reply_completion is called the resource will have rollback called on
+// it changeing the ResourceTrace to ResourceTrace.ResourceTraceUnknown
+ resourceTrace = service.get_resource_trace(0);
+
+ correct = correct && (resourceTrace == ResourceTrace.ResourceTraceUnknown);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client03.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client03.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client04.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client04.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client04.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,133 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client04.java,v 1.2 2003/06/26 11:43:15 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client04.java,v 1.2 2003/06/26 11:43:15 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client04
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service.setup_oper(1);
+
+ OTS.current().rollback();
+// code changed to cope with recovery manager fix
+// that makes reply_completion cause resource to rollback even though
+// transaction has completed
+ ResourceTrace resourceTrace = service.get_resource_trace(0);
+
+// trace should be rollback
+ correct = correct && (resourceTrace == ResourceTrace.ResourceTraceRollback);
+
+// check_oper will invoke reply_completion and check the state of the transaction
+ correct = correct && service.check_oper();
+
+// now sleep to let reply completion do its job 1 second should be more than enough
+ Thread.sleep(10 * 1000);
+
+ correct = correct && service.is_correct();
+// after reply_completion is called the resource will have rollback called on
+// it again, changing the ResourceTrace to ResourceTrace.ResourceTraceUnknown
+ resourceTrace = service.get_resource_trace(0);
+
+ correct = correct && (resourceTrace == ResourceTrace.ResourceTraceUnknown);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client04.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client04.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client05.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client05.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client05.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client05.java,v 1.2 2003/06/26 11:43:15 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client05.java,v 1.2 2003/06/26 11:43:15 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client05
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service.setup_oper(1);
+
+ OTS.current().rollback_only();
+
+ try
+ {
+ OTS.current().commit(true);
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledBack)
+ {
+ }
+
+// code changed to cope with recovery manager fix
+// that makes reply_completion cause resource to rollback even though
+// transaction has completed
+ ResourceTrace resourceTrace = service.get_resource_trace(0);
+
+// trace should be rollback
+ correct = correct && (resourceTrace == ResourceTrace.ResourceTraceRollback);
+
+// check_oper will invoke reply_completion and check the state of the transaction
+ correct = correct && service.check_oper();
+
+// now sleep to let reply completion do its job 1 second should be more than enough
+ Thread.sleep(10 * 1000);
+
+ correct = correct && service.is_correct();
+// after reply_completion is called the resource will have rollback called on
+// it again, changing the ResourceTrace to ResourceTrace.ResourceTraceUnknown
+ resourceTrace = service.get_resource_trace(0);
+
+ correct = correct && (resourceTrace == ResourceTrace.ResourceTraceUnknown);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client05.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client05.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client06.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client06.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client06.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client06.java,v 1.2 2003/06/26 11:43:15 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client06.java,v 1.2 2003/06/26 11:43:15 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client06
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service.setup_oper(1);
+
+ OTS.current().rollback_only();
+
+ try
+ {
+ OTS.current().commit(false);
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledBack)
+ {
+ }
+
+// code changed to cope with recovery manager fix
+// that makes reply_completion cause resource to rollback even though
+// transaction has completed
+ ResourceTrace resourceTrace = service.get_resource_trace(0);
+
+// trace should be rollback
+ correct = correct && (resourceTrace == ResourceTrace.ResourceTraceRollback);
+
+// check_oper will invoke reply_completion and check the state of the transaction
+ correct = correct && service.check_oper();
+
+// now sleep to let reply completion do its job 1 second should be more than enough
+ Thread.sleep(10 * 1000);
+
+ correct = correct && service.is_correct();
+// after reply_completion is called the resource will have rollback called on
+// it again, changing the ResourceTrace to ResourceTrace.ResourceTraceUnknown
+ resourceTrace = service.get_resource_trace(0);
+
+ correct = correct && (resourceTrace == ResourceTrace.ResourceTraceUnknown);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client06.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client06.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client07.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client07.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client07.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,123 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client07.java,v 1.2 2003/06/26 11:43:15 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client07.java,v 1.2 2003/06/26 11:43:15 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client07
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service.setup_oper(2);
+
+ correct = service.check_oper();
+
+ OTS.current().commit(true);
+
+ correct = correct && service.is_correct();
+
+ ResourceTrace resourceTrace1 = service.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service.get_resource_trace(1);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommit);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommit);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client07.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client07.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client08.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client08.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client08.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,138 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client08.java,v 1.2 2003/06/26 11:43:15 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client08.java,v 1.2 2003/06/26 11:43:15 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client08
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service.setup_oper(2);
+
+ OTS.current().commit(true);
+
+// code changed to cope with recovery manager fix
+// that makes reply_completion cause resource to rollback even though
+// transaction has completed
+ ResourceTrace resourceTrace1 = service.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service.get_resource_trace(1);
+
+// trace should be Commit_One_Phase because only single resource used
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceCommitOnePhase);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceCommitOnePhase);
+
+// check_oper will invoke reply_completion and check the state of the transaction
+ correct = service.check_oper();
+
+// now sleep to let reply completion do its job 1 second should be more than enough
+ Thread.sleep(10 * 1000);
+
+ correct = correct && service.is_correct();
+// after reply_completion is called the resource will have rollback called on
+// it changeing the ResourceTrace to ResourceTrace.ResourceTraceUnknown
+ resourceTrace1 = service.get_resource_trace(0);
+ resourceTrace2 = service.get_resource_trace(1);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceUnknown);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceUnknown);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client08.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client08.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client09.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client09.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client09.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,138 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client09.java,v 1.2 2003/06/26 11:43:15 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client09.java,v 1.2 2003/06/26 11:43:15 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client09
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service.setup_oper(2);
+
+ OTS.current().commit(false);
+
+// code changed to cope with recovery manager fix
+// that makes reply_completion cause resource to rollback even though
+// transaction has completed
+ ResourceTrace resourceTrace1 = service.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service.get_resource_trace(1);
+
+// trace should be Commit_One_Phase because only single resource used
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceCommitOnePhase);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceCommitOnePhase);
+
+// check_oper will invoke reply_completion and check the state of the transaction
+ correct = service.check_oper();
+
+// now sleep to let reply completion do its job 1 second should be more than enough
+ Thread.sleep(10 * 1000);
+
+ correct = correct && service.is_correct();
+// after reply_completion is called the resource will have rollback called on
+// it changeing the ResourceTrace to ResourceTrace.ResourceTraceUnknown
+ resourceTrace1 = service.get_resource_trace(0);
+ resourceTrace2 = service.get_resource_trace(1);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceUnknown);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceUnknown);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client09.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client09.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client10.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client10.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client10.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,138 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client10.java,v 1.2 2003/06/26 11:43:15 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client10.java,v 1.2 2003/06/26 11:43:15 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client10
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service.setup_oper(2);
+
+ OTS.current().rollback();
+
+// code changed to cope with recovery manager fix
+// that makes reply_completion cause resource to rollback even though
+// transaction has completed
+ ResourceTrace resourceTrace1 = service.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service.get_resource_trace(1);
+
+// trace should be rollback
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceRollback);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceRollback);
+
+// check_oper will invoke reply_completion and check the state of the transaction
+ correct = correct && service.check_oper();
+
+// now sleep to let reply completion do its job 1 second should be more than enough
+ Thread.sleep(10 * 1000);
+
+ correct = correct && service.is_correct();
+// after reply_completion is called the resource will have rollback called on
+// it again, changing the ResourceTrace to ResourceTrace.ResourceTraceUnknown
+ resourceTrace1 = service.get_resource_trace(0);
+ resourceTrace2 = service.get_resource_trace(1);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceUnknown);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceUnknown);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client10.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client10.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client11.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client11.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client11.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,149 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client11.java,v 1.2 2003/06/26 11:43:15 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client11.java,v 1.2 2003/06/26 11:43:15 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client11
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service.setup_oper(2);
+
+ OTS.current().rollback_only();
+
+ try
+ {
+ OTS.current().commit(true);
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledBack)
+ {
+ }
+
+// code changed to cope with recovery manager fix
+// that makes reply_completion cause resource to rollback even though
+// transaction has completed
+ ResourceTrace resourceTrace1 = service.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service.get_resource_trace(1);
+
+// trace should be rollback
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceRollback);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceRollback);
+
+// check_oper will invoke reply_completion and check the state of the transaction
+ correct = correct && service.check_oper();
+
+// now sleep to let reply completion do its job 1 second should be more than enough
+ Thread.sleep(10 * 1000);
+
+ correct = correct && service.is_correct();
+// after reply_completion is called the resource will have rollback called on
+// it again, changing the ResourceTrace to ResourceTrace.ResourceTraceUnknown
+ resourceTrace1 = service.get_resource_trace(0);
+ resourceTrace2 = service.get_resource_trace(1);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceUnknown);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceUnknown);
+
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client11.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client11.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client12.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client12.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client12.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,149 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client12.java,v 1.2 2003/06/26 11:43:15 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client12.java,v 1.2 2003/06/26 11:43:15 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client12
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service.setup_oper(2);
+
+ OTS.current().rollback_only();
+
+ try
+ {
+ OTS.current().commit(false);
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledBack)
+ {
+ }
+
+// code changed to cope with recovery manager fix
+// that makes reply_completion cause resource to rollback even though
+// transaction has completed
+ ResourceTrace resourceTrace1 = service.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service.get_resource_trace(1);
+
+// trace should be rollback
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceRollback);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceRollback);
+
+// check_oper will invoke reply_completion and check the state of the transaction
+ correct = correct && service.check_oper();
+
+// now sleep to let reply completion do its job 1 second should be more than enough
+ Thread.sleep(10 * 1000);
+
+ correct = correct && service.is_correct();
+// after reply_completion is called the resource will have rollback called on
+// it again, changing the ResourceTrace to ResourceTrace.ResourceTraceUnknown
+ resourceTrace1 = service.get_resource_trace(0);
+ resourceTrace2 = service.get_resource_trace(1);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceUnknown);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceUnknown);
+
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client12.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client12.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client13.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client13.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client13.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,129 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client13.java,v 1.2 2003/06/26 11:43:15 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client13.java,v 1.2 2003/06/26 11:43:15 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client13
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.setup_oper(1);
+ service2.setup_oper(1);
+
+ correct = correct && service1.check_oper();
+ correct = correct && service2.check_oper();
+
+ OTS.current().commit(true);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommit);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommit);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client13.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client13.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client14.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client14.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client14.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client14.java,v 1.2 2003/06/26 11:43:16 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client14.java,v 1.2 2003/06/26 11:43:16 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client14
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.setup_oper(1);
+ service2.setup_oper(1);
+
+ OTS.current().commit(true);
+
+// code changed to cope with recovery manager fix
+// that makes reply_completion cause resource to rollback even though
+// transaction has completed
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+// trace should be Commit_One_Phase because only single resource used
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommit);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommit);
+
+// check_oper will invoke reply_completion and check the state of the transaction
+ correct = correct && service1.check_oper();
+ correct = correct && service2.check_oper();
+
+// now sleep to let reply completion do its job 1 second should be more than enough
+ Thread.sleep(10 * 1000);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+// after reply_completion is called the resource will have rollback called on
+// it changeing the ResourceTrace to ResourceTrace.ResourceTraceUnknown
+ resourceTrace1 = service1.get_resource_trace(0);
+ resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceUnknown);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceUnknown);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client14.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client14.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client15.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client15.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client15.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client15.java,v 1.2 2003/06/26 11:43:16 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client15.java,v 1.2 2003/06/26 11:43:16 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client15
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.setup_oper(1);
+ service2.setup_oper(1);
+
+ OTS.current().commit(false);
+
+// code changed to cope with recovery manager fix
+// that makes reply_completion cause resource to rollback even though
+// transaction has completed
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+// trace should be Commit_One_Phase because only single resource used
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommit);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommit);
+
+// check_oper will invoke reply_completion and check the state of the transaction
+ correct = correct && service1.check_oper();
+ correct = correct && service2.check_oper();
+
+// now sleep to let reply completion do its job 1 second should be more than enough
+ Thread.sleep(10 * 1000);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+// after reply_completion is called the resource will have rollback called on
+// it changeing the ResourceTrace to ResourceTrace.ResourceTraceUnknown
+ resourceTrace1 = service1.get_resource_trace(0);
+ resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceUnknown);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceUnknown);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client15.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client15.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client16.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client16.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client16.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client16.java,v 1.2 2003/06/26 11:43:16 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client16.java,v 1.2 2003/06/26 11:43:16 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client16
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.setup_oper(1);
+ service2.setup_oper(1);
+
+ OTS.current().rollback();
+
+// code changed to cope with recovery manager fix
+// that makes reply_completion cause resource to rollback even though
+// transaction has completed
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+// trace should be rollback
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceRollback);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceRollback);
+
+// check_oper will invoke reply_completion and check the state of the transaction
+ correct = correct && service1.check_oper();
+ correct = correct && service2.check_oper();
+
+// now sleep to let reply completion do its job 1 second should be more than enough
+ Thread.sleep(10 * 1000);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+// after reply_completion is called the resource will have rollback called on
+// it again, changing the ResourceTrace to ResourceTrace.ResourceTraceUnknown
+ resourceTrace1 = service1.get_resource_trace(0);
+ resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceUnknown);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceUnknown);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client16.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client16.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client17.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client17.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client17.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client17.java,v 1.2 2003/06/26 11:43:16 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client17.java,v 1.2 2003/06/26 11:43:16 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client17
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.setup_oper(1);
+ service2.setup_oper(1);
+
+ OTS.current().rollback_only();
+
+ try
+ {
+ OTS.current().commit(true);
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledBack)
+ {
+ }
+// code changed to cope with recovery manager fix
+// that makes reply_completion cause resource to rollback even though
+// transaction has completed
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+// trace should be rollback
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceRollback);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceRollback);
+
+// check_oper will invoke reply_completion and check the state of the transaction
+ correct = correct && service1.check_oper();
+ correct = correct && service2.check_oper();
+
+// now sleep to let reply completion do its job 1 second should be more than enough
+ Thread.sleep(10 * 1000);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+// after reply_completion is called the resource will have rollback called on
+// it again, changing the ResourceTrace to ResourceTrace.ResourceTraceUnknown
+ resourceTrace1 = service1.get_resource_trace(0);
+ resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceUnknown);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceUnknown);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client17.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client17.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client18.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client18.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Clients/Client18.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,154 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client18.java,v 1.2 2003/06/26 11:43:16 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client18.java,v 1.2 2003/06/26 11:43:16 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client18
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.setup_oper(1);
+ service2.setup_oper(1);
+
+ OTS.current().rollback_only();
+
+ try
+ {
+ OTS.current().commit(false);
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledBack)
+ {
+ }
+
+// code changed to cope with recovery manager fix
+// that makes reply_completion cause resource to rollback even though
+// transaction has completed
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+// trace should be rollback
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceRollback);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceRollback);
+
+// check_oper will invoke reply_completion and check the state of the transaction
+ correct = correct && service1.check_oper();
+ correct = correct && service2.check_oper();
+
+// now sleep to let reply completion do its job 1 second should be more than enough
+ Thread.sleep(10 * 1000);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+// after reply_completion is called the resource will have rollback called on
+// it again, changing the ResourceTrace to ResourceTrace.ResourceTraceUnknown
+ resourceTrace1 = service1.get_resource_trace(0);
+ resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceUnknown);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceUnknown);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client18.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client18.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Impls/ResourceImpl01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Impls/ResourceImpl01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Impls/ResourceImpl01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,163 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: ResourceImpl01.java,v 1.2 2003/06/26 11:43:17 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.CrashRecovery01Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ResourceImpl01.java,v 1.2 2003/06/26 11:43:17 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ResourceImpl01.java,v 1.2 2003/06/26 11:43:17 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery01.*;
+import org.omg.CosTransactions.*;
+
+public class ResourceImpl01 implements ResourceOperations
+{
+ public ResourceImpl01(int objectNumber, int resourceNumber)
+ {
+ _objectNumber = objectNumber;
+ _resourceNumber = resourceNumber;
+ }
+
+ public Vote prepare()
+ throws HeuristicMixed, HeuristicHazard
+ {
+ System.err.print("ResourceImpl01.prepare [O" + _objectNumber + ".R" + _resourceNumber + "]: ");
+
+ if (_resourceTrace == ResourceTrace.ResourceTraceNone)
+ {
+ _resourceTrace = ResourceTrace.ResourceTracePrepare;
+ }
+ else
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceUnknown;
+ }
+
+ System.err.println("ReturnVoteCommit");
+
+ return Vote.VoteCommit;
+ }
+
+ public void rollback()
+ throws HeuristicCommit, HeuristicMixed, HeuristicHazard
+ {
+ System.err.print("ResourceImpl01.rollback [O" + _objectNumber + ".R" + _resourceNumber + "]: ");
+
+ if (_resourceTrace == ResourceTrace.ResourceTraceNone)
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceRollback;
+ }
+ else
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceUnknown;
+ }
+
+ System.err.println("Return");
+ }
+
+ public void commit()
+ throws NotPrepared, HeuristicRollback, HeuristicMixed, HeuristicHazard
+ {
+ System.err.print("ResourceImpl01.commit [O" + _objectNumber + ".R" + _resourceNumber + "]: ");
+
+ if (_resourceTrace == ResourceTrace.ResourceTracePrepare)
+ {
+ _resourceTrace = ResourceTrace.ResourceTracePrepareCommit;
+ }
+ else
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceUnknown;
+ }
+
+ System.err.println("Return");
+ }
+
+ public void commit_one_phase()
+ throws HeuristicHazard
+ {
+ System.err.print("ResourceImpl01.commit_one_phase [O" + _objectNumber + ".R" + _resourceNumber + "]: ");
+
+ if (_resourceTrace == ResourceTrace.ResourceTraceNone)
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceCommitOnePhase;
+ }
+ else
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceUnknown;
+ }
+
+ System.err.println("Return");
+ }
+
+ public void forget()
+ {
+ System.err.println("ResourceImpl01.forget [O" + _objectNumber + ".R" + _resourceNumber + "]: Return");
+
+ _resourceTrace = ResourceTrace.ResourceTraceUnknown;
+ }
+
+ public boolean isCorrect()
+ {
+ return true;
+ }
+
+ public ResourceTrace getTrace()
+ {
+ return _resourceTrace;
+ }
+
+ private int _objectNumber;
+ private int _resourceNumber;
+ private ResourceTrace _resourceTrace = ResourceTrace.ResourceTraceNone;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Impls/ServiceImpl01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Impls/ServiceImpl01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Impls/ServiceImpl01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,150 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: ServiceImpl01.java,v 1.4 2004/03/16 11:09:49 swheater Exp $
+//
+
+package org.jboss.jbossts.qa.CrashRecovery01Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ServiceImpl01.java,v 1.4 2004/03/16 11:09:49 swheater Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ServiceImpl01.java,v 1.4 2004/03/16 11:09:49 swheater Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.omg.CosTransactions.*;
+
+public class ServiceImpl01 implements ServiceOperations
+{
+ public ServiceImpl01(int objectNumber)
+ {
+ _objectNumber = objectNumber;
+ }
+
+ public void setup_oper(int number_of_resources)
+ {
+ _resourceImpl = new ResourceImpl01[number_of_resources];
+ _resource = new Resource[number_of_resources];
+ _recoveryCoordinator = new RecoveryCoordinator[number_of_resources];
+
+ for (int index = 0; index < number_of_resources; index++)
+ {
+ try
+ {
+ _resourceImpl[index] = new ResourceImpl01(_objectNumber, index);
+ ResourcePOATie servant = new ResourcePOATie(_resourceImpl[index]);
+
+ OAInterface.objectIsReady(servant);
+ _resource[index] = ResourceHelper.narrow(OAInterface.corbaReference(servant));
+
+ _recoveryCoordinator[index] = OTS.current().get_control().get_coordinator().register_resource(_resource[index]);
+ }
+ catch (Exception exception)
+ {
+ System.err.println("ServiceImpl01.setup_oper: " + exception);
+ exception.printStackTrace(System.err);
+ _isCorrect = false;
+ }
+ }
+ }
+
+ public boolean check_oper()
+ {
+ boolean correct = true;
+
+ for (int index = 0; index < _recoveryCoordinator.length; index++)
+ {
+ try
+ {
+ Status status = _recoveryCoordinator[index].replay_completion(_resource[index]);
+ System.err.println("ServiceImpl01.check_oper: replay_completion didn't throw expected exception (NotPrepared)");
+ correct = false;
+ }
+ catch (NotPrepared notPrepared)
+ {
+ }
+ catch (Exception exception)
+ {
+ System.err.println("ServiceImpl01.check_oper: " + exception);
+ exception.printStackTrace(System.err);
+ correct = false;
+ }
+ }
+
+ return correct;
+ }
+
+ public boolean is_correct()
+ {
+ return _isCorrect;
+ }
+
+ public ResourceTrace get_resource_trace(int resource_number)
+ {
+ if ((resource_number < 0) || (resource_number >= _resourceImpl.length))
+ {
+ return ResourceTrace.ResourceTraceUnknown;
+ }
+ else
+ {
+ return _resourceImpl[resource_number].getTrace();
+ }
+ }
+
+ private int _objectNumber;
+ private boolean _isCorrect = true;
+
+ private ResourceImpl01[] _resourceImpl = null;
+ private Resource[] _resource = null;
+ private RecoveryCoordinator[] _recoveryCoordinator = null;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Impls/ServiceImpl02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Impls/ServiceImpl02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Impls/ServiceImpl02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,150 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: ServiceImpl02.java,v 1.2 2003/06/26 11:43:17 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.CrashRecovery01Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ServiceImpl02.java,v 1.2 2003/06/26 11:43:17 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ServiceImpl02.java,v 1.2 2003/06/26 11:43:17 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.omg.CORBA.OBJECT_NOT_EXIST;
+import org.omg.CosTransactions.*;
+
+public class ServiceImpl02 implements ServiceOperations
+{
+ public ServiceImpl02(int objectNumber)
+ {
+ _objectNumber = objectNumber;
+ }
+
+ public void setup_oper(int number_of_resources)
+ {
+ _resourceImpl = new ResourceImpl01[number_of_resources];
+ _resource = new Resource[number_of_resources];
+ _recoveryCoordinator = new RecoveryCoordinator[number_of_resources];
+
+ for (int index = 0; index < number_of_resources; index++)
+ {
+ try
+ {
+ _resourceImpl[index] = new ResourceImpl01(_objectNumber, index);
+ ResourcePOATie servant = new ResourcePOATie(_resourceImpl[index]);
+
+ OAInterface.objectIsReady(servant);
+ _resource[index] = ResourceHelper.narrow(OAInterface.corbaReference(servant));
+
+ _recoveryCoordinator[index] = OTS.current().get_control().get_coordinator().register_resource(_resource[index]);
+ }
+ catch (Exception exception)
+ {
+ System.err.println("ServiceImpl02.setup_oper: " + exception);
+ exception.printStackTrace(System.err);
+ _isCorrect = false;
+ }
+ }
+ }
+
+ public boolean check_oper()
+ {
+ boolean correct = true;
+
+ for (int index = 0; index < _recoveryCoordinator.length; index++)
+ {
+ try
+ {
+ Status status = _recoveryCoordinator[index].replay_completion(_resource[index]);
+ correct = correct && (status == Status.StatusCommitted);
+ }
+ catch (OBJECT_NOT_EXIST objectNotExist)
+ {
+ }
+ catch (Exception exception)
+ {
+ System.err.println("ServiceImpl02.check_oper: " + exception);
+ exception.printStackTrace(System.err);
+ correct = false;
+ }
+ }
+
+ return correct;
+ }
+
+ public boolean is_correct()
+ {
+ return _isCorrect;
+ }
+
+ public ResourceTrace get_resource_trace(int resource_number)
+ {
+ if ((resource_number < 0) || (resource_number >= _resourceImpl.length))
+ {
+ return ResourceTrace.ResourceTraceUnknown;
+ }
+ else
+ {
+ return _resourceImpl[resource_number].getTrace();
+ }
+ }
+
+ private int _objectNumber;
+ private boolean _isCorrect = true;
+
+ private ResourceImpl01[] _resourceImpl = null;
+ private Resource[] _resource = null;
+ private RecoveryCoordinator[] _recoveryCoordinator = null;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Impls/ServiceImpl03.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Impls/ServiceImpl03.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Impls/ServiceImpl03.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,150 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: ServiceImpl03.java,v 1.2 2003/06/26 11:43:17 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.CrashRecovery01Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ServiceImpl03.java,v 1.2 2003/06/26 11:43:17 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ServiceImpl03.java,v 1.2 2003/06/26 11:43:17 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.omg.CORBA.OBJECT_NOT_EXIST;
+import org.omg.CosTransactions.*;
+
+public class ServiceImpl03 implements ServiceOperations
+{
+ public ServiceImpl03(int objectNumber)
+ {
+ _objectNumber = objectNumber;
+ }
+
+ public void setup_oper(int number_of_resources)
+ {
+ _resourceImpl = new ResourceImpl01[number_of_resources];
+ _resource = new Resource[number_of_resources];
+ _recoveryCoordinator = new RecoveryCoordinator[number_of_resources];
+
+ for (int index = 0; index < number_of_resources; index++)
+ {
+ try
+ {
+ _resourceImpl[index] = new ResourceImpl01(_objectNumber, index);
+ ResourcePOATie servant = new ResourcePOATie(_resourceImpl[index]);
+
+ OAInterface.objectIsReady(servant);
+ _resource[index] = ResourceHelper.narrow(OAInterface.corbaReference(servant));
+
+ _recoveryCoordinator[index] = OTS.current().get_control().get_coordinator().register_resource(_resource[index]);
+ }
+ catch (Exception exception)
+ {
+ System.err.println("ServiceImpl03.setup_oper: " + exception);
+ exception.printStackTrace(System.err);
+ _isCorrect = false;
+ }
+ }
+ }
+
+ public boolean check_oper()
+ {
+ boolean correct = true;
+
+ for (int index = 0; index < _recoveryCoordinator.length; index++)
+ {
+ try
+ {
+ Status status = _recoveryCoordinator[index].replay_completion(_resource[index]);
+ correct = correct && (status == Status.StatusRolledBack);
+ }
+ catch (OBJECT_NOT_EXIST objectNotExist)
+ {
+ }
+ catch (Exception exception)
+ {
+ System.err.println("ServiceImpl03.check_oper: " + exception);
+ exception.printStackTrace(System.err);
+ correct = false;
+ }
+ }
+
+ return correct;
+ }
+
+ public boolean is_correct()
+ {
+ return _isCorrect;
+ }
+
+ public ResourceTrace get_resource_trace(int resource_number)
+ {
+ if ((resource_number < 0) || (resource_number >= _resourceImpl.length))
+ {
+ return ResourceTrace.ResourceTraceUnknown;
+ }
+ else
+ {
+ return _resourceImpl[resource_number].getTrace();
+ }
+ }
+
+ private int _objectNumber;
+ private boolean _isCorrect = true;
+
+ private ResourceImpl01[] _resourceImpl = null;
+ private Resource[] _resource = null;
+ private RecoveryCoordinator[] _recoveryCoordinator = null;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Servers/Server01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Servers/Server01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Servers/Server01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,94 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.CrashRecovery01Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server01.java,v 1.2 2003/06/26 11:43:17 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server01.java,v 1.2 2003/06/26 11:43:17 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery01.*;
+import org.jboss.jbossts.qa.CrashRecovery01Impls.ServiceImpl01;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server01
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ ServiceImpl01 serviceImpl = new ServiceImpl01(0);
+ ServicePOATie servant = new ServicePOATie(serviceImpl);
+
+ OAInterface.objectIsReady(servant);
+ Service service = ServiceHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(service));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Servers/Server02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Servers/Server02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Servers/Server02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,94 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.CrashRecovery01Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server02.java,v 1.2 2003/06/26 11:43:17 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server02.java,v 1.2 2003/06/26 11:43:17 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery01.*;
+import org.jboss.jbossts.qa.CrashRecovery01Impls.ServiceImpl03;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server02
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ ServiceImpl03 serviceImpl = new ServiceImpl03(0);
+ ServicePOATie servant = new ServicePOATie(serviceImpl);
+
+ OAInterface.objectIsReady(servant);
+ Service service = ServiceHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(service));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server02.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Servers/Server03.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Servers/Server03.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Servers/Server03.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,94 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.CrashRecovery01Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server03.java,v 1.2 2003/06/26 11:43:17 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server03.java,v 1.2 2003/06/26 11:43:17 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery01.*;
+import org.jboss.jbossts.qa.CrashRecovery01Impls.ServiceImpl03;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server03
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ ServiceImpl03 serviceImpl = new ServiceImpl03(0);
+ ServicePOATie servant = new ServicePOATie(serviceImpl);
+
+ OAInterface.objectIsReady(servant);
+ Service service = ServiceHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(service));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server03.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Servers/Server04.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Servers/Server04.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Servers/Server04.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,102 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.CrashRecovery01Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server04.java,v 1.2 2003/06/26 11:43:17 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server04.java,v 1.2 2003/06/26 11:43:17 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery01.*;
+import org.jboss.jbossts.qa.CrashRecovery01Impls.ServiceImpl01;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server04
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ ServiceImpl01 serviceImpl1 = new ServiceImpl01(0);
+ ServiceImpl01 serviceImpl2 = new ServiceImpl01(1);
+
+ ServicePOATie servant1 = new ServicePOATie(serviceImpl1);
+ ServicePOATie servant2 = new ServicePOATie(serviceImpl2);
+
+ OAInterface.objectIsReady(servant1);
+ Service service1 = ServiceHelper.narrow(OAInterface.corbaReference(servant1));
+
+ OAInterface.objectIsReady(servant2);
+ Service service2 = ServiceHelper.narrow(OAInterface.corbaReference(servant2));
+
+
+ ServerIORStore.storeIOR(args[args.length - 2], ORBInterface.orb().object_to_string(service1));
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(service2));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server04.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Servers/Server05.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Servers/Server05.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Servers/Server05.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,101 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.CrashRecovery01Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server05.java,v 1.2 2003/06/26 11:43:18 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server05.java,v 1.2 2003/06/26 11:43:18 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery01.*;
+import org.jboss.jbossts.qa.CrashRecovery01Impls.ServiceImpl03;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server05
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ ServiceImpl03 serviceImpl1 = new ServiceImpl03(0);
+ ServiceImpl03 serviceImpl2 = new ServiceImpl03(1);
+
+ ServicePOATie servant1 = new ServicePOATie(serviceImpl1);
+ ServicePOATie servant2 = new ServicePOATie(serviceImpl2);
+
+ OAInterface.objectIsReady(servant1);
+ Service service1 = ServiceHelper.narrow(OAInterface.corbaReference(servant1));
+
+ OAInterface.objectIsReady(servant2);
+ Service service2 = ServiceHelper.narrow(OAInterface.corbaReference(servant2));
+
+ ServerIORStore.storeIOR(args[args.length - 2], ORBInterface.orb().object_to_string(service1));
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(service2));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server05.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Servers/Server06.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Servers/Server06.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery01Servers/Server06.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,101 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.CrashRecovery01Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server06.java,v 1.2 2003/06/26 11:43:18 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server06.java,v 1.2 2003/06/26 11:43:18 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery01.*;
+import org.jboss.jbossts.qa.CrashRecovery01Impls.ServiceImpl03;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server06
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ ServiceImpl03 serviceImpl1 = new ServiceImpl03(0);
+ ServiceImpl03 serviceImpl2 = new ServiceImpl03(1);
+
+ ServicePOATie servant1 = new ServicePOATie(serviceImpl1);
+ ServicePOATie servant2 = new ServicePOATie(serviceImpl2);
+
+ OAInterface.objectIsReady(servant1);
+ Service service1 = ServiceHelper.narrow(OAInterface.corbaReference(servant1));
+
+ OAInterface.objectIsReady(servant2);
+ Service service2 = ServiceHelper.narrow(OAInterface.corbaReference(servant2));
+
+ ServerIORStore.storeIOR(args[args.length - 2], ORBInterface.orb().object_to_string(service1));
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(service2));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server06.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients1/Client01a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients1/Client01a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients1/Client01a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,125 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Clients1;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client01a.java,v 1.2 2003/06/26 11:43:18 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client01a.java,v 1.2 2003/06/26 11:43:18 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.CrashRecovery02Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client01a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ CheckBehavior[] checkBehaviors = new CheckBehavior[1];
+ checkBehaviors[0] = new CheckBehavior();
+ checkBehaviors[0].allow_done = false;
+ checkBehaviors[0].allow_returned_prepared = false;
+ checkBehaviors[0].allow_returned_committing = false;
+ checkBehaviors[0].allow_returned_committed = false;
+ checkBehaviors[0].allow_returned_rolledback = true;
+ checkBehaviors[0].allow_raised_not_prepared = false;
+
+ boolean correct = true;
+
+ service.setup_oper(1);
+
+ correct = service.check_oper(checkBehaviors) && service.is_correct();
+
+ Thread.sleep(Delays.replyCompletionDelay());
+
+ ResourceTrace resourceTrace = service.get_resource_trace(0);
+ correct = correct && (resourceTrace == ResourceTrace.ResourceTraceRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client01a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client01a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients1/Client01b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients1/Client01b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients1/Client01b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,127 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Clients1;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client01b.java,v 1.2 2003/06/26 11:43:18 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client01b.java,v 1.2 2003/06/26 11:43:18 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client01b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ ResourceBehavior[] resourceBehaviors = new ResourceBehavior[1];
+ resourceBehaviors[0] = new ResourceBehavior();
+ resourceBehaviors[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInCommitOnePhase;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service.setup_oper(resourceBehaviors);
+
+ correct = service.is_correct();
+
+ try
+ {
+ OTS.current().commit(true);
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client01b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client01b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients1/Client02a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients1/Client02a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients1/Client02a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,126 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Clients1;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client02a.java,v 1.2 2003/06/26 11:43:18 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client02a.java,v 1.2 2003/06/26 11:43:18 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.CrashRecovery02Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client02a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ CheckBehavior[] checkBehaviors = new CheckBehavior[1];
+ checkBehaviors[0] = new CheckBehavior();
+ checkBehaviors[0].allow_done = false;
+ checkBehaviors[0].allow_returned_prepared = false;
+ checkBehaviors[0].allow_returned_committing = false;
+ checkBehaviors[0].allow_returned_committed = false;
+ checkBehaviors[0].allow_returned_rolledback = true;
+ checkBehaviors[0].allow_raised_not_prepared = false;
+
+ boolean correct = true;
+
+ service.setup_oper(1);
+
+ correct = service.check_oper(checkBehaviors) && service.is_correct();
+
+ Thread.sleep(Delays.replyCompletionDelay());
+
+ ResourceTrace resourceTrace = service.get_resource_trace(0);
+
+ correct = correct && (resourceTrace == ResourceTrace.ResourceTraceRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client02a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client02a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients1/Client02b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients1/Client02b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients1/Client02b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,119 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Clients1;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client02b.java,v 1.2 2003/06/26 11:43:18 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client02b.java,v 1.2 2003/06/26 11:43:18 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client02b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ ResourceBehavior[] resourceBehaviors = new ResourceBehavior[1];
+ resourceBehaviors[0] = new ResourceBehavior();
+ resourceBehaviors[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInCommitOnePhase;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service.setup_oper(resourceBehaviors);
+
+ correct = service.is_correct();
+
+ OTS.current().commit(false);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client02b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client02b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients1/Client03a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients1/Client03a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients1/Client03a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,126 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Clients1;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client03a.java,v 1.2 2003/06/26 11:43:18 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client03a.java,v 1.2 2003/06/26 11:43:18 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.CrashRecovery02Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client03a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ CheckBehavior[] checkBehaviors = new CheckBehavior[1];
+ checkBehaviors[0] = new CheckBehavior();
+ checkBehaviors[0].allow_done = false;
+ checkBehaviors[0].allow_returned_prepared = false;
+ checkBehaviors[0].allow_returned_committing = false;
+ checkBehaviors[0].allow_returned_committed = false;
+ checkBehaviors[0].allow_returned_rolledback = true;
+ checkBehaviors[0].allow_raised_not_prepared = false;
+
+ boolean correct = true;
+
+ service.setup_oper(1);
+
+ correct = service.check_oper(checkBehaviors) && service.is_correct();
+
+ Thread.sleep(Delays.replyCompletionDelay());
+
+ ResourceTrace resourceTrace = service.get_resource_trace(0);
+
+ correct = correct && (resourceTrace == ResourceTrace.ResourceTraceRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client03a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client03a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients1/Client03b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients1/Client03b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients1/Client03b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,119 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Clients1;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client03b.java,v 1.2 2003/06/26 11:43:18 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client03b.java,v 1.2 2003/06/26 11:43:18 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client03b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ ResourceBehavior[] resourceBehaviors = new ResourceBehavior[1];
+ resourceBehaviors[0] = new ResourceBehavior();
+ resourceBehaviors[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInRollback;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service.setup_oper(resourceBehaviors);
+
+ correct = service.is_correct();
+
+ OTS.current().rollback();
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client03b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client03b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients1/Client04a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients1/Client04a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients1/Client04a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,126 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Clients1;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client04a.java,v 1.2 2003/06/26 11:43:18 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client04a.java,v 1.2 2003/06/26 11:43:18 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.CrashRecovery02Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client04a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ CheckBehavior[] checkBehaviors = new CheckBehavior[1];
+ checkBehaviors[0] = new CheckBehavior();
+ checkBehaviors[0].allow_done = false;
+ checkBehaviors[0].allow_returned_prepared = false;
+ checkBehaviors[0].allow_returned_committing = false;
+ checkBehaviors[0].allow_returned_committed = false;
+ checkBehaviors[0].allow_returned_rolledback = true;
+ checkBehaviors[0].allow_raised_not_prepared = false;
+
+ boolean correct = true;
+
+ service.setup_oper(1);
+
+ correct = service.check_oper(checkBehaviors) && service.is_correct();
+
+ Thread.sleep(Delays.replyCompletionDelay());
+
+ ResourceTrace resourceTrace = service.get_resource_trace(0);
+
+ correct = correct && (resourceTrace == ResourceTrace.ResourceTraceRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client04a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client04a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients1/Client04b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients1/Client04b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients1/Client04b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,129 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Clients1;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client04b.java,v 1.2 2003/06/26 11:43:18 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client04b.java,v 1.2 2003/06/26 11:43:18 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client04b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ ResourceBehavior[] resourceBehaviors = new ResourceBehavior[1];
+ resourceBehaviors[0] = new ResourceBehavior();
+ resourceBehaviors[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInRollback;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service.setup_oper(resourceBehaviors);
+
+ correct = service.is_correct();
+
+ OTS.current().rollback_only();
+
+ try
+ {
+ OTS.current().commit(true);
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client04b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client04b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients1/Client05a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients1/Client05a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients1/Client05a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,126 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Clients1;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client05a.java,v 1.2 2003/06/26 11:43:18 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client05a.java,v 1.2 2003/06/26 11:43:18 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.CrashRecovery02Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client05a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ CheckBehavior[] checkBehaviors = new CheckBehavior[1];
+ checkBehaviors[0] = new CheckBehavior();
+ checkBehaviors[0].allow_done = false;
+ checkBehaviors[0].allow_returned_prepared = false;
+ checkBehaviors[0].allow_returned_committing = false;
+ checkBehaviors[0].allow_returned_committed = false;
+ checkBehaviors[0].allow_returned_rolledback = true;
+ checkBehaviors[0].allow_raised_not_prepared = false;
+
+ boolean correct = true;
+
+ service.setup_oper(1);
+
+ correct = service.check_oper(checkBehaviors) && service.is_correct();
+
+ Thread.sleep(Delays.replyCompletionDelay());
+
+ ResourceTrace resourceTrace = service.get_resource_trace(0);
+
+ correct = correct && (resourceTrace == ResourceTrace.ResourceTraceRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client05a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client05a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients1/Client05b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients1/Client05b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients1/Client05b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,129 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Clients1;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client05b.java,v 1.2 2003/06/26 11:43:18 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client05b.java,v 1.2 2003/06/26 11:43:18 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client05b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ ResourceBehavior[] resourceBehaviors = new ResourceBehavior[1];
+ resourceBehaviors[0] = new ResourceBehavior();
+ resourceBehaviors[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInRollback;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service.setup_oper(resourceBehaviors);
+
+ correct = service.is_correct();
+
+ OTS.current().rollback_only();
+
+ try
+ {
+ OTS.current().commit(false);
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client05b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client05b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client01a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client01a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client01a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client01a.java,v 1.2 2003/06/26 11:43:19 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client01a.java,v 1.2 2003/06/26 11:43:19 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.CrashRecovery02Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client01a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ AfterCrashService service1 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service2 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ CheckBehavior[] checkBehaviors1 = new CheckBehavior[1];
+ checkBehaviors1[0] = new CheckBehavior();
+ checkBehaviors1[0].allow_done = true;
+ checkBehaviors1[0].allow_returned_prepared = true;
+ checkBehaviors1[0].allow_returned_committing = true;
+ checkBehaviors1[0].allow_returned_committed = true;
+ checkBehaviors1[0].allow_returned_rolledback = false;
+ checkBehaviors1[0].allow_raised_not_prepared = false;
+
+ CheckBehavior[] checkBehaviors2 = new CheckBehavior[1];
+ checkBehaviors2[0] = new CheckBehavior();
+ checkBehaviors2[0].allow_done = false;
+ checkBehaviors2[0].allow_returned_prepared = true;
+ checkBehaviors2[0].allow_returned_committing = true;
+ checkBehaviors2[0].allow_returned_committed = true;
+ checkBehaviors2[0].allow_returned_rolledback = false;
+ checkBehaviors2[0].allow_raised_not_prepared = false;
+
+ boolean correct = true;
+
+ service1.setup_oper(1);
+ service2.setup_oper(1);
+
+ correct = correct && service1.check_oper(checkBehaviors1);
+ correct = correct && service2.check_oper(checkBehaviors2);
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ Thread.sleep(Delays.replyCompletionDelay());
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTraceNone) || (resourceTrace1 == ResourceTrace.ResourceTraceCommit));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceCommit);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client01a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client01a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client01b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client01b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client01b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,135 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client01b.java,v 1.2 2003/06/26 11:43:19 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client01b.java,v 1.2 2003/06/26 11:43:19 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client01b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ BeforeCrashService service1 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service2 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].crash_behavior = CrashBehavior.CrashBehaviorNoCrash;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInCommit;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.setup_oper(resourceBehaviors1);
+ service2.setup_oper(resourceBehaviors2);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ try
+ {
+ OTS.current().commit(true);
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client01b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client01b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client02a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client02a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client02a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client02a.java,v 1.2 2003/06/26 11:43:19 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client02a.java,v 1.2 2003/06/26 11:43:19 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.CrashRecovery02Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client02a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ AfterCrashService service1 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service2 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ CheckBehavior[] checkBehaviors1 = new CheckBehavior[1];
+ checkBehaviors1[0] = new CheckBehavior();
+ checkBehaviors1[0].allow_done = false;
+ checkBehaviors1[0].allow_returned_prepared = true;
+ checkBehaviors1[0].allow_returned_committing = true;
+ checkBehaviors1[0].allow_returned_committed = true;
+ checkBehaviors1[0].allow_returned_rolledback = false;
+ checkBehaviors1[0].allow_raised_not_prepared = false;
+
+ CheckBehavior[] checkBehaviors2 = new CheckBehavior[1];
+ checkBehaviors2[0] = new CheckBehavior();
+ checkBehaviors2[0].allow_done = true;
+ checkBehaviors2[0].allow_returned_prepared = true;
+ checkBehaviors2[0].allow_returned_committing = true;
+ checkBehaviors2[0].allow_returned_committed = true;
+ checkBehaviors2[0].allow_returned_rolledback = false;
+ checkBehaviors2[0].allow_raised_not_prepared = false;
+
+ boolean correct = true;
+
+ service1.setup_oper(1);
+ service2.setup_oper(1);
+
+ correct = correct && service1.check_oper(checkBehaviors1);
+ correct = correct && service2.check_oper(checkBehaviors2);
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ Thread.sleep(Delays.replyCompletionDelay());
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceCommit);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTraceNone) || (resourceTrace2 == ResourceTrace.ResourceTraceCommit));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client02a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client02a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client02b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client02b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client02b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,135 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client02b.java,v 1.2 2003/06/26 11:43:19 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client02b.java,v 1.2 2003/06/26 11:43:19 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client02b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ BeforeCrashService service1 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service2 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInCommit;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].crash_behavior = CrashBehavior.CrashBehaviorNoCrash;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.setup_oper(resourceBehaviors1);
+ service2.setup_oper(resourceBehaviors2);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ try
+ {
+ OTS.current().commit(true);
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client02b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client02b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client03a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client03a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client03a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client03a.java,v 1.2 2003/06/26 11:43:19 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client03a.java,v 1.2 2003/06/26 11:43:19 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.CrashRecovery02Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client03a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ AfterCrashService service1 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service2 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ CheckBehavior[] checkBehaviors1 = new CheckBehavior[1];
+ checkBehaviors1[0] = new CheckBehavior();
+ checkBehaviors1[0].allow_done = false;
+ checkBehaviors1[0].allow_returned_prepared = true;
+ checkBehaviors1[0].allow_returned_committing = true;
+ checkBehaviors1[0].allow_returned_committed = true;
+ checkBehaviors1[0].allow_returned_rolledback = false;
+ checkBehaviors1[0].allow_raised_not_prepared = false;
+
+ CheckBehavior[] checkBehaviors2 = new CheckBehavior[1];
+ checkBehaviors2[0] = new CheckBehavior();
+ checkBehaviors2[0].allow_done = false;
+ checkBehaviors2[0].allow_returned_prepared = true;
+ checkBehaviors2[0].allow_returned_committing = true;
+ checkBehaviors2[0].allow_returned_committed = true;
+ checkBehaviors2[0].allow_returned_rolledback = false;
+ checkBehaviors2[0].allow_raised_not_prepared = false;
+
+ boolean correct = true;
+
+ service1.setup_oper(1);
+ service2.setup_oper(1);
+
+ correct = correct && service1.check_oper(checkBehaviors1);
+ correct = correct && service2.check_oper(checkBehaviors2);
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ Thread.sleep(Delays.replyCompletionDelay());
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceCommit);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceCommit);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client03a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client03a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client03b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client03b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client03b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,135 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client03b.java,v 1.2 2003/06/26 11:43:19 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client03b.java,v 1.2 2003/06/26 11:43:19 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client03b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ BeforeCrashService service1 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service2 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInCommit;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInCommit;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.setup_oper(resourceBehaviors1);
+ service2.setup_oper(resourceBehaviors2);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ try
+ {
+ OTS.current().commit(true);
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client03b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client03b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client04a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client04a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client04a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client04a.java,v 1.2 2003/06/26 11:43:19 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client04a.java,v 1.2 2003/06/26 11:43:19 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.CrashRecovery02Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client04a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ AfterCrashService service1 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service2 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ CheckBehavior[] checkBehaviors1 = new CheckBehavior[1];
+ checkBehaviors1[0] = new CheckBehavior();
+ checkBehaviors1[0].allow_done = true;
+ checkBehaviors1[0].allow_returned_prepared = true;
+ checkBehaviors1[0].allow_returned_committing = true;
+ checkBehaviors1[0].allow_returned_committed = true;
+ checkBehaviors1[0].allow_returned_rolledback = false;
+ checkBehaviors1[0].allow_raised_not_prepared = false;
+
+ CheckBehavior[] checkBehaviors2 = new CheckBehavior[1];
+ checkBehaviors2[0] = new CheckBehavior();
+ checkBehaviors2[0].allow_done = false;
+ checkBehaviors2[0].allow_returned_prepared = true;
+ checkBehaviors2[0].allow_returned_committing = true;
+ checkBehaviors2[0].allow_returned_committed = true;
+ checkBehaviors2[0].allow_returned_rolledback = false;
+ checkBehaviors2[0].allow_raised_not_prepared = false;
+
+ boolean correct = true;
+
+ service1.setup_oper(1);
+ service2.setup_oper(1);
+
+ correct = correct && service1.check_oper(checkBehaviors1);
+ correct = correct && service2.check_oper(checkBehaviors2);
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ Thread.sleep(Delays.replyCompletionDelay());
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTraceNone) || (resourceTrace1 == ResourceTrace.ResourceTraceCommit));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceCommit);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client04a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client04a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client04b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client04b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client04b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,128 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client04b.java,v 1.2 2003/06/26 11:43:19 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client04b.java,v 1.2 2003/06/26 11:43:19 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client04b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ BeforeCrashService service1 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service2 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].crash_behavior = CrashBehavior.CrashBehaviorNoCrash;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInCommit;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.setup_oper(resourceBehaviors1);
+ service2.setup_oper(resourceBehaviors2);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ OTS.current().commit(false);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client04b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client04b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client05a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client05a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client05a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client05a.java,v 1.2 2003/06/26 11:43:19 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client05a.java,v 1.2 2003/06/26 11:43:19 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.CrashRecovery02Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client05a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ AfterCrashService service1 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service2 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ CheckBehavior[] checkBehaviors1 = new CheckBehavior[1];
+ checkBehaviors1[0] = new CheckBehavior();
+ checkBehaviors1[0].allow_done = false;
+ checkBehaviors1[0].allow_returned_prepared = true;
+ checkBehaviors1[0].allow_returned_committing = true;
+ checkBehaviors1[0].allow_returned_committed = true;
+ checkBehaviors1[0].allow_returned_rolledback = false;
+ checkBehaviors1[0].allow_raised_not_prepared = false;
+
+ CheckBehavior[] checkBehaviors2 = new CheckBehavior[1];
+ checkBehaviors2[0] = new CheckBehavior();
+ checkBehaviors2[0].allow_done = true;
+ checkBehaviors2[0].allow_returned_prepared = true;
+ checkBehaviors2[0].allow_returned_committing = true;
+ checkBehaviors2[0].allow_returned_committed = true;
+ checkBehaviors2[0].allow_returned_rolledback = false;
+ checkBehaviors2[0].allow_raised_not_prepared = false;
+
+ boolean correct = true;
+
+ service1.setup_oper(1);
+ service2.setup_oper(1);
+
+ correct = correct && service1.check_oper(checkBehaviors1);
+ correct = correct && service2.check_oper(checkBehaviors2);
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ Thread.sleep(Delays.replyCompletionDelay());
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceCommit);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTraceNone) || (resourceTrace2 == ResourceTrace.ResourceTraceCommit));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client05a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client05a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client05b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client05b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client05b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,128 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client05b.java,v 1.2 2003/06/26 11:43:19 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client05b.java,v 1.2 2003/06/26 11:43:19 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client05b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ BeforeCrashService service1 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service2 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInCommit;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].crash_behavior = CrashBehavior.CrashBehaviorNoCrash;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.setup_oper(resourceBehaviors1);
+ service2.setup_oper(resourceBehaviors2);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ OTS.current().commit(false);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client05b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client05b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client06a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client06a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client06a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client06a.java,v 1.2 2003/06/26 11:43:20 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client06a.java,v 1.2 2003/06/26 11:43:20 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.CrashRecovery02Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client06a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ AfterCrashService service1 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service2 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ CheckBehavior[] checkBehaviors1 = new CheckBehavior[1];
+ checkBehaviors1[0] = new CheckBehavior();
+ checkBehaviors1[0].allow_done = false;
+ checkBehaviors1[0].allow_returned_prepared = true;
+ checkBehaviors1[0].allow_returned_committing = true;
+ checkBehaviors1[0].allow_returned_committed = true;
+ checkBehaviors1[0].allow_returned_rolledback = false;
+ checkBehaviors1[0].allow_raised_not_prepared = false;
+
+ CheckBehavior[] checkBehaviors2 = new CheckBehavior[1];
+ checkBehaviors2[0] = new CheckBehavior();
+ checkBehaviors2[0].allow_done = false;
+ checkBehaviors2[0].allow_returned_prepared = true;
+ checkBehaviors2[0].allow_returned_committing = true;
+ checkBehaviors2[0].allow_returned_committed = true;
+ checkBehaviors2[0].allow_returned_rolledback = false;
+ checkBehaviors2[0].allow_raised_not_prepared = false;
+
+ boolean correct = true;
+
+ service1.setup_oper(1);
+ service2.setup_oper(1);
+
+ correct = correct && service1.check_oper(checkBehaviors1);
+ correct = correct && service2.check_oper(checkBehaviors2);
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ Thread.sleep(Delays.replyCompletionDelay());
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceCommit);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceCommit);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client06a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client06a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client06b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client06b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client06b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,128 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client06b.java,v 1.2 2003/06/26 11:43:20 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client06b.java,v 1.2 2003/06/26 11:43:20 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client06b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ BeforeCrashService service1 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service2 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInCommit;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInCommit;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.setup_oper(resourceBehaviors1);
+ service2.setup_oper(resourceBehaviors2);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ OTS.current().commit(false);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client06b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client06b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client07a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client07a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client07a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client07a.java,v 1.2 2003/06/26 11:43:20 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client07a.java,v 1.2 2003/06/26 11:43:20 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.CrashRecovery02Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client07a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ AfterCrashService service1 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service2 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ CheckBehavior[] checkBehaviors1 = new CheckBehavior[1];
+ checkBehaviors1[0] = new CheckBehavior();
+ checkBehaviors1[0].allow_done = true;
+ checkBehaviors1[0].allow_returned_prepared = true;
+ checkBehaviors1[0].allow_returned_committing = false;
+ checkBehaviors1[0].allow_returned_committed = false;
+ checkBehaviors1[0].allow_returned_rolledback = true;
+ checkBehaviors1[0].allow_raised_not_prepared = false;
+
+ CheckBehavior[] checkBehaviors2 = new CheckBehavior[1];
+ checkBehaviors2[0] = new CheckBehavior();
+ checkBehaviors2[0].allow_done = false;
+ checkBehaviors2[0].allow_returned_prepared = false;
+ checkBehaviors2[0].allow_returned_committing = false;
+ checkBehaviors2[0].allow_returned_committed = false;
+ checkBehaviors2[0].allow_returned_rolledback = true;
+ checkBehaviors2[0].allow_raised_not_prepared = false;
+
+ boolean correct = true;
+
+ service1.setup_oper(1);
+ service2.setup_oper(1);
+
+ correct = correct && service1.check_oper(checkBehaviors1);
+ correct = correct && service2.check_oper(checkBehaviors2);
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ Thread.sleep(Delays.replyCompletionDelay());
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTraceNone) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client07a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client07a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client07b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client07b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client07b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,140 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client07b.java,v 1.2 2003/06/26 11:43:20 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client07b.java,v 1.2 2003/06/26 11:43:20 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client07b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ BeforeCrashService service1 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service2 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].crash_behavior = CrashBehavior.CrashBehaviorNoCrash;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInPrepare;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.setup_oper(resourceBehaviors1);
+ service2.setup_oper(resourceBehaviors2);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ try
+ {
+ OTS.current().commit(true);
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client07b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client07b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client08a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client08a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client08a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client08a.java,v 1.2 2003/06/26 11:43:20 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client08a.java,v 1.2 2003/06/26 11:43:20 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.CrashRecovery02Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client08a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ AfterCrashService service1 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service2 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ CheckBehavior[] checkBehaviors1 = new CheckBehavior[1];
+ checkBehaviors1[0] = new CheckBehavior();
+ checkBehaviors1[0].allow_done = false;
+ checkBehaviors1[0].allow_returned_prepared = true;
+ checkBehaviors1[0].allow_returned_committing = false;
+ checkBehaviors1[0].allow_returned_committed = false;
+ checkBehaviors1[0].allow_returned_rolledback = true;
+ checkBehaviors1[0].allow_raised_not_prepared = false;
+
+ CheckBehavior[] checkBehaviors2 = new CheckBehavior[1];
+ checkBehaviors2[0] = new CheckBehavior();
+ checkBehaviors2[0].allow_done = false;
+ checkBehaviors2[0].allow_returned_prepared = false;
+ checkBehaviors2[0].allow_returned_committing = false;
+ checkBehaviors2[0].allow_returned_committed = false;
+ checkBehaviors2[0].allow_returned_rolledback = true;
+ checkBehaviors2[0].allow_raised_not_prepared = false;
+
+ boolean correct = true;
+
+ service1.setup_oper(1);
+ service2.setup_oper(1);
+
+ correct = correct && service1.check_oper(checkBehaviors1);
+ correct = correct && service2.check_oper(checkBehaviors2);
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ Thread.sleep(Delays.replyCompletionDelay());
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceRollback);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client08a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client08a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client08b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client08b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client08b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,140 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client08b.java,v 1.2 2003/06/26 11:43:20 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client08b.java,v 1.2 2003/06/26 11:43:20 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client08b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ BeforeCrashService service1 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service2 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInRollback;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInPrepare;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.setup_oper(resourceBehaviors1);
+ service2.setup_oper(resourceBehaviors2);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ try
+ {
+ OTS.current().commit(true);
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client08b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client08b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client09a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client09a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client09a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client09a.java,v 1.2 2003/06/26 11:43:20 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client09a.java,v 1.2 2003/06/26 11:43:20 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.CrashRecovery02Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client09a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ AfterCrashService service1 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service2 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ CheckBehavior[] checkBehaviors1 = new CheckBehavior[1];
+ checkBehaviors1[0] = new CheckBehavior();
+ checkBehaviors1[0].allow_done = false;
+ checkBehaviors1[0].allow_returned_prepared = false;
+ checkBehaviors1[0].allow_returned_committing = false;
+ checkBehaviors1[0].allow_returned_committed = false;
+ checkBehaviors1[0].allow_returned_rolledback = true;
+ checkBehaviors1[0].allow_raised_not_prepared = false;
+
+ CheckBehavior[] checkBehaviors2 = new CheckBehavior[1];
+ checkBehaviors2[0] = new CheckBehavior();
+ checkBehaviors2[0].allow_done = true;
+ checkBehaviors2[0].allow_returned_prepared = true;
+ checkBehaviors2[0].allow_returned_committing = false;
+ checkBehaviors2[0].allow_returned_committed = false;
+ checkBehaviors2[0].allow_returned_rolledback = true;
+ checkBehaviors2[0].allow_raised_not_prepared = false;
+
+ boolean correct = true;
+
+ service1.setup_oper(1);
+ service2.setup_oper(1);
+
+ correct = correct && service1.check_oper(checkBehaviors1);
+ correct = correct && service2.check_oper(checkBehaviors2);
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ Thread.sleep(Delays.replyCompletionDelay());
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceRollback);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTraceNone) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client09a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client09a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client09b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client09b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client09b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,140 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client09b.java,v 1.2 2003/06/26 11:43:20 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client09b.java,v 1.2 2003/06/26 11:43:20 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client09b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ BeforeCrashService service1 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service2 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInPrepare;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].crash_behavior = CrashBehavior.CrashBehaviorNoCrash;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.setup_oper(resourceBehaviors1);
+ service2.setup_oper(resourceBehaviors2);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ try
+ {
+ OTS.current().commit(true);
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client09b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client09b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client10a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client10a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client10a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client10a.java,v 1.2 2003/06/26 11:43:20 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client10a.java,v 1.2 2003/06/26 11:43:20 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.CrashRecovery02Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client10a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ AfterCrashService service1 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service2 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ CheckBehavior[] checkBehaviors1 = new CheckBehavior[1];
+ checkBehaviors1[0] = new CheckBehavior();
+ checkBehaviors1[0].allow_done = false;
+ checkBehaviors1[0].allow_returned_prepared = false;
+ checkBehaviors1[0].allow_returned_committing = false;
+ checkBehaviors1[0].allow_returned_committed = false;
+ checkBehaviors1[0].allow_returned_rolledback = true;
+ checkBehaviors1[0].allow_raised_not_prepared = false;
+
+ CheckBehavior[] checkBehaviors2 = new CheckBehavior[1];
+ checkBehaviors2[0] = new CheckBehavior();
+ checkBehaviors2[0].allow_done = false;
+ checkBehaviors2[0].allow_returned_prepared = true;
+ checkBehaviors2[0].allow_returned_committing = false;
+ checkBehaviors2[0].allow_returned_committed = false;
+ checkBehaviors2[0].allow_returned_rolledback = true;
+ checkBehaviors2[0].allow_raised_not_prepared = false;
+
+ boolean correct = true;
+
+ service1.setup_oper(1);
+ service2.setup_oper(1);
+
+ correct = correct && service1.check_oper(checkBehaviors1);
+ correct = correct && service2.check_oper(checkBehaviors2);
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ Thread.sleep(Delays.replyCompletionDelay());
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceRollback);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client10a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client10a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client10b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client10b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client10b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,140 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client10b.java,v 1.2 2003/06/26 11:43:20 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client10b.java,v 1.2 2003/06/26 11:43:20 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client10b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ BeforeCrashService service1 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service2 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInPrepare;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInRollback;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.setup_oper(resourceBehaviors1);
+ service2.setup_oper(resourceBehaviors2);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ try
+ {
+ OTS.current().commit(true);
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client10b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client10b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client11a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client11a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client11a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,145 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client11a.java,v 1.2 2003/06/26 11:43:20 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client11a.java,v 1.2 2003/06/26 11:43:20 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.CrashRecovery02Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client11a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ AfterCrashService service1 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service2 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ CheckBehavior[] checkBehaviors1 = new CheckBehavior[1];
+ checkBehaviors1[0] = new CheckBehavior();
+ checkBehaviors1[0].allow_done = true;
+ checkBehaviors1[0].allow_returned_prepared = false;
+ checkBehaviors1[0].allow_returned_committing = false;
+ checkBehaviors1[0].allow_returned_committed = false;
+ checkBehaviors1[0].allow_returned_rolledback = true;
+ checkBehaviors1[0].allow_raised_not_prepared = false;
+
+ CheckBehavior[] checkBehaviors2 = new CheckBehavior[1];
+ checkBehaviors2[0] = new CheckBehavior();
+ checkBehaviors2[0].allow_done = true;
+ checkBehaviors2[0].allow_returned_prepared = false;
+ checkBehaviors2[0].allow_returned_committing = false;
+ checkBehaviors2[0].allow_returned_committed = false;
+ checkBehaviors2[0].allow_returned_rolledback = true;
+ checkBehaviors2[0].allow_raised_not_prepared = false;
+
+ boolean correct = true;
+
+ service1.setup_oper(1);
+ service2.setup_oper(1);
+
+ correct = correct && service1.check_oper(checkBehaviors1);
+ correct = correct && service2.check_oper(checkBehaviors2);
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ Thread.sleep(Delays.replyCompletionDelay());
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTraceNone) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTraceNone) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace1 != ResourceTrace.ResourceTraceNone) || (resourceTrace2 != ResourceTrace.ResourceTraceNone));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client11a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client11a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client11b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client11b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client11b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,140 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client11b.java,v 1.2 2003/06/26 11:43:20 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client11b.java,v 1.2 2003/06/26 11:43:20 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client11b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ BeforeCrashService service1 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service2 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInPrepare;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInPrepare;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.setup_oper(resourceBehaviors1);
+ service2.setup_oper(resourceBehaviors2);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ try
+ {
+ OTS.current().commit(true);
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client11b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client11b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client12a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client12a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client12a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client12a.java,v 1.2 2003/06/26 11:43:20 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client12a.java,v 1.2 2003/06/26 11:43:20 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.CrashRecovery02Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client12a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ AfterCrashService service1 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service2 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ CheckBehavior[] checkBehaviors1 = new CheckBehavior[1];
+ checkBehaviors1[0] = new CheckBehavior();
+ checkBehaviors1[0].allow_done = true;
+ checkBehaviors1[0].allow_returned_prepared = true;
+ checkBehaviors1[0].allow_returned_committing = false;
+ checkBehaviors1[0].allow_returned_committed = false;
+ checkBehaviors1[0].allow_returned_rolledback = true;
+ checkBehaviors1[0].allow_raised_not_prepared = false;
+
+ CheckBehavior[] checkBehaviors2 = new CheckBehavior[1];
+ checkBehaviors2[0] = new CheckBehavior();
+ checkBehaviors2[0].allow_done = false;
+ checkBehaviors2[0].allow_returned_prepared = false;
+ checkBehaviors2[0].allow_returned_committing = false;
+ checkBehaviors2[0].allow_returned_committed = false;
+ checkBehaviors2[0].allow_returned_rolledback = true;
+ checkBehaviors2[0].allow_raised_not_prepared = false;
+
+ boolean correct = true;
+
+ service1.setup_oper(1);
+ service2.setup_oper(1);
+
+ correct = correct && service1.check_oper(checkBehaviors1);
+ correct = correct && service2.check_oper(checkBehaviors2);
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ Thread.sleep(Delays.replyCompletionDelay());
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTraceNone) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client12a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client12a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client12b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client12b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client12b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,135 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client12b.java,v 1.2 2003/06/26 11:43:20 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client12b.java,v 1.2 2003/06/26 11:43:20 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client12b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ BeforeCrashService service1 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service2 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].crash_behavior = CrashBehavior.CrashBehaviorNoCrash;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInPrepare;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.setup_oper(resourceBehaviors1);
+ service2.setup_oper(resourceBehaviors2);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ try
+ {
+ OTS.current().commit(false);
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client12b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client12b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client13a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client13a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client13a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client13a.java,v 1.2 2003/06/26 11:43:20 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client13a.java,v 1.2 2003/06/26 11:43:20 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.CrashRecovery02Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client13a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ AfterCrashService service1 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service2 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ CheckBehavior[] checkBehaviors1 = new CheckBehavior[1];
+ checkBehaviors1[0] = new CheckBehavior();
+ checkBehaviors1[0].allow_done = false;
+ checkBehaviors1[0].allow_returned_prepared = true;
+ checkBehaviors1[0].allow_returned_committing = false;
+ checkBehaviors1[0].allow_returned_committed = false;
+ checkBehaviors1[0].allow_returned_rolledback = true;
+ checkBehaviors1[0].allow_raised_not_prepared = false;
+
+ CheckBehavior[] checkBehaviors2 = new CheckBehavior[1];
+ checkBehaviors2[0] = new CheckBehavior();
+ checkBehaviors2[0].allow_done = false;
+ checkBehaviors2[0].allow_returned_prepared = false;
+ checkBehaviors2[0].allow_returned_committing = false;
+ checkBehaviors2[0].allow_returned_committed = false;
+ checkBehaviors2[0].allow_returned_rolledback = true;
+ checkBehaviors2[0].allow_raised_not_prepared = false;
+
+ boolean correct = true;
+
+ service1.setup_oper(1);
+ service2.setup_oper(1);
+
+ correct = correct && service1.check_oper(checkBehaviors1);
+ correct = correct && service2.check_oper(checkBehaviors2);
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ Thread.sleep(Delays.replyCompletionDelay());
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceRollback);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client13a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client13a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client13b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client13b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client13b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,135 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client13b.java,v 1.2 2003/06/26 11:43:20 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client13b.java,v 1.2 2003/06/26 11:43:20 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client13b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ BeforeCrashService service1 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service2 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInRollback;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInPrepare;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.setup_oper(resourceBehaviors1);
+ service2.setup_oper(resourceBehaviors2);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ try
+ {
+ OTS.current().commit(false);
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client13b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client13b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client14a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client14a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client14a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client14a.java,v 1.2 2003/06/26 11:43:20 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client14a.java,v 1.2 2003/06/26 11:43:20 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.CrashRecovery02Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client14a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ AfterCrashService service1 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service2 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ CheckBehavior[] checkBehaviors1 = new CheckBehavior[1];
+ checkBehaviors1[0] = new CheckBehavior();
+ checkBehaviors1[0].allow_done = false;
+ checkBehaviors1[0].allow_returned_prepared = false;
+ checkBehaviors1[0].allow_returned_committing = false;
+ checkBehaviors1[0].allow_returned_committed = false;
+ checkBehaviors1[0].allow_returned_rolledback = true;
+ checkBehaviors1[0].allow_raised_not_prepared = false;
+
+ CheckBehavior[] checkBehaviors2 = new CheckBehavior[1];
+ checkBehaviors2[0] = new CheckBehavior();
+ checkBehaviors2[0].allow_done = true;
+ checkBehaviors2[0].allow_returned_prepared = true;
+ checkBehaviors2[0].allow_returned_committing = false;
+ checkBehaviors2[0].allow_returned_committed = false;
+ checkBehaviors2[0].allow_returned_rolledback = true;
+ checkBehaviors2[0].allow_raised_not_prepared = false;
+
+ boolean correct = true;
+
+ service1.setup_oper(1);
+ service2.setup_oper(1);
+
+ correct = correct && service1.check_oper(checkBehaviors1);
+ correct = correct && service2.check_oper(checkBehaviors2);
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ Thread.sleep(Delays.replyCompletionDelay());
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceRollback);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTraceNone) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client14a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client14a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client14b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client14b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client14b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,135 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client14b.java,v 1.2 2003/06/26 11:43:20 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client14b.java,v 1.2 2003/06/26 11:43:20 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client14b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ BeforeCrashService service1 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service2 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInPrepare;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].crash_behavior = CrashBehavior.CrashBehaviorNoCrash;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.setup_oper(resourceBehaviors1);
+ service2.setup_oper(resourceBehaviors2);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ try
+ {
+ OTS.current().commit(false);
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client14b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client14b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client15a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client15a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client15a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client15a.java,v 1.2 2003/06/26 11:43:20 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client15a.java,v 1.2 2003/06/26 11:43:20 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.CrashRecovery02Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client15a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ AfterCrashService service1 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service2 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ CheckBehavior[] checkBehaviors1 = new CheckBehavior[1];
+ checkBehaviors1[0] = new CheckBehavior();
+ checkBehaviors1[0].allow_done = false;
+ checkBehaviors1[0].allow_returned_prepared = false;
+ checkBehaviors1[0].allow_returned_committing = false;
+ checkBehaviors1[0].allow_returned_committed = false;
+ checkBehaviors1[0].allow_returned_rolledback = true;
+ checkBehaviors1[0].allow_raised_not_prepared = false;
+
+ CheckBehavior[] checkBehaviors2 = new CheckBehavior[1];
+ checkBehaviors2[0] = new CheckBehavior();
+ checkBehaviors2[0].allow_done = false;
+ checkBehaviors2[0].allow_returned_prepared = true;
+ checkBehaviors2[0].allow_returned_committing = false;
+ checkBehaviors2[0].allow_returned_committed = false;
+ checkBehaviors2[0].allow_returned_rolledback = true;
+ checkBehaviors2[0].allow_raised_not_prepared = false;
+
+ boolean correct = true;
+
+ service1.setup_oper(1);
+ service2.setup_oper(1);
+
+ correct = correct && service1.check_oper(checkBehaviors1);
+ correct = correct && service2.check_oper(checkBehaviors2);
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ Thread.sleep(Delays.replyCompletionDelay());
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceRollback);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client15a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client15a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client15b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client15b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client15b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,135 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client15b.java,v 1.2 2003/06/26 11:43:20 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client15b.java,v 1.2 2003/06/26 11:43:20 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client15b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ BeforeCrashService service1 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service2 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInPrepare;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInRollback;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.setup_oper(resourceBehaviors1);
+ service2.setup_oper(resourceBehaviors2);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ try
+ {
+ OTS.current().commit(false);
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client15b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client15b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client16a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client16a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client16a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,146 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client16a.java,v 1.2 2003/06/26 11:43:20 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client16a.java,v 1.2 2003/06/26 11:43:20 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.CrashRecovery02Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client16a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ AfterCrashService service1 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service2 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ CheckBehavior[] checkBehaviors1 = new CheckBehavior[1];
+ checkBehaviors1[0] = new CheckBehavior();
+ checkBehaviors1[0].allow_done = true;
+ checkBehaviors1[0].allow_returned_prepared = false;
+ checkBehaviors1[0].allow_returned_committing = false;
+ checkBehaviors1[0].allow_returned_committed = false;
+ checkBehaviors1[0].allow_returned_rolledback = true;
+ checkBehaviors1[0].allow_raised_not_prepared = false;
+
+ CheckBehavior[] checkBehaviors2 = new CheckBehavior[1];
+ checkBehaviors2[0] = new CheckBehavior();
+ checkBehaviors2[0].allow_done = true;
+ checkBehaviors2[0].allow_returned_prepared = false;
+ checkBehaviors2[0].allow_returned_committing = false;
+ checkBehaviors2[0].allow_returned_committed = false;
+ checkBehaviors2[0].allow_returned_rolledback = true;
+ checkBehaviors2[0].allow_raised_not_prepared = false;
+
+ boolean correct = true;
+
+ service1.setup_oper(1);
+ service2.setup_oper(1);
+
+ correct = correct && service1.check_oper(checkBehaviors1);
+ correct = correct && service2.check_oper(checkBehaviors2);
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ Thread.sleep(Delays.replyCompletionDelay());
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTraceNone) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTraceNone) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace1 != ResourceTrace.ResourceTraceNone) || (resourceTrace2 != ResourceTrace.ResourceTraceNone));
+
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client16a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client16a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client16b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client16b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client16b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,135 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client16b.java,v 1.2 2003/06/26 11:43:21 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client16b.java,v 1.2 2003/06/26 11:43:21 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client16b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ BeforeCrashService service1 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service2 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInPrepare;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInPrepare;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.setup_oper(resourceBehaviors1);
+ service2.setup_oper(resourceBehaviors2);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ try
+ {
+ OTS.current().commit(false);
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client16b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client16b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client17a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client17a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client17a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client17a.java,v 1.2 2003/06/26 11:43:21 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client17a.java,v 1.2 2003/06/26 11:43:21 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.CrashRecovery02Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client17a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ AfterCrashService service1 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service2 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ CheckBehavior[] checkBehaviors1 = new CheckBehavior[1];
+ checkBehaviors1[0] = new CheckBehavior();
+ checkBehaviors1[0].allow_done = false;
+ checkBehaviors1[0].allow_returned_prepared = false;
+ checkBehaviors1[0].allow_returned_committing = false;
+ checkBehaviors1[0].allow_returned_committed = false;
+ checkBehaviors1[0].allow_returned_rolledback = true;
+ checkBehaviors1[0].allow_raised_not_prepared = false;
+
+ CheckBehavior[] checkBehaviors2 = new CheckBehavior[1];
+ checkBehaviors2[0] = new CheckBehavior();
+ checkBehaviors2[0].allow_done = true;
+ checkBehaviors2[0].allow_returned_prepared = false;
+ checkBehaviors2[0].allow_returned_committing = false;
+ checkBehaviors2[0].allow_returned_committed = false;
+ checkBehaviors2[0].allow_returned_rolledback = true;
+ checkBehaviors2[0].allow_raised_not_prepared = false;
+
+ boolean correct = true;
+
+ service1.setup_oper(1);
+ service2.setup_oper(1);
+
+ correct = correct && service1.check_oper(checkBehaviors1);
+ correct = correct && service2.check_oper(checkBehaviors2);
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ Thread.sleep(Delays.replyCompletionDelay());
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceRollback);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTraceNone) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client17a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client17a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client17b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client17b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client17b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,128 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client17b.java,v 1.2 2003/06/26 11:43:21 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client17b.java,v 1.2 2003/06/26 11:43:21 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client17b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ BeforeCrashService service1 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service2 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInRollback;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].crash_behavior = CrashBehavior.CrashBehaviorNoCrash;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.setup_oper(resourceBehaviors1);
+ service2.setup_oper(resourceBehaviors2);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ OTS.current().rollback();
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client17b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client17b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client18a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client18a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client18a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client18a.java,v 1.2 2003/06/26 11:43:21 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client18a.java,v 1.2 2003/06/26 11:43:21 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.CrashRecovery02Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client18a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ AfterCrashService service1 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service2 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ CheckBehavior[] checkBehaviors1 = new CheckBehavior[1];
+ checkBehaviors1[0] = new CheckBehavior();
+ checkBehaviors1[0].allow_done = true;
+ checkBehaviors1[0].allow_returned_prepared = false;
+ checkBehaviors1[0].allow_returned_committing = false;
+ checkBehaviors1[0].allow_returned_committed = false;
+ checkBehaviors1[0].allow_returned_rolledback = true;
+ checkBehaviors1[0].allow_raised_not_prepared = false;
+
+ CheckBehavior[] checkBehaviors2 = new CheckBehavior[1];
+ checkBehaviors2[0] = new CheckBehavior();
+ checkBehaviors2[0].allow_done = false;
+ checkBehaviors2[0].allow_returned_prepared = false;
+ checkBehaviors2[0].allow_returned_committing = false;
+ checkBehaviors2[0].allow_returned_committed = false;
+ checkBehaviors2[0].allow_returned_rolledback = true;
+ checkBehaviors2[0].allow_raised_not_prepared = false;
+
+ boolean correct = true;
+
+ service1.setup_oper(1);
+ service2.setup_oper(1);
+
+ correct = correct && service1.check_oper(checkBehaviors1);
+ correct = correct && service2.check_oper(checkBehaviors2);
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ Thread.sleep(Delays.replyCompletionDelay());
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTraceNone) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client18a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client18a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client18b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client18b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client18b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,128 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client18b.java,v 1.2 2003/06/26 11:43:21 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client18b.java,v 1.2 2003/06/26 11:43:21 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client18b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ BeforeCrashService service1 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service2 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].crash_behavior = CrashBehavior.CrashBehaviorNoCrash;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInRollback;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.setup_oper(resourceBehaviors1);
+ service2.setup_oper(resourceBehaviors2);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ OTS.current().rollback();
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client18b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client18b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client19a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client19a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client19a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client19a.java,v 1.2 2003/06/26 11:43:21 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client19a.java,v 1.2 2003/06/26 11:43:21 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.CrashRecovery02Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client19a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ AfterCrashService service1 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service2 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ CheckBehavior[] checkBehaviors1 = new CheckBehavior[1];
+ checkBehaviors1[0] = new CheckBehavior();
+ checkBehaviors1[0].allow_done = false;
+ checkBehaviors1[0].allow_returned_prepared = false;
+ checkBehaviors1[0].allow_returned_committing = false;
+ checkBehaviors1[0].allow_returned_committed = false;
+ checkBehaviors1[0].allow_returned_rolledback = true;
+ checkBehaviors1[0].allow_raised_not_prepared = false;
+
+ CheckBehavior[] checkBehaviors2 = new CheckBehavior[1];
+ checkBehaviors2[0] = new CheckBehavior();
+ checkBehaviors2[0].allow_done = false;
+ checkBehaviors2[0].allow_returned_prepared = false;
+ checkBehaviors2[0].allow_returned_committing = false;
+ checkBehaviors2[0].allow_returned_committed = false;
+ checkBehaviors2[0].allow_returned_rolledback = true;
+ checkBehaviors2[0].allow_raised_not_prepared = false;
+
+ boolean correct = true;
+
+ service1.setup_oper(1);
+ service2.setup_oper(1);
+
+ correct = correct && service1.check_oper(checkBehaviors1);
+ correct = correct && service2.check_oper(checkBehaviors2);
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ Thread.sleep(Delays.replyCompletionDelay());
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceRollback);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client19a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client19a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client19b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client19b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client19b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,128 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client19b.java,v 1.2 2003/06/26 11:43:21 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client19b.java,v 1.2 2003/06/26 11:43:21 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client19b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ BeforeCrashService service1 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service2 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInRollback;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInRollback;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.setup_oper(resourceBehaviors1);
+ service2.setup_oper(resourceBehaviors2);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ OTS.current().rollback();
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client19b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client19b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client20a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client20a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client20a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client20a.java,v 1.2 2003/06/26 11:43:21 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client20a.java,v 1.2 2003/06/26 11:43:21 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.CrashRecovery02Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client20a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ AfterCrashService service1 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service2 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ CheckBehavior[] checkBehaviors1 = new CheckBehavior[1];
+ checkBehaviors1[0] = new CheckBehavior();
+ checkBehaviors1[0].allow_done = false;
+ checkBehaviors1[0].allow_returned_prepared = false;
+ checkBehaviors1[0].allow_returned_committing = false;
+ checkBehaviors1[0].allow_returned_committed = false;
+ checkBehaviors1[0].allow_returned_rolledback = true;
+ checkBehaviors1[0].allow_raised_not_prepared = false;
+
+ CheckBehavior[] checkBehaviors2 = new CheckBehavior[1];
+ checkBehaviors2[0] = new CheckBehavior();
+ checkBehaviors2[0].allow_done = true;
+ checkBehaviors2[0].allow_returned_prepared = false;
+ checkBehaviors2[0].allow_returned_committing = false;
+ checkBehaviors2[0].allow_returned_committed = false;
+ checkBehaviors2[0].allow_returned_rolledback = true;
+ checkBehaviors2[0].allow_raised_not_prepared = false;
+
+ boolean correct = true;
+
+ service1.setup_oper(1);
+ service2.setup_oper(1);
+
+ correct = correct && service1.check_oper(checkBehaviors1);
+ correct = correct && service2.check_oper(checkBehaviors2);
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ Thread.sleep(Delays.replyCompletionDelay());
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceRollback);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTraceNone) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client20a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client20a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client20b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client20b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client20b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,138 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client20b.java,v 1.2 2003/06/26 11:43:21 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client20b.java,v 1.2 2003/06/26 11:43:21 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client20b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ BeforeCrashService service1 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service2 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInRollback;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].crash_behavior = CrashBehavior.CrashBehaviorNoCrash;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.setup_oper(resourceBehaviors1);
+ service2.setup_oper(resourceBehaviors2);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ OTS.current().rollback_only();
+
+ try
+ {
+ OTS.current().commit(true);
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client20b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client20b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client21a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client21a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client21a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client21a.java,v 1.2 2003/06/26 11:43:21 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client21a.java,v 1.2 2003/06/26 11:43:21 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.CrashRecovery02Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client21a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ AfterCrashService service1 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service2 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ CheckBehavior[] checkBehaviors1 = new CheckBehavior[1];
+ checkBehaviors1[0] = new CheckBehavior();
+ checkBehaviors1[0].allow_done = true;
+ checkBehaviors1[0].allow_returned_prepared = false;
+ checkBehaviors1[0].allow_returned_committing = false;
+ checkBehaviors1[0].allow_returned_committed = false;
+ checkBehaviors1[0].allow_returned_rolledback = true;
+ checkBehaviors1[0].allow_raised_not_prepared = false;
+
+ CheckBehavior[] checkBehaviors2 = new CheckBehavior[1];
+ checkBehaviors2[0] = new CheckBehavior();
+ checkBehaviors2[0].allow_done = false;
+ checkBehaviors2[0].allow_returned_prepared = false;
+ checkBehaviors2[0].allow_returned_committing = false;
+ checkBehaviors2[0].allow_returned_committed = false;
+ checkBehaviors2[0].allow_returned_rolledback = true;
+ checkBehaviors2[0].allow_raised_not_prepared = false;
+
+ boolean correct = true;
+
+ service1.setup_oper(1);
+ service2.setup_oper(1);
+
+ correct = correct && service1.check_oper(checkBehaviors1);
+ correct = correct && service2.check_oper(checkBehaviors2);
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ Thread.sleep(Delays.replyCompletionDelay());
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTraceNone) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client21a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client21a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client21b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client21b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client21b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,138 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client21b.java,v 1.2 2003/06/26 11:43:21 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client21b.java,v 1.2 2003/06/26 11:43:21 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client21b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ BeforeCrashService service1 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service2 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].crash_behavior = CrashBehavior.CrashBehaviorNoCrash;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInRollback;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.setup_oper(resourceBehaviors1);
+ service2.setup_oper(resourceBehaviors2);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ OTS.current().rollback_only();
+
+ try
+ {
+ OTS.current().commit(true);
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client21b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client21b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client22a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client22a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client22a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client22a.java,v 1.2 2003/06/26 11:43:21 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client22a.java,v 1.2 2003/06/26 11:43:21 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.CrashRecovery02Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client22a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ AfterCrashService service1 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service2 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ CheckBehavior[] checkBehaviors1 = new CheckBehavior[1];
+ checkBehaviors1[0] = new CheckBehavior();
+ checkBehaviors1[0].allow_done = false;
+ checkBehaviors1[0].allow_returned_prepared = false;
+ checkBehaviors1[0].allow_returned_committing = false;
+ checkBehaviors1[0].allow_returned_committed = false;
+ checkBehaviors1[0].allow_returned_rolledback = true;
+ checkBehaviors1[0].allow_raised_not_prepared = false;
+
+ CheckBehavior[] checkBehaviors2 = new CheckBehavior[1];
+ checkBehaviors2[0] = new CheckBehavior();
+ checkBehaviors2[0].allow_done = false;
+ checkBehaviors2[0].allow_returned_prepared = false;
+ checkBehaviors2[0].allow_returned_committing = false;
+ checkBehaviors2[0].allow_returned_committed = false;
+ checkBehaviors2[0].allow_returned_rolledback = true;
+ checkBehaviors2[0].allow_raised_not_prepared = false;
+
+ boolean correct = true;
+
+ service1.setup_oper(1);
+ service2.setup_oper(1);
+
+ correct = correct && service1.check_oper(checkBehaviors1);
+ correct = correct && service2.check_oper(checkBehaviors2);
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ Thread.sleep(Delays.replyCompletionDelay());
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceRollback);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client22a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client22a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client22b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client22b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client22b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,138 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client22b.java,v 1.2 2003/06/26 11:43:21 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client22b.java,v 1.2 2003/06/26 11:43:21 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client22b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ BeforeCrashService service1 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service2 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInRollback;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInRollback;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.setup_oper(resourceBehaviors1);
+ service2.setup_oper(resourceBehaviors2);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ OTS.current().rollback_only();
+
+ try
+ {
+ OTS.current().commit(true);
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client22b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client22b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client23a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client23a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client23a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client23a.java,v 1.2 2003/06/26 11:43:21 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client23a.java,v 1.2 2003/06/26 11:43:21 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.CrashRecovery02Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client23a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ AfterCrashService service1 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service2 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ CheckBehavior[] checkBehaviors1 = new CheckBehavior[1];
+ checkBehaviors1[0] = new CheckBehavior();
+ checkBehaviors1[0].allow_done = false;
+ checkBehaviors1[0].allow_returned_prepared = false;
+ checkBehaviors1[0].allow_returned_committing = false;
+ checkBehaviors1[0].allow_returned_committed = false;
+ checkBehaviors1[0].allow_returned_rolledback = true;
+ checkBehaviors1[0].allow_raised_not_prepared = false;
+
+ CheckBehavior[] checkBehaviors2 = new CheckBehavior[1];
+ checkBehaviors2[0] = new CheckBehavior();
+ checkBehaviors2[0].allow_done = true;
+ checkBehaviors2[0].allow_returned_prepared = false;
+ checkBehaviors2[0].allow_returned_committing = false;
+ checkBehaviors2[0].allow_returned_committed = false;
+ checkBehaviors2[0].allow_returned_rolledback = true;
+ checkBehaviors2[0].allow_raised_not_prepared = false;
+
+ boolean correct = true;
+
+ service1.setup_oper(1);
+ service2.setup_oper(1);
+
+ correct = correct && service1.check_oper(checkBehaviors1);
+ correct = correct && service2.check_oper(checkBehaviors2);
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ Thread.sleep(Delays.replyCompletionDelay());
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceRollback);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTraceNone) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client23a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client23a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client23b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client23b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client23b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,138 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client23b.java,v 1.2 2003/06/26 11:43:21 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client23b.java,v 1.2 2003/06/26 11:43:21 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client23b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ BeforeCrashService service1 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service2 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInRollback;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].crash_behavior = CrashBehavior.CrashBehaviorNoCrash;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.setup_oper(resourceBehaviors1);
+ service2.setup_oper(resourceBehaviors2);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ OTS.current().rollback_only();
+
+ try
+ {
+ OTS.current().commit(false);
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client23b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client23b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client24a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client24a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client24a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client24a.java,v 1.2 2003/06/26 11:43:21 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client24a.java,v 1.2 2003/06/26 11:43:21 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.CrashRecovery02Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client24a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ AfterCrashService service1 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service2 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ CheckBehavior[] checkBehaviors1 = new CheckBehavior[1];
+ checkBehaviors1[0] = new CheckBehavior();
+ checkBehaviors1[0].allow_done = true;
+ checkBehaviors1[0].allow_returned_prepared = false;
+ checkBehaviors1[0].allow_returned_committing = false;
+ checkBehaviors1[0].allow_returned_committed = false;
+ checkBehaviors1[0].allow_returned_rolledback = true;
+ checkBehaviors1[0].allow_raised_not_prepared = false;
+
+ CheckBehavior[] checkBehaviors2 = new CheckBehavior[1];
+ checkBehaviors2[0] = new CheckBehavior();
+ checkBehaviors2[0].allow_done = false;
+ checkBehaviors2[0].allow_returned_prepared = false;
+ checkBehaviors2[0].allow_returned_committing = false;
+ checkBehaviors2[0].allow_returned_committed = false;
+ checkBehaviors2[0].allow_returned_rolledback = true;
+ checkBehaviors2[0].allow_raised_not_prepared = false;
+
+ boolean correct = true;
+
+ service1.setup_oper(1);
+ service2.setup_oper(1);
+
+ correct = correct && service1.check_oper(checkBehaviors1);
+ correct = correct && service2.check_oper(checkBehaviors2);
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ Thread.sleep(Delays.replyCompletionDelay());
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTraceNone) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client24a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client24a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client24b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client24b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client24b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,138 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client24b.java,v 1.2 2003/06/26 11:43:21 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client24b.java,v 1.2 2003/06/26 11:43:21 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client24b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ BeforeCrashService service1 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service2 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].crash_behavior = CrashBehavior.CrashBehaviorNoCrash;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInRollback;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.setup_oper(resourceBehaviors1);
+ service2.setup_oper(resourceBehaviors2);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ OTS.current().rollback_only();
+
+ try
+ {
+ OTS.current().commit(false);
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client24b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client24b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client25a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client25a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client25a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client25a.java,v 1.2 2003/06/26 11:43:21 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client25a.java,v 1.2 2003/06/26 11:43:21 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.CrashRecovery02Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client25a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ AfterCrashService service1 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service2 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ CheckBehavior[] checkBehaviors1 = new CheckBehavior[1];
+ checkBehaviors1[0] = new CheckBehavior();
+ checkBehaviors1[0].allow_done = false;
+ checkBehaviors1[0].allow_returned_prepared = false;
+ checkBehaviors1[0].allow_returned_committing = false;
+ checkBehaviors1[0].allow_returned_committed = false;
+ checkBehaviors1[0].allow_returned_rolledback = true;
+ checkBehaviors1[0].allow_raised_not_prepared = false;
+
+ CheckBehavior[] checkBehaviors2 = new CheckBehavior[1];
+ checkBehaviors2[0] = new CheckBehavior();
+ checkBehaviors2[0].allow_done = false;
+ checkBehaviors2[0].allow_returned_prepared = false;
+ checkBehaviors2[0].allow_returned_committing = false;
+ checkBehaviors2[0].allow_returned_committed = false;
+ checkBehaviors2[0].allow_returned_rolledback = true;
+ checkBehaviors2[0].allow_raised_not_prepared = false;
+
+ boolean correct = true;
+
+ service1.setup_oper(1);
+ service2.setup_oper(1);
+
+ correct = correct && service1.check_oper(checkBehaviors1);
+ correct = correct && service2.check_oper(checkBehaviors2);
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ Thread.sleep(Delays.replyCompletionDelay());
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceRollback);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client25a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client25a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client25b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client25b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Clients2/Client25b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,138 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client25b.java,v 1.2 2003/06/26 11:43:21 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client25b.java,v 1.2 2003/06/26 11:43:21 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client25b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ BeforeCrashService service1 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service2 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInRollback;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInRollback;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.setup_oper(resourceBehaviors1);
+ service2.setup_oper(resourceBehaviors2);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ OTS.current().rollback_only();
+
+ try
+ {
+ OTS.current().commit(false);
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client25b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client25b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Impls/AfterCrashServiceImpl01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Impls/AfterCrashServiceImpl01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Impls/AfterCrashServiceImpl01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,181 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: AfterCrashServiceImpl01.java,v 1.5 2003/07/17 11:52:48 jcoleman Exp $
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AfterCrashServiceImpl01.java,v 1.5 2003/07/17 11:52:48 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AfterCrashServiceImpl01.java,v 1.5 2003/07/17 11:52:48 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.*;
+
+public class AfterCrashServiceImpl01 implements AfterCrashServiceOperations
+{
+ public AfterCrashServiceImpl01(int serviceNumber, int objectNumber)
+ {
+ System.out.println("AfterCrashServiceImpl01(" + serviceNumber + ", " + objectNumber + ")");
+ _serviceNumber = serviceNumber;
+ _objectNumber = objectNumber;
+ }
+
+ public void setup_oper(int number_of_resources)
+ {
+ _resourceImpl = new ResourceImpl02[number_of_resources];
+ _resource = new Resource[number_of_resources];
+ _recoveryCoordinator = new RecoveryCoordinator[number_of_resources];
+
+ for (int index = 0; index < number_of_resources; index++)
+ {
+ try
+ {
+ _resourceImpl[index] = new ResourceImpl02(_objectNumber, index);
+ ResourcePOATie servant = new ResourcePOATie(_resourceImpl[index]);
+
+ OAInterface.objectIsReady(servant);
+ _resource[index] = ResourceHelper.narrow(OAInterface.corbaReference(servant));
+
+ System.out.println("AfterCrashServiceImpl01: loading IOR \"RecoveryCoordinator_" + _serviceNumber + "_" + _objectNumber + "_" + index + "\"");
+ String recoveryCoordinatorIOR = ServerIORStore.loadIOR("RecoveryCoordinator_" + _serviceNumber + "_" + _objectNumber + "_" + index);
+
+ if (recoveryCoordinatorIOR != null)
+ {
+ _recoveryCoordinator[index] = RecoveryCoordinatorHelper.narrow(ORBInterface.orb().string_to_object(recoveryCoordinatorIOR));
+ }
+ else
+ {
+ _recoveryCoordinator[index] = null;
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AfterCrashServiceImpl01.setup_oper: " + exception);
+ exception.printStackTrace(System.err);
+ _isCorrect = false;
+ }
+ }
+ }
+
+ public boolean check_oper(CheckBehavior[] check_behaviors)
+ {
+ boolean correct = true;
+
+ for (int index = 0; index < _recoveryCoordinator.length; index++)
+ {
+ if (_recoveryCoordinator[index] == null)
+ {
+ System.err.println("AfterCrashServiceImpl01.check_oper [O" + _objectNumber + ".R" + index + "]: Done");
+ correct = correct && check_behaviors[index].allow_done;
+ }
+ else
+ {
+ try
+ {
+ Status status = _recoveryCoordinator[index].replay_completion(_resource[index]);
+ System.err.println("AfterCrashServiceImpl01.check_oper [O" + _objectNumber + ".R" + index + "]: replay_completion returned: " + status);
+ correct = correct && (((status == Status.StatusPrepared) && check_behaviors[index].allow_returned_prepared) ||
+ ((status == Status.StatusCommitting) && check_behaviors[index].allow_returned_committing) ||
+ ((status == Status.StatusCommitted) && check_behaviors[index].allow_returned_committed) ||
+ ((status == Status.StatusRolledBack) && check_behaviors[index].allow_returned_rolledback));
+ }
+ catch (NotPrepared notPrepared)
+ {
+ correct = correct && check_behaviors[index].allow_raised_not_prepared;
+ System.err.println("AfterCrashServiceImpl01.check_oper [O" + _objectNumber + ".R" + index + "]: replay_completion raised NotPrepared");
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AfterCrashServiceImpl01.check_oper [O" + _objectNumber + ".R" + index + "]:" + exception);
+ exception.printStackTrace(System.err);
+ correct = false;
+ }
+ }
+ }
+
+ return correct;
+ }
+
+ public boolean is_correct()
+ {
+ System.err.println("AfterCrashServiceImpl01.is_correct [O" + _objectNumber + "]: " + _isCorrect);
+
+ return _isCorrect;
+ }
+
+ public ResourceTrace get_resource_trace(int resource_number)
+ {
+ ResourceTrace resourceTrace = ResourceTrace.ResourceTraceUnknown;
+
+ if ((resource_number >= 0) && (resource_number < _resourceImpl.length))
+ {
+ resourceTrace = _resourceImpl[resource_number].getTrace();
+ }
+
+ System.err.println("AfterCrashServiceImpl01.get_resource_trace [O" + _objectNumber + ".R" + resource_number + "]: " + resourceTrace);
+
+ return resourceTrace;
+ }
+
+ private int _serviceNumber;
+ private int _objectNumber;
+ private boolean _isCorrect = true;
+
+ private ResourceImpl02[] _resourceImpl = null;
+ private Resource[] _resource = null;
+ private RecoveryCoordinator[] _recoveryCoordinator = null;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Impls/BeforeCrashServiceImpl01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Impls/BeforeCrashServiceImpl01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Impls/BeforeCrashServiceImpl01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,121 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: BeforeCrashServiceImpl01.java,v 1.5 2003/07/17 11:52:48 jcoleman Exp $
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: BeforeCrashServiceImpl01.java,v 1.5 2003/07/17 11:52:48 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: BeforeCrashServiceImpl01.java,v 1.5 2003/07/17 11:52:48 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.RecoveryCoordinator;
+import org.omg.CosTransactions.Resource;
+import org.omg.CosTransactions.ResourceHelper;
+import org.omg.CosTransactions.ResourcePOATie;
+
+public class BeforeCrashServiceImpl01 implements BeforeCrashServiceOperations
+{
+ public BeforeCrashServiceImpl01(int serviceNumber, int objectNumber)
+ {
+ System.out.println("BeforeCrashServiceImpl01(" + serviceNumber + ", " + objectNumber + ")");
+ _serviceNumber = serviceNumber;
+ _objectNumber = objectNumber;
+ }
+
+ public void setup_oper(ResourceBehavior[] resource_behaviors)
+ {
+ ResourceImpl01[] resourceImpl = new ResourceImpl01[resource_behaviors.length];
+ Resource[] resource = new Resource[resource_behaviors.length];
+ RecoveryCoordinator[] recoveryCoordinator = new RecoveryCoordinator[resource_behaviors.length];
+
+ for (int index = 0; index < resource_behaviors.length; index++)
+ {
+ try
+ {
+ resourceImpl[index] = new ResourceImpl01(_serviceNumber, _objectNumber, index, resource_behaviors[index]);
+ ResourcePOATie servant = new ResourcePOATie(resourceImpl[index]);
+
+ OAInterface.objectIsReady(servant);
+ resource[index] = ResourceHelper.narrow(OAInterface.corbaReference(servant));
+
+ recoveryCoordinator[index] = OTS.current().get_control().get_coordinator().register_resource(resource[index]);
+
+ System.out.println("BeforeCrashServiceImpl01: storing IOR \"RecoveryCoordinator_" + _serviceNumber + "_" + _objectNumber + "_" + index + "\"");
+ ServerIORStore.storeIOR("RecoveryCoordinator_" + _serviceNumber + "_" + _objectNumber + "_" + index, ORBInterface.orb().object_to_string(recoveryCoordinator[index]));
+ }
+ catch (Exception exception)
+ {
+ System.err.println("BeforeCrashServiceImpl01.setup_oper: " + exception);
+ exception.printStackTrace(System.err);
+ _isCorrect = false;
+ }
+ }
+ }
+
+ public boolean is_correct()
+ {
+ System.err.println("BeforeCrashServiceImpl01.is_correct: " + _isCorrect);
+
+ return _isCorrect;
+ }
+
+ private int _serviceNumber;
+ private int _objectNumber;
+ private boolean _isCorrect = true;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Impls/ResourceImpl01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Impls/ResourceImpl01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Impls/ResourceImpl01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,257 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: ResourceImpl01.java,v 1.2 2003/06/26 11:43:24 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ResourceImpl01.java,v 1.2 2003/06/26 11:43:24 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ResourceImpl01.java,v 1.2 2003/06/26 11:43:24 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.*;
+
+public class ResourceImpl01 implements ResourceOperations
+{
+ public ResourceImpl01(int serviceNumber, int objectNumber, int resourceNumber, ResourceBehavior resourceBehavior)
+ {
+ _serviceNumber = serviceNumber;
+ _objectNumber = objectNumber;
+ _resourceNumber = resourceNumber;
+ _resourceBehavior = resourceBehavior;
+ }
+
+ public Vote prepare()
+ throws HeuristicMixed, HeuristicHazard
+ {
+ System.err.print("ResourceImpl01.prepare [O" + _objectNumber + ".R" + _resourceNumber + "]: ");
+
+ if (_resourceTrace == ResourceTrace.ResourceTraceNone)
+ {
+ _resourceTrace = ResourceTrace.ResourceTracePrepare;
+ }
+ else
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceUnknown;
+ }
+
+ if (_resourceBehavior.crash_behavior == CrashBehavior.CrashBehaviorCrashInPrepare)
+ {
+ System.err.println("Crash");
+ System.exit(1);
+ }
+
+ System.err.println("ReturnVoteCommit");
+
+ return Vote.VoteCommit;
+ }
+
+ public void rollback()
+ throws HeuristicCommit, HeuristicMixed, HeuristicHazard
+ {
+ System.err.print("ResourceImpl01.rollback [O" + _objectNumber + ".R" + _resourceNumber + "]: ");
+
+ if (_resourceTrace == ResourceTrace.ResourceTraceNone)
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceRollback;
+ }
+ else if (_resourceTrace == ResourceTrace.ResourceTracePrepare)
+ {
+ _resourceTrace = ResourceTrace.ResourceTracePrepareRollback;
+ }
+ else
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceUnknown;
+ }
+
+ if (_resourceBehavior.crash_behavior == CrashBehavior.CrashBehaviorCrashInRollback)
+ {
+ System.err.println("Crash");
+ System.exit(1);
+ }
+
+ try
+ {
+ ServerIORStore.removeIOR("RecoveryCoordinator_" + _serviceNumber + "_" + _objectNumber + "_" + _resourceNumber);
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Return (exception): " + exception);
+ return;
+ }
+
+ System.err.println("Return");
+ }
+
+ public void commit()
+ throws NotPrepared, HeuristicRollback, HeuristicMixed, HeuristicHazard
+ {
+ System.err.print("ResourceImpl01.commit [O" + _objectNumber + ".R" + _resourceNumber + "]: ");
+
+ if (_resourceTrace == ResourceTrace.ResourceTraceNone)
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceCommit;
+ }
+ else if (_resourceTrace == ResourceTrace.ResourceTracePrepare)
+ {
+ _resourceTrace = ResourceTrace.ResourceTracePrepareCommit;
+ }
+ else
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceUnknown;
+ }
+
+ if (_resourceBehavior.crash_behavior == CrashBehavior.CrashBehaviorCrashInCommit)
+ {
+ System.err.println("Crash");
+ System.exit(1);
+ }
+
+ try
+ {
+ ServerIORStore.removeIOR("RecoveryCoordinator_" + _serviceNumber + "_" + _objectNumber + "_" + _resourceNumber);
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Return (exception): " + exception);
+ return;
+ }
+
+ System.err.println("Return");
+ }
+
+ public void commit_one_phase()
+ throws HeuristicHazard
+ {
+ System.err.print("ResourceImpl01.commit_one_phase [O" + _objectNumber + ".R" + _resourceNumber + "]: ");
+
+ if (_resourceTrace == ResourceTrace.ResourceTraceNone)
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceCommitOnePhase;
+ }
+ else
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceUnknown;
+ }
+
+ if (_resourceBehavior.crash_behavior == CrashBehavior.CrashBehaviorCrashInCommitOnePhase)
+ {
+ System.err.println("Crash");
+ System.exit(1);
+ }
+
+ try
+ {
+ ServerIORStore.removeIOR("RecoveryCoordinator_" + _serviceNumber + "_" + _objectNumber + "_" + _resourceNumber);
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Return (exception): " + exception);
+ return;
+ }
+
+ System.err.println("Return");
+ }
+
+ public void forget()
+ {
+ System.err.print("ResourceImpl01.forget [O" + _objectNumber + ".R" + _resourceNumber + "]: ");
+
+ if (_resourceTrace == ResourceTrace.ResourceTracePrepare)
+ {
+ _resourceTrace = ResourceTrace.ResourceTracePrepareForget;
+ }
+ else if (_resourceTrace == ResourceTrace.ResourceTracePrepareRollback)
+ {
+ _resourceTrace = ResourceTrace.ResourceTracePrepareRollbackForget;
+ }
+ else if (_resourceTrace == ResourceTrace.ResourceTracePrepareCommit)
+ {
+ _resourceTrace = ResourceTrace.ResourceTracePrepareCommitForget;
+ }
+ else if (_resourceTrace == ResourceTrace.ResourceTraceCommitOnePhase)
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceCommitOnePhaseForget;
+ }
+ else
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceUnknown;
+ }
+
+ if (_resourceBehavior.crash_behavior == CrashBehavior.CrashBehaviorCrashInForget)
+ {
+ System.err.println("Crash");
+ System.exit(1);
+ }
+
+ System.err.println("Return");
+ }
+
+ public boolean isCorrect()
+ {
+ return true;
+ }
+
+ public ResourceTrace getTrace()
+ {
+ return _resourceTrace;
+ }
+
+ private int _serviceNumber;
+ private int _objectNumber;
+ private int _resourceNumber;
+ private ResourceBehavior _resourceBehavior;
+ private ResourceTrace _resourceTrace = ResourceTrace.ResourceTraceNone;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Impls/ResourceImpl02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Impls/ResourceImpl02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Impls/ResourceImpl02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,193 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: ResourceImpl02.java,v 1.2 2003/06/26 11:43:24 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ResourceImpl02.java,v 1.2 2003/06/26 11:43:24 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ResourceImpl02.java,v 1.2 2003/06/26 11:43:24 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.omg.CosTransactions.*;
+
+public class ResourceImpl02 implements ResourceOperations
+{
+ public ResourceImpl02(int objectNumber, int resourceNumber)
+ {
+ _objectNumber = objectNumber;
+ _resourceNumber = resourceNumber;
+ }
+
+ public Vote prepare()
+ throws HeuristicMixed, HeuristicHazard
+ {
+ System.err.print("ResourceImpl02.prepare [O" + _objectNumber + ".R" + _resourceNumber + "]: ");
+
+ if (_resourceTrace == ResourceTrace.ResourceTraceNone)
+ {
+ _resourceTrace = ResourceTrace.ResourceTracePrepare;
+ }
+ else
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceUnknown;
+ }
+
+ System.err.println("ReturnVoteCommit");
+
+ return Vote.VoteCommit;
+ }
+
+ public void rollback()
+ throws HeuristicCommit, HeuristicMixed, HeuristicHazard
+ {
+ System.err.print("ResourceImpl02.rollback [O" + _objectNumber + ".R" + _resourceNumber + "]: ");
+
+ if (_resourceTrace == ResourceTrace.ResourceTraceNone)
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceRollback;
+ }
+ else if (_resourceTrace == ResourceTrace.ResourceTracePrepare)
+ {
+ _resourceTrace = ResourceTrace.ResourceTracePrepareRollback;
+ }
+ else
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceUnknown;
+ }
+
+ System.err.println("Return");
+ }
+
+ public void commit()
+ throws NotPrepared, HeuristicRollback, HeuristicMixed, HeuristicHazard
+ {
+ System.err.print("ResourceImpl02.commit [O" + _objectNumber + ".R" + _resourceNumber + "]: ");
+
+ if (_resourceTrace == ResourceTrace.ResourceTraceNone)
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceCommit;
+ }
+ else if (_resourceTrace == ResourceTrace.ResourceTracePrepare)
+ {
+ _resourceTrace = ResourceTrace.ResourceTracePrepareCommit;
+ }
+ else
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceUnknown;
+ }
+
+ System.err.println("Return");
+ }
+
+ public void commit_one_phase()
+ throws HeuristicHazard
+ {
+ System.err.print("ResourceImpl02.commit_one_phase [O" + _objectNumber + ".R" + _resourceNumber + "]: ");
+
+ if (_resourceTrace == ResourceTrace.ResourceTraceNone)
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceCommitOnePhase;
+ }
+ else
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceUnknown;
+ }
+
+ System.err.println("Return");
+ }
+
+ public void forget()
+ {
+ System.err.print("ResourceImpl02.forget [O" + _objectNumber + ".R" + _resourceNumber + "]: ");
+
+ if (_resourceTrace == ResourceTrace.ResourceTracePrepare)
+ {
+ _resourceTrace = ResourceTrace.ResourceTracePrepareForget;
+ }
+ else if (_resourceTrace == ResourceTrace.ResourceTracePrepareRollback)
+ {
+ _resourceTrace = ResourceTrace.ResourceTracePrepareRollbackForget;
+ }
+ else if (_resourceTrace == ResourceTrace.ResourceTracePrepareCommit)
+ {
+ _resourceTrace = ResourceTrace.ResourceTracePrepareCommitForget;
+ }
+ else if (_resourceTrace == ResourceTrace.ResourceTraceCommitOnePhase)
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceCommitOnePhaseForget;
+ }
+ else
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceUnknown;
+ }
+
+ System.err.println("Return");
+ }
+
+ public boolean isCorrect()
+ {
+ return true;
+ }
+
+ public ResourceTrace getTrace()
+ {
+ return _resourceTrace;
+ }
+
+ private int _objectNumber;
+ private int _resourceNumber;
+ private ResourceBehavior _resourceBehavior;
+ private ResourceTrace _resourceTrace = ResourceTrace.ResourceTraceNone;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Servers/Server01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Servers/Server01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Servers/Server01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,94 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server01.java,v 1.3 2003/07/15 15:18:36 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server01.java,v 1.3 2003/07/15 15:18:36 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.CrashRecovery02Impls.BeforeCrashServiceImpl01;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server01
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ BeforeCrashServiceImpl01 beforeCrashServiceImpl = new BeforeCrashServiceImpl01(args[args.length - 2].hashCode(), 0);
+ BeforeCrashServicePOATie servant = new BeforeCrashServicePOATie(beforeCrashServiceImpl);
+
+ OAInterface.objectIsReady(servant);
+ BeforeCrashService beforeCrashService = BeforeCrashServiceHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(beforeCrashService));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Servers/Server02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Servers/Server02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Servers/Server02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,94 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server02.java,v 1.3 2003/07/15 15:18:36 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server02.java,v 1.3 2003/07/15 15:18:36 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.CrashRecovery02Impls.AfterCrashServiceImpl01;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server02
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ AfterCrashServiceImpl01 afterCrashServiceImpl = new AfterCrashServiceImpl01(args[args.length - 2].hashCode(), 0);
+ AfterCrashServicePOATie servant = new AfterCrashServicePOATie(afterCrashServiceImpl);
+
+ OAInterface.objectIsReady(servant);
+ AfterCrashService afterCrashService = AfterCrashServiceHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(afterCrashService));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server02.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Servers/Server03.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Servers/Server03.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Servers/Server03.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,101 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server03.java,v 1.4 2003/07/15 15:33:11 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server03.java,v 1.4 2003/07/15 15:33:11 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.CrashRecovery02Impls.BeforeCrashServiceImpl01;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server03
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ BeforeCrashServiceImpl01 beforeCrashServiceImpl1 = new BeforeCrashServiceImpl01(args[args.length - 3].hashCode(), 0);
+ BeforeCrashServiceImpl01 beforeCrashServiceImpl2 = new BeforeCrashServiceImpl01(args[args.length - 3].hashCode(), 1);
+
+ BeforeCrashServicePOATie servant1 = new BeforeCrashServicePOATie(beforeCrashServiceImpl1);
+ BeforeCrashServicePOATie servant2 = new BeforeCrashServicePOATie(beforeCrashServiceImpl2);
+
+ OAInterface.objectIsReady(servant1);
+ BeforeCrashService beforeCrashService1 = BeforeCrashServiceHelper.narrow(OAInterface.corbaReference(servant1));
+
+ OAInterface.objectIsReady(servant2);
+ BeforeCrashService beforeCrashService2 = BeforeCrashServiceHelper.narrow(OAInterface.corbaReference(servant2));
+
+ ServerIORStore.storeIOR(args[args.length - 2], ORBInterface.orb().object_to_string(beforeCrashService1));
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(beforeCrashService2));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server03.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Servers/Server04.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Servers/Server04.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Servers/Server04.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,101 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server04.java,v 1.4 2003/07/15 15:33:11 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server04.java,v 1.4 2003/07/15 15:33:11 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery02.*;
+import org.jboss.jbossts.qa.CrashRecovery02Impls.AfterCrashServiceImpl01;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server04
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ AfterCrashServiceImpl01 afterCrashServiceImpl1 = new AfterCrashServiceImpl01(args[args.length - 3].hashCode(), 0);
+ AfterCrashServiceImpl01 afterCrashServiceImpl2 = new AfterCrashServiceImpl01(args[args.length - 3].hashCode(), 1);
+
+ AfterCrashServicePOATie servant1 = new AfterCrashServicePOATie(afterCrashServiceImpl1);
+ AfterCrashServicePOATie servant2 = new AfterCrashServicePOATie(afterCrashServiceImpl2);
+
+ OAInterface.objectIsReady(servant1);
+ AfterCrashService afterCrashService1 = AfterCrashServiceHelper.narrow(OAInterface.corbaReference(servant1));
+
+ OAInterface.objectIsReady(servant2);
+ AfterCrashService afterCrashService2 = AfterCrashServiceHelper.narrow(OAInterface.corbaReference(servant2));
+
+ ServerIORStore.storeIOR(args[args.length - 2], ORBInterface.orb().object_to_string(afterCrashService1));
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(afterCrashService2));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server04.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Utils/Delays.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Utils/Delays.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery02Utils/Delays.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,40 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: Delays.java,v 1.2 2003/06/26 11:43:25 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.CrashRecovery02Utils;
+
+public class Delays
+{
+ public static int replyCompletionDelay()
+ {
+ return 60 * 1000;
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery03Clients/Client01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery03Clients/Client01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery03Clients/Client01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,117 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery03Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client01.java,v 1.2 2003/06/26 11:43:25 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client01.java,v 1.2 2003/06/26 11:43:25 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery03.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client01
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service.setup_oper();
+
+ OTS.current().commit(true);
+
+ correct = service.check_oper();
+
+ correct = correct && service.is_correct();
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery03Impls/ResourceImpl01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery03Impls/ResourceImpl01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery03Impls/ResourceImpl01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,95 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: ResourceImpl01.java,v 1.2 2003/06/26 11:43:25 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.CrashRecovery03Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ResourceImpl01.java,v 1.2 2003/06/26 11:43:25 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ResourceImpl01.java,v 1.2 2003/06/26 11:43:25 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery03.*;
+import org.omg.CosTransactions.*;
+
+public class ResourceImpl01 implements ResourceOperations
+{
+ public ResourceImpl01()
+ {
+ }
+
+ public Vote prepare()
+ throws HeuristicMixed, HeuristicHazard
+ {
+ return Vote.VoteCommit;
+ }
+
+ public void rollback()
+ throws HeuristicCommit, HeuristicMixed, HeuristicHazard
+ {
+ }
+
+ public void commit()
+ throws NotPrepared, HeuristicRollback, HeuristicMixed, HeuristicHazard
+ {
+ }
+
+ public void commit_one_phase()
+ throws HeuristicHazard
+ {
+ }
+
+ public void forget()
+ {
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery03Impls/ServiceImpl01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery03Impls/ServiceImpl01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery03Impls/ServiceImpl01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,125 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: ServiceImpl01.java,v 1.2 2003/06/26 11:43:26 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.CrashRecovery03Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ServiceImpl01.java,v 1.2 2003/06/26 11:43:26 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ServiceImpl01.java,v 1.2 2003/06/26 11:43:26 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery03.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.omg.CORBA.OBJECT_NOT_EXIST;
+import org.omg.CosTransactions.*;
+
+public class ServiceImpl01 implements ServiceOperations
+{
+ public ServiceImpl01()
+ {
+ }
+
+ public void setup_oper()
+ {
+ try
+ {
+ _resourceImpl = new ResourceImpl01();
+ ResourcePOATie servant = new ResourcePOATie(_resourceImpl);
+
+ OAInterface.objectIsReady(servant);
+ _resource = ResourceHelper.narrow(OAInterface.corbaReference(servant));
+
+ _recoveryCoordinator = OTS.current().get_control().get_coordinator().register_resource(_resource);
+ }
+ catch (Exception exception)
+ {
+ System.err.println("ServiceImpl01.setup_oper: " + exception);
+ exception.printStackTrace(System.err);
+ _isCorrect = false;
+ }
+ }
+
+ public boolean check_oper()
+ {
+ boolean correct = true;
+
+ try
+ {
+ Status status = _recoveryCoordinator.replay_completion(null);
+ }
+ catch (OBJECT_NOT_EXIST objectNotExist)
+ {
+ }
+ catch (Exception exception)
+ {
+ System.err.println("ServiceImpl01.check_oper: " + exception);
+ exception.printStackTrace(System.err);
+ correct = false;
+ }
+
+ return correct;
+ }
+
+ public boolean is_correct()
+ {
+ return _isCorrect;
+ }
+
+ private boolean _isCorrect = true;
+
+ private ResourceImpl01 _resourceImpl = null;
+ private Resource _resource = null;
+ private RecoveryCoordinator _recoveryCoordinator = null;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery03Servers/Server01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery03Servers/Server01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery03Servers/Server01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,94 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.CrashRecovery03Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server01.java,v 1.2 2003/06/26 11:43:26 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server01.java,v 1.2 2003/06/26 11:43:26 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery03.*;
+import org.jboss.jbossts.qa.CrashRecovery03Impls.ServiceImpl01;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server01
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ ServiceImpl01 serviceImpl = new ServiceImpl01();
+ ServicePOATie servant = new ServicePOATie(serviceImpl);
+
+ OAInterface.objectIsReady(servant);
+ Service service = ServiceHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(service));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,121 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery04Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client01.java,v 1.2 2003/06/26 11:43:26 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client01.java,v 1.2 2003/06/26 11:43:26 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery04.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client01
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service.setup_oper(OTS.current().get_control(), 1);
+
+ correct = service.check_oper();
+
+ OTS.current().commit(true);
+
+ correct = correct && service.is_correct();
+
+ ResourceTrace resourceTrace = service.get_resource_trace(0);
+
+ correct = correct && (resourceTrace == ResourceTrace.ResourceTraceCommitOnePhase);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,134 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery04Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client02.java,v 1.2 2003/06/26 11:43:26 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client02.java,v 1.2 2003/06/26 11:43:26 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery04.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client02
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service.setup_oper(OTS.current().get_control(), 1);
+
+ OTS.current().commit(true);
+
+// code changed to cope with recovery manager fix
+// that makes reply_completion cause resource to rollback even though
+// transaction has completed
+ ResourceTrace resourceTrace = service.get_resource_trace(0);
+
+// trace should be Commit_One_Phase because only single resource used
+ correct = correct && (resourceTrace == ResourceTrace.ResourceTraceCommitOnePhase);
+
+// check_oper will invoke reply_completion and check the state of the transaction
+ correct = correct && service.check_oper();
+
+// now sleep to let reply completion do its job 1 second should be more than enough
+ Thread.sleep(10 * 1000);
+
+ correct = correct && service.is_correct();
+// after reply_completion is called the resource will have rollback called on
+// it changeing the ResourceTrace to ResourceTrace.ResourceTraceUnknown
+ resourceTrace = service.get_resource_trace(0);
+
+ correct = correct && (resourceTrace == ResourceTrace.ResourceTraceUnknown);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client02.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client02.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client03.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client03.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client03.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,133 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery04Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client03.java,v 1.2 2003/06/26 11:43:26 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client03.java,v 1.2 2003/06/26 11:43:26 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery04.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client03
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service.setup_oper(OTS.current().get_control(), 1);
+
+ OTS.current().commit(false);
+// code changed to cope with recovery manager fix
+// that makes reply_completion cause resource to rollback even though
+// transaction has completed
+ ResourceTrace resourceTrace = service.get_resource_trace(0);
+
+// trace should be Commit_One_Phase because only single resource used
+ correct = correct && (resourceTrace == ResourceTrace.ResourceTraceCommitOnePhase);
+
+// check_oper will invoke reply_completion and check the state of the transaction
+ correct = correct && service.check_oper();
+
+// now sleep to let reply completion do its job 1 second should be more than enough
+ Thread.sleep(10 * 1000);
+
+ correct = correct && service.is_correct();
+// after reply_completion is called the resource will have rollback called on
+// it changeing the ResourceTrace to ResourceTrace.ResourceTraceUnknown
+ resourceTrace = service.get_resource_trace(0);
+
+ correct = correct && (resourceTrace == ResourceTrace.ResourceTraceUnknown);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client03.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client03.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client04.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client04.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client04.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,133 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery04Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client04.java,v 1.2 2003/06/26 11:43:26 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client04.java,v 1.2 2003/06/26 11:43:26 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery04.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client04
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service.setup_oper(OTS.current().get_control(), 1);
+
+ OTS.current().rollback();
+// code changed to cope with recovery manager fix
+// that makes reply_completion cause resource to rollback even though
+// transaction has completed
+ ResourceTrace resourceTrace = service.get_resource_trace(0);
+
+// trace should be rollback
+ correct = correct && (resourceTrace == ResourceTrace.ResourceTraceRollback);
+
+// check_oper will invoke reply_completion and check the state of the transaction
+ correct = correct && service.check_oper();
+
+// now sleep to let reply completion do its job 1 second should be more than enough
+ Thread.sleep(10 * 1000);
+
+ correct = correct && service.is_correct();
+// after reply_completion is called the resource will have rollback called on
+// it again, changing the ResourceTrace to ResourceTrace.ResourceTraceUnknown
+ resourceTrace = service.get_resource_trace(0);
+
+ correct = correct && (resourceTrace == ResourceTrace.ResourceTraceUnknown);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client04.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client04.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client05.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client05.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client05.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery04Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client05.java,v 1.2 2003/06/26 11:43:26 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client05.java,v 1.2 2003/06/26 11:43:26 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery04.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client05
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service.setup_oper(OTS.current().get_control(), 1);
+
+ OTS.current().rollback_only();
+
+ try
+ {
+ OTS.current().commit(true);
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledBack)
+ {
+ }
+
+// code changed to cope with recovery manager fix
+// that makes reply_completion cause resource to rollback even though
+// transaction has completed
+ ResourceTrace resourceTrace = service.get_resource_trace(0);
+
+// trace should be rollback
+ correct = correct && (resourceTrace == ResourceTrace.ResourceTraceRollback);
+
+// check_oper will invoke reply_completion and check the state of the transaction
+ correct = correct && service.check_oper();
+
+// now sleep to let reply completion do its job 1 second should be more than enough
+ Thread.sleep(10 * 1000);
+
+ correct = correct && service.is_correct();
+// after reply_completion is called the resource will have rollback called on
+// it again, changing the ResourceTrace to ResourceTrace.ResourceTraceUnknown
+ resourceTrace = service.get_resource_trace(0);
+
+ correct = correct && (resourceTrace == ResourceTrace.ResourceTraceUnknown);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client05.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client05.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client06.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client06.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client06.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery04Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client06.java,v 1.2 2003/06/26 11:43:26 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client06.java,v 1.2 2003/06/26 11:43:26 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery04.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client06
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service.setup_oper(OTS.current().get_control(), 1);
+
+ OTS.current().rollback_only();
+
+ try
+ {
+ OTS.current().commit(false);
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledBack)
+ {
+ }
+
+// code changed to cope with recovery manager fix
+// that makes reply_completion cause resource to rollback even though
+// transaction has completed
+ ResourceTrace resourceTrace = service.get_resource_trace(0);
+
+// trace should be rollback
+ correct = correct && (resourceTrace == ResourceTrace.ResourceTraceRollback);
+
+// check_oper will invoke reply_completion and check the state of the transaction
+ correct = correct && service.check_oper();
+
+// now sleep to let reply completion do its job 1 second should be more than enough
+ Thread.sleep(10 * 1000);
+
+ correct = correct && service.is_correct();
+// after reply_completion is called the resource will have rollback called on
+// it again, changing the ResourceTrace to ResourceTrace.ResourceTraceUnknown
+ resourceTrace = service.get_resource_trace(0);
+
+ correct = correct && (resourceTrace == ResourceTrace.ResourceTraceUnknown);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client06.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client06.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client07.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client07.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client07.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,123 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery04Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client07.java,v 1.2 2003/06/26 11:43:26 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client07.java,v 1.2 2003/06/26 11:43:26 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery04.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client07
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service.setup_oper(OTS.current().get_control(), 2);
+
+ correct = service.check_oper();
+
+ OTS.current().commit(true);
+
+ correct = correct && service.is_correct();
+
+ ResourceTrace resourceTrace1 = service.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service.get_resource_trace(1);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommit);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommit);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client07.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client07.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client08.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client08.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client08.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,138 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery04Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client08.java,v 1.2 2003/06/26 11:43:26 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client08.java,v 1.2 2003/06/26 11:43:26 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery04.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client08
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service.setup_oper(OTS.current().get_control(), 2);
+
+ OTS.current().commit(true);
+
+// code changed to cope with recovery manager fix
+// that makes reply_completion cause resource to rollback even though
+// transaction has completed
+ ResourceTrace resourceTrace1 = service.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service.get_resource_trace(1);
+
+// trace should be Commit_One_Phase because only single resource used
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceCommitOnePhase);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceCommitOnePhase);
+
+// check_oper will invoke reply_completion and check the state of the transaction
+ correct = service.check_oper();
+
+// now sleep to let reply completion do its job 1 second should be more than enough
+ Thread.sleep(10 * 1000);
+
+ correct = correct && service.is_correct();
+// after reply_completion is called the resource will have rollback called on
+// it changeing the ResourceTrace to ResourceTrace.ResourceTraceUnknown
+ resourceTrace1 = service.get_resource_trace(0);
+ resourceTrace2 = service.get_resource_trace(1);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceUnknown);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceUnknown);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client08.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client08.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client09.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client09.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client09.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,138 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery04Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client09.java,v 1.2 2003/06/26 11:43:27 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client09.java,v 1.2 2003/06/26 11:43:27 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery04.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client09
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service.setup_oper(OTS.current().get_control(), 2);
+
+ OTS.current().commit(false);
+
+// code changed to cope with recovery manager fix
+// that makes reply_completion cause resource to rollback even though
+// transaction has completed
+ ResourceTrace resourceTrace1 = service.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service.get_resource_trace(1);
+
+// trace should be Commit_One_Phase because only single resource used
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceCommitOnePhase);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceCommitOnePhase);
+
+// check_oper will invoke reply_completion and check the state of the transaction
+ correct = service.check_oper();
+
+// now sleep to let reply completion do its job 1 second should be more than enough
+ Thread.sleep(10 * 1000);
+
+ correct = correct && service.is_correct();
+// after reply_completion is called the resource will have rollback called on
+// it changeing the ResourceTrace to ResourceTrace.ResourceTraceUnknown
+ resourceTrace1 = service.get_resource_trace(0);
+ resourceTrace2 = service.get_resource_trace(1);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceUnknown);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceUnknown);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client09.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client09.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client10.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client10.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client10.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,138 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery04Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client10.java,v 1.2 2003/06/26 11:43:27 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client10.java,v 1.2 2003/06/26 11:43:27 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery04.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client10
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service.setup_oper(OTS.current().get_control(), 2);
+
+ OTS.current().rollback();
+
+// code changed to cope with recovery manager fix
+// that makes reply_completion cause resource to rollback even though
+// transaction has completed
+ ResourceTrace resourceTrace1 = service.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service.get_resource_trace(1);
+
+// trace should be rollback
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceRollback);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceRollback);
+
+// check_oper will invoke reply_completion and check the state of the transaction
+ correct = correct && service.check_oper();
+
+// now sleep to let reply completion do its job 1 second should be more than enough
+ Thread.sleep(10 * 1000);
+
+ correct = correct && service.is_correct();
+// after reply_completion is called the resource will have rollback called on
+// it again, changing the ResourceTrace to ResourceTrace.ResourceTraceUnknown
+ resourceTrace1 = service.get_resource_trace(0);
+ resourceTrace2 = service.get_resource_trace(1);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceUnknown);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceUnknown);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client10.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client10.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client11.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client11.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client11.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,149 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery04Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client11.java,v 1.2 2003/06/26 11:43:27 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client11.java,v 1.2 2003/06/26 11:43:27 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery04.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client11
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service.setup_oper(OTS.current().get_control(), 2);
+
+ OTS.current().rollback_only();
+
+ try
+ {
+ OTS.current().commit(true);
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledBack)
+ {
+ }
+
+// code changed to cope with recovery manager fix
+// that makes reply_completion cause resource to rollback even though
+// transaction has completed
+ ResourceTrace resourceTrace1 = service.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service.get_resource_trace(1);
+
+// trace should be rollback
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceRollback);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceRollback);
+
+// check_oper will invoke reply_completion and check the state of the transaction
+ correct = correct && service.check_oper();
+
+// now sleep to let reply completion do its job 1 second should be more than enough
+ Thread.sleep(10 * 1000);
+
+ correct = correct && service.is_correct();
+// after reply_completion is called the resource will have rollback called on
+// it again, changing the ResourceTrace to ResourceTrace.ResourceTraceUnknown
+ resourceTrace1 = service.get_resource_trace(0);
+ resourceTrace2 = service.get_resource_trace(1);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceUnknown);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceUnknown);
+
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client11.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client11.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client12.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client12.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client12.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,149 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery04Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client12.java,v 1.2 2003/06/26 11:43:27 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client12.java,v 1.2 2003/06/26 11:43:27 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery04.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client12
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service.setup_oper(OTS.current().get_control(), 2);
+
+ OTS.current().rollback_only();
+
+ try
+ {
+ OTS.current().commit(false);
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledBack)
+ {
+ }
+
+// code changed to cope with recovery manager fix
+// that makes reply_completion cause resource to rollback even though
+// transaction has completed
+ ResourceTrace resourceTrace1 = service.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service.get_resource_trace(1);
+
+// trace should be rollback
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceRollback);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceRollback);
+
+// check_oper will invoke reply_completion and check the state of the transaction
+ correct = correct && service.check_oper();
+
+// now sleep to let reply completion do its job 1 second should be more than enough
+ Thread.sleep(10 * 1000);
+
+ correct = correct && service.is_correct();
+// after reply_completion is called the resource will have rollback called on
+// it again, changing the ResourceTrace to ResourceTrace.ResourceTraceUnknown
+ resourceTrace1 = service.get_resource_trace(0);
+ resourceTrace2 = service.get_resource_trace(1);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceUnknown);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceUnknown);
+
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client12.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client12.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client13.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client13.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client13.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,129 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery04Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client13.java,v 1.2 2003/06/26 11:43:27 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client13.java,v 1.2 2003/06/26 11:43:27 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery04.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client13
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.setup_oper(OTS.current().get_control(), 1);
+ service2.setup_oper(OTS.current().get_control(), 1);
+
+ correct = correct && service1.check_oper();
+ correct = correct && service2.check_oper();
+
+ OTS.current().commit(true);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommit);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommit);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client13.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client13.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client14.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client14.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client14.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery04Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client14.java,v 1.2 2003/06/26 11:43:27 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client14.java,v 1.2 2003/06/26 11:43:27 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery04.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client14
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.setup_oper(OTS.current().get_control(), 1);
+ service2.setup_oper(OTS.current().get_control(), 1);
+
+ OTS.current().commit(true);
+
+// code changed to cope with recovery manager fix
+// that makes reply_completion cause resource to rollback even though
+// transaction has completed
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+// trace should be Commit_One_Phase because only single resource used
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommit);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommit);
+
+// check_oper will invoke reply_completion and check the state of the transaction
+ correct = correct && service1.check_oper();
+ correct = correct && service2.check_oper();
+
+// now sleep to let reply completion do its job 1 second should be more than enough
+ Thread.sleep(10 * 1000);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+// after reply_completion is called the resource will have rollback called on
+// it changeing the ResourceTrace to ResourceTrace.ResourceTraceUnknown
+ resourceTrace1 = service1.get_resource_trace(0);
+ resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceUnknown);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceUnknown);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client14.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client14.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client15.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client15.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client15.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery04Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client15.java,v 1.2 2003/06/26 11:43:27 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client15.java,v 1.2 2003/06/26 11:43:27 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery04.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client15
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.setup_oper(OTS.current().get_control(), 1);
+ service2.setup_oper(OTS.current().get_control(), 1);
+
+ OTS.current().commit(false);
+
+// code changed to cope with recovery manager fix
+// that makes reply_completion cause resource to rollback even though
+// transaction has completed
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+// trace should be Commit_One_Phase because only single resource used
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommit);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommit);
+
+// check_oper will invoke reply_completion and check the state of the transaction
+ correct = correct && service1.check_oper();
+ correct = correct && service2.check_oper();
+
+// now sleep to let reply completion do its job 1 second should be more than enough
+ Thread.sleep(10 * 1000);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+// after reply_completion is called the resource will have rollback called on
+// it changeing the ResourceTrace to ResourceTrace.ResourceTraceUnknown
+ resourceTrace1 = service1.get_resource_trace(0);
+ resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceUnknown);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceUnknown);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client15.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client15.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client16.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client16.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client16.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery04Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client16.java,v 1.2 2003/06/26 11:43:27 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client16.java,v 1.2 2003/06/26 11:43:27 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery04.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client16
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.setup_oper(OTS.current().get_control(), 1);
+ service2.setup_oper(OTS.current().get_control(), 1);
+
+ OTS.current().rollback();
+
+// code changed to cope with recovery manager fix
+// that makes reply_completion cause resource to rollback even though
+// transaction has completed
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+// trace should be rollback
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceRollback);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceRollback);
+
+// check_oper will invoke reply_completion and check the state of the transaction
+ correct = correct && service1.check_oper();
+ correct = correct && service2.check_oper();
+
+// now sleep to let reply completion do its job 1 second should be more than enough
+ Thread.sleep(10 * 1000);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+// after reply_completion is called the resource will have rollback called on
+// it again, changing the ResourceTrace to ResourceTrace.ResourceTraceUnknown
+ resourceTrace1 = service1.get_resource_trace(0);
+ resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceUnknown);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceUnknown);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client16.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client16.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client17.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client17.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client17.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,154 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery04Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client17.java,v 1.2 2003/06/26 11:43:27 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client17.java,v 1.2 2003/06/26 11:43:27 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery04.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client17
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.setup_oper(OTS.current().get_control(), 1);
+ service2.setup_oper(OTS.current().get_control(), 1);
+
+ OTS.current().rollback_only();
+
+ try
+ {
+ OTS.current().commit(true);
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledBack)
+ {
+ }
+
+// code changed to cope with recovery manager fix
+// that makes reply_completion cause resource to rollback even though
+// transaction has completed
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+// trace should be rollback
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceRollback);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceRollback);
+
+// check_oper will invoke reply_completion and check the state of the transaction
+ correct = correct && service1.check_oper();
+ correct = correct && service2.check_oper();
+
+// now sleep to let reply completion do its job 1 second should be more than enough
+ Thread.sleep(10 * 1000);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+// after reply_completion is called the resource will have rollback called on
+// it again, changing the ResourceTrace to ResourceTrace.ResourceTraceUnknown
+ resourceTrace1 = service1.get_resource_trace(0);
+ resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceUnknown);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceUnknown);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client17.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client17.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client18.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client18.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Clients/Client18.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,154 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery04Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client18.java,v 1.2 2003/06/26 11:43:27 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client18.java,v 1.2 2003/06/26 11:43:27 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery04.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client18
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.setup_oper(OTS.current().get_control(), 1);
+ service2.setup_oper(OTS.current().get_control(), 1);
+
+ OTS.current().rollback_only();
+
+ try
+ {
+ OTS.current().commit(false);
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledBack)
+ {
+ }
+
+// code changed to cope with recovery manager fix
+// that makes reply_completion cause resource to rollback even though
+// transaction has completed
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+// trace should be rollback
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceRollback);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceRollback);
+
+// check_oper will invoke reply_completion and check the state of the transaction
+ correct = correct && service1.check_oper();
+ correct = correct && service2.check_oper();
+
+// now sleep to let reply completion do its job 1 second should be more than enough
+ Thread.sleep(10 * 1000);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+// after reply_completion is called the resource will have rollback called on
+// it again, changing the ResourceTrace to ResourceTrace.ResourceTraceUnknown
+ resourceTrace1 = service1.get_resource_trace(0);
+ resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceUnknown);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceUnknown);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client18.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client18.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Impls/ResourceImpl01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Impls/ResourceImpl01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Impls/ResourceImpl01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,163 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: ResourceImpl01.java,v 1.2 2003/06/26 11:43:28 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.CrashRecovery04Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ResourceImpl01.java,v 1.2 2003/06/26 11:43:28 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ResourceImpl01.java,v 1.2 2003/06/26 11:43:28 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery04.*;
+import org.omg.CosTransactions.*;
+
+public class ResourceImpl01 implements ResourceOperations
+{
+ public ResourceImpl01(int objectNumber, int resourceNumber)
+ {
+ _objectNumber = objectNumber;
+ _resourceNumber = resourceNumber;
+ }
+
+ public Vote prepare()
+ throws HeuristicMixed, HeuristicHazard
+ {
+ System.err.print("ResourceImpl01.prepare [O" + _objectNumber + ".R" + _resourceNumber + "]: ");
+
+ if (_resourceTrace == ResourceTrace.ResourceTraceNone)
+ {
+ _resourceTrace = ResourceTrace.ResourceTracePrepare;
+ }
+ else
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceUnknown;
+ }
+
+ System.err.println("ReturnVoteCommit");
+
+ return Vote.VoteCommit;
+ }
+
+ public void rollback()
+ throws HeuristicCommit, HeuristicMixed, HeuristicHazard
+ {
+ System.err.print("ResourceImpl01.rollback [O" + _objectNumber + ".R" + _resourceNumber + "]: ");
+
+ if (_resourceTrace == ResourceTrace.ResourceTraceNone)
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceRollback;
+ }
+ else
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceUnknown;
+ }
+
+ System.err.println("Return");
+ }
+
+ public void commit()
+ throws NotPrepared, HeuristicRollback, HeuristicMixed, HeuristicHazard
+ {
+ System.err.print("ResourceImpl01.commit [O" + _objectNumber + ".R" + _resourceNumber + "]: ");
+
+ if (_resourceTrace == ResourceTrace.ResourceTracePrepare)
+ {
+ _resourceTrace = ResourceTrace.ResourceTracePrepareCommit;
+ }
+ else
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceUnknown;
+ }
+
+ System.err.println("Return");
+ }
+
+ public void commit_one_phase()
+ throws HeuristicHazard
+ {
+ System.err.print("ResourceImpl01.commit_one_phase [O" + _objectNumber + ".R" + _resourceNumber + "]: ");
+
+ if (_resourceTrace == ResourceTrace.ResourceTraceNone)
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceCommitOnePhase;
+ }
+ else
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceUnknown;
+ }
+
+ System.err.println("Return");
+ }
+
+ public void forget()
+ {
+ System.err.println("ResourceImpl01.forget [O" + _objectNumber + ".R" + _resourceNumber + "]: Return");
+
+ _resourceTrace = ResourceTrace.ResourceTraceUnknown;
+ }
+
+ public boolean isCorrect()
+ {
+ return true;
+ }
+
+ public ResourceTrace getTrace()
+ {
+ return _resourceTrace;
+ }
+
+ private int _objectNumber;
+ private int _resourceNumber;
+ private ResourceTrace _resourceTrace = ResourceTrace.ResourceTraceNone;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Impls/ServiceImpl01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Impls/ServiceImpl01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Impls/ServiceImpl01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,149 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: ServiceImpl01.java,v 1.3 2004/03/16 11:09:50 swheater Exp $
+//
+
+package org.jboss.jbossts.qa.CrashRecovery04Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ServiceImpl01.java,v 1.3 2004/03/16 11:09:50 swheater Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ServiceImpl01.java,v 1.3 2004/03/16 11:09:50 swheater Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery04.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.omg.CosTransactions.*;
+
+public class ServiceImpl01 implements ServiceOperations
+{
+ public ServiceImpl01(int objectNumber)
+ {
+ _objectNumber = objectNumber;
+ }
+
+ public void setup_oper(Control ctrl, int number_of_resources)
+ {
+ _resourceImpl = new ResourceImpl01[number_of_resources];
+ _resource = new Resource[number_of_resources];
+ _recoveryCoordinator = new RecoveryCoordinator[number_of_resources];
+
+ for (int index = 0; index < number_of_resources; index++)
+ {
+ try
+ {
+ _resourceImpl[index] = new ResourceImpl01(_objectNumber, index);
+ ResourcePOATie servant = new ResourcePOATie(_resourceImpl[index]);
+
+ OAInterface.objectIsReady(servant);
+ _resource[index] = ResourceHelper.narrow(OAInterface.corbaReference(servant));
+
+ _recoveryCoordinator[index] = ctrl.get_coordinator().register_resource(_resource[index]);
+ }
+ catch (Exception exception)
+ {
+ System.err.println("ServiceImpl01.setup_oper: " + exception);
+ exception.printStackTrace(System.err);
+ _isCorrect = false;
+ }
+ }
+ }
+
+ public boolean check_oper()
+ {
+ boolean correct = true;
+
+ for (int index = 0; index < _recoveryCoordinator.length; index++)
+ {
+ try
+ {
+ Status status = _recoveryCoordinator[index].replay_completion(_resource[index]);
+ System.err.println("ServiceImpl01.check_oper: replay_completion didn't throw expected exception (NotPrepared)");
+ correct = false;
+ }
+ catch (NotPrepared notPrepared)
+ {
+ }
+ catch (Exception exception)
+ {
+ System.err.println("ServiceImpl01.check_oper: " + exception);
+ exception.printStackTrace(System.err);
+ correct = false;
+ }
+ }
+
+ return correct;
+ }
+
+ public boolean is_correct()
+ {
+ return _isCorrect;
+ }
+
+ public ResourceTrace get_resource_trace(int resource_number)
+ {
+ if ((resource_number < 0) || (resource_number >= _resourceImpl.length))
+ {
+ return ResourceTrace.ResourceTraceUnknown;
+ }
+ else
+ {
+ return _resourceImpl[resource_number].getTrace();
+ }
+ }
+
+ private int _objectNumber;
+ private boolean _isCorrect = true;
+
+ private ResourceImpl01[] _resourceImpl = null;
+ private Resource[] _resource = null;
+ private RecoveryCoordinator[] _recoveryCoordinator = null;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Impls/ServiceImpl02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Impls/ServiceImpl02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Impls/ServiceImpl02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,149 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: ServiceImpl02.java,v 1.2 2003/06/26 11:43:28 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.CrashRecovery04Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ServiceImpl02.java,v 1.2 2003/06/26 11:43:28 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ServiceImpl02.java,v 1.2 2003/06/26 11:43:28 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery04.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.omg.CORBA.OBJECT_NOT_EXIST;
+import org.omg.CosTransactions.*;
+
+public class ServiceImpl02 implements ServiceOperations
+{
+ public ServiceImpl02(int objectNumber)
+ {
+ _objectNumber = objectNumber;
+ }
+
+ public void setup_oper(Control ctrl, int number_of_resources)
+ {
+ _resourceImpl = new ResourceImpl01[number_of_resources];
+ _resource = new Resource[number_of_resources];
+ _recoveryCoordinator = new RecoveryCoordinator[number_of_resources];
+
+ for (int index = 0; index < number_of_resources; index++)
+ {
+ try
+ {
+ _resourceImpl[index] = new ResourceImpl01(_objectNumber, index);
+ ResourcePOATie servant = new ResourcePOATie(_resourceImpl[index]);
+
+ OAInterface.objectIsReady(servant);
+ _resource[index] = ResourceHelper.narrow(OAInterface.corbaReference(servant));
+
+ _recoveryCoordinator[index] = ctrl.get_coordinator().register_resource(_resource[index]);
+ }
+ catch (Exception exception)
+ {
+ System.err.println("ServiceImpl02.setup_oper: " + exception);
+ exception.printStackTrace(System.err);
+ _isCorrect = false;
+ }
+ }
+ }
+
+ public boolean check_oper()
+ {
+ boolean correct = true;
+
+ for (int index = 0; index < _recoveryCoordinator.length; index++)
+ {
+ try
+ {
+ Status status = _recoveryCoordinator[index].replay_completion(_resource[index]);
+ correct = correct && (status == Status.StatusCommitted);
+ }
+ catch (OBJECT_NOT_EXIST objectNotExist)
+ {
+ }
+ catch (Exception exception)
+ {
+ System.err.println("ServiceImpl02.check_oper: " + exception);
+ exception.printStackTrace(System.err);
+ correct = false;
+ }
+ }
+
+ return correct;
+ }
+
+ public boolean is_correct()
+ {
+ return _isCorrect;
+ }
+
+ public ResourceTrace get_resource_trace(int resource_number)
+ {
+ if ((resource_number < 0) || (resource_number >= _resourceImpl.length))
+ {
+ return ResourceTrace.ResourceTraceUnknown;
+ }
+ else
+ {
+ return _resourceImpl[resource_number].getTrace();
+ }
+ }
+
+ private int _objectNumber;
+ private boolean _isCorrect = true;
+
+ private ResourceImpl01[] _resourceImpl = null;
+ private Resource[] _resource = null;
+ private RecoveryCoordinator[] _recoveryCoordinator = null;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Impls/ServiceImpl03.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Impls/ServiceImpl03.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Impls/ServiceImpl03.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,149 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: ServiceImpl03.java,v 1.2 2003/06/26 11:43:28 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.CrashRecovery04Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ServiceImpl03.java,v 1.2 2003/06/26 11:43:28 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ServiceImpl03.java,v 1.2 2003/06/26 11:43:28 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery04.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.omg.CORBA.OBJECT_NOT_EXIST;
+import org.omg.CosTransactions.*;
+
+public class ServiceImpl03 implements ServiceOperations
+{
+ public ServiceImpl03(int objectNumber)
+ {
+ _objectNumber = objectNumber;
+ }
+
+ public void setup_oper(Control ctrl, int number_of_resources)
+ {
+ _resourceImpl = new ResourceImpl01[number_of_resources];
+ _resource = new Resource[number_of_resources];
+ _recoveryCoordinator = new RecoveryCoordinator[number_of_resources];
+
+ for (int index = 0; index < number_of_resources; index++)
+ {
+ try
+ {
+ _resourceImpl[index] = new ResourceImpl01(_objectNumber, index);
+ ResourcePOATie servant = new ResourcePOATie(_resourceImpl[index]);
+
+ OAInterface.objectIsReady(servant);
+ _resource[index] = ResourceHelper.narrow(OAInterface.corbaReference(servant));
+
+ _recoveryCoordinator[index] = ctrl.get_coordinator().register_resource(_resource[index]);
+ }
+ catch (Exception exception)
+ {
+ System.err.println("ServiceImpl03.setup_oper: " + exception);
+ exception.printStackTrace(System.err);
+ _isCorrect = false;
+ }
+ }
+ }
+
+ public boolean check_oper()
+ {
+ boolean correct = true;
+
+ for (int index = 0; index < _recoveryCoordinator.length; index++)
+ {
+ try
+ {
+ Status status = _recoveryCoordinator[index].replay_completion(_resource[index]);
+ correct = correct && (status == Status.StatusRolledBack);
+ }
+ catch (OBJECT_NOT_EXIST objectNotExist)
+ {
+ }
+ catch (Exception exception)
+ {
+ System.err.println("ServiceImpl03.check_oper: " + exception);
+ exception.printStackTrace(System.err);
+ correct = false;
+ }
+ }
+
+ return correct;
+ }
+
+ public boolean is_correct()
+ {
+ return _isCorrect;
+ }
+
+ public ResourceTrace get_resource_trace(int resource_number)
+ {
+ if ((resource_number < 0) || (resource_number >= _resourceImpl.length))
+ {
+ return ResourceTrace.ResourceTraceUnknown;
+ }
+ else
+ {
+ return _resourceImpl[resource_number].getTrace();
+ }
+ }
+
+ private int _objectNumber;
+ private boolean _isCorrect = true;
+
+ private ResourceImpl01[] _resourceImpl = null;
+ private Resource[] _resource = null;
+ private RecoveryCoordinator[] _recoveryCoordinator = null;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Impls/ServiceImpl04.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Impls/ServiceImpl04.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Impls/ServiceImpl04.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,162 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: ServiceImpl04.java,v 1.3 2004/03/16 11:09:50 swheater Exp $
+//
+
+package org.jboss.jbossts.qa.CrashRecovery04Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ServiceImpl04.java,v 1.3 2004/03/16 11:09:50 swheater Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ServiceImpl04.java,v 1.3 2004/03/16 11:09:50 swheater Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery04.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.omg.CosTransactions.*;
+
+public class ServiceImpl04 implements ServiceOperations
+{
+ public ServiceImpl04(int objectNumber)
+ {
+ _objectNumber = objectNumber;
+ }
+
+ public void setup_oper(Control ctrl, int number_of_resources)
+ {
+ _resourceImpl = new ResourceImpl01[number_of_resources];
+ _resource = new Resource[number_of_resources];
+ _recoveryCoordinator = new RecoveryCoordinator[number_of_resources];
+
+ try
+ {
+ com.arjuna.ats.jts.ExplicitInterposition interposition = new com.arjuna.ats.jts.ExplicitInterposition();
+
+ interposition.registerTransaction(ctrl);
+
+ for (int index = 0; index < number_of_resources; index++)
+ {
+ _resourceImpl[index] = new ResourceImpl01(_objectNumber, index);
+ ResourcePOATie servant = new ResourcePOATie(_resourceImpl[index]);
+
+ OAInterface.objectIsReady(servant);
+ _resource[index] = ResourceHelper.narrow(OAInterface.corbaReference(servant));
+
+ _recoveryCoordinator[index] = OTS.current().get_control().get_coordinator().register_resource(_resource[index]);
+ }
+
+ interposition.unregisterTransaction();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("ServiceImpl04.setup_oper: " + exception);
+ exception.printStackTrace(System.err);
+ _isCorrect = false;
+ }
+ catch (Error error)
+ {
+ System.err.println("ServiceImpl04.setup_oper: " + error);
+ error.printStackTrace(System.err);
+ _isCorrect = false;
+ }
+ }
+
+ public boolean check_oper()
+ {
+ boolean correct = true;
+
+ for (int index = 0; index < _recoveryCoordinator.length; index++)
+ {
+ try
+ {
+ Status status = _recoveryCoordinator[index].replay_completion(_resource[index]);
+ System.err.println("ServiceImpl04.check_oper: replay_completion didn't throw expected exception (NotPrepared)");
+ correct = false;
+ }
+ catch (NotPrepared notPrepared)
+ {
+ }
+ catch (Exception exception)
+ {
+ System.err.println("ServiceImpl04.check_oper: " + exception);
+ exception.printStackTrace(System.err);
+ correct = false;
+ }
+ }
+
+ return correct;
+ }
+
+ public boolean is_correct()
+ {
+ return _isCorrect;
+ }
+
+ public ResourceTrace get_resource_trace(int resource_number)
+ {
+ if ((resource_number < 0) || (resource_number >= _resourceImpl.length))
+ {
+ return ResourceTrace.ResourceTraceUnknown;
+ }
+ else
+ {
+ return _resourceImpl[resource_number].getTrace();
+ }
+ }
+
+ private int _objectNumber;
+ private boolean _isCorrect = true;
+
+ private ResourceImpl01[] _resourceImpl = null;
+ private Resource[] _resource = null;
+ private RecoveryCoordinator[] _recoveryCoordinator = null;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Impls/ServiceImpl05.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Impls/ServiceImpl05.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Impls/ServiceImpl05.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,162 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: ServiceImpl05.java,v 1.2 2003/06/26 11:43:28 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.CrashRecovery04Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ServiceImpl05.java,v 1.2 2003/06/26 11:43:28 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ServiceImpl05.java,v 1.2 2003/06/26 11:43:28 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery04.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.omg.CORBA.OBJECT_NOT_EXIST;
+import org.omg.CosTransactions.*;
+
+public class ServiceImpl05 implements ServiceOperations
+{
+ public ServiceImpl05(int objectNumber)
+ {
+ _objectNumber = objectNumber;
+ }
+
+ public void setup_oper(Control ctrl, int number_of_resources)
+ {
+ _resourceImpl = new ResourceImpl01[number_of_resources];
+ _resource = new Resource[number_of_resources];
+ _recoveryCoordinator = new RecoveryCoordinator[number_of_resources];
+
+ try
+ {
+ com.arjuna.ats.jts.ExplicitInterposition interposition = new com.arjuna.ats.jts.ExplicitInterposition();
+
+ interposition.registerTransaction(ctrl);
+
+ for (int index = 0; index < number_of_resources; index++)
+ {
+ _resourceImpl[index] = new ResourceImpl01(_objectNumber, index);
+ ResourcePOATie servant = new ResourcePOATie(_resourceImpl[index]);
+
+ OAInterface.objectIsReady(servant);
+ _resource[index] = ResourceHelper.narrow(OAInterface.corbaReference(servant));
+
+ _recoveryCoordinator[index] = OTS.current().get_control().get_coordinator().register_resource(_resource[index]);
+ }
+
+ interposition.unregisterTransaction();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("ServiceImpl05.setup_oper: " + exception);
+ exception.printStackTrace(System.err);
+ _isCorrect = false;
+ }
+ catch (Error error)
+ {
+ System.err.println("ServiceImpl05.setup_oper: " + error);
+ error.printStackTrace(System.err);
+ _isCorrect = false;
+ }
+ }
+
+ public boolean check_oper()
+ {
+ boolean correct = true;
+
+ for (int index = 0; index < _recoveryCoordinator.length; index++)
+ {
+ try
+ {
+ Status status = _recoveryCoordinator[index].replay_completion(_resource[index]);
+ correct = correct && (status == Status.StatusCommitted);
+ }
+ catch (OBJECT_NOT_EXIST objectNotExist)
+ {
+ }
+ catch (Exception exception)
+ {
+ System.err.println("ServiceImpl05.check_oper: " + exception);
+ exception.printStackTrace(System.err);
+ correct = false;
+ }
+ }
+
+ return correct;
+ }
+
+ public boolean is_correct()
+ {
+ return _isCorrect;
+ }
+
+ public ResourceTrace get_resource_trace(int resource_number)
+ {
+ if ((resource_number < 0) || (resource_number >= _resourceImpl.length))
+ {
+ return ResourceTrace.ResourceTraceUnknown;
+ }
+ else
+ {
+ return _resourceImpl[resource_number].getTrace();
+ }
+ }
+
+ private int _objectNumber;
+ private boolean _isCorrect = true;
+
+ private ResourceImpl01[] _resourceImpl = null;
+ private Resource[] _resource = null;
+ private RecoveryCoordinator[] _recoveryCoordinator = null;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Impls/ServiceImpl06.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Impls/ServiceImpl06.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Impls/ServiceImpl06.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,162 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: ServiceImpl06.java,v 1.2 2003/06/26 11:43:28 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.CrashRecovery04Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ServiceImpl06.java,v 1.2 2003/06/26 11:43:28 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ServiceImpl06.java,v 1.2 2003/06/26 11:43:28 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery04.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.omg.CORBA.OBJECT_NOT_EXIST;
+import org.omg.CosTransactions.*;
+
+public class ServiceImpl06 implements ServiceOperations
+{
+ public ServiceImpl06(int objectNumber)
+ {
+ _objectNumber = objectNumber;
+ }
+
+ public void setup_oper(Control ctrl, int number_of_resources)
+ {
+ _resourceImpl = new ResourceImpl01[number_of_resources];
+ _resource = new Resource[number_of_resources];
+ _recoveryCoordinator = new RecoveryCoordinator[number_of_resources];
+
+ try
+ {
+ com.arjuna.ats.jts.ExplicitInterposition interposition = new com.arjuna.ats.jts.ExplicitInterposition();
+
+ interposition.registerTransaction(ctrl);
+
+ for (int index = 0; index < number_of_resources; index++)
+ {
+ _resourceImpl[index] = new ResourceImpl01(_objectNumber, index);
+ ResourcePOATie servant = new ResourcePOATie(_resourceImpl[index]);
+
+ OAInterface.objectIsReady(servant);
+ _resource[index] = ResourceHelper.narrow(OAInterface.corbaReference(servant));
+
+ _recoveryCoordinator[index] = OTS.current().get_control().get_coordinator().register_resource(_resource[index]);
+ }
+
+ interposition.unregisterTransaction();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("ServiceImpl06.setup_oper: " + exception);
+ exception.printStackTrace(System.err);
+ _isCorrect = false;
+ }
+ catch (Error error)
+ {
+ System.err.println("ServiceImpl06.setup_oper: " + error);
+ error.printStackTrace(System.err);
+ _isCorrect = false;
+ }
+ }
+
+ public boolean check_oper()
+ {
+ boolean correct = true;
+
+ for (int index = 0; index < _recoveryCoordinator.length; index++)
+ {
+ try
+ {
+ Status status = _recoveryCoordinator[index].replay_completion(_resource[index]);
+ correct = correct && (status == Status.StatusRolledBack);
+ }
+ catch (OBJECT_NOT_EXIST objectNotExist)
+ {
+ }
+ catch (Exception exception)
+ {
+ System.err.println("ServiceImpl06.check_oper: " + exception);
+ exception.printStackTrace(System.err);
+ correct = false;
+ }
+ }
+
+ return correct;
+ }
+
+ public boolean is_correct()
+ {
+ return _isCorrect;
+ }
+
+ public ResourceTrace get_resource_trace(int resource_number)
+ {
+ if ((resource_number < 0) || (resource_number >= _resourceImpl.length))
+ {
+ return ResourceTrace.ResourceTraceUnknown;
+ }
+ else
+ {
+ return _resourceImpl[resource_number].getTrace();
+ }
+ }
+
+ private int _objectNumber;
+ private boolean _isCorrect = true;
+
+ private ResourceImpl01[] _resourceImpl = null;
+ private Resource[] _resource = null;
+ private RecoveryCoordinator[] _recoveryCoordinator = null;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Servers/Server01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Servers/Server01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Servers/Server01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,94 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.CrashRecovery04Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server01.java,v 1.2 2003/06/26 11:43:29 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server01.java,v 1.2 2003/06/26 11:43:29 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery04.*;
+import org.jboss.jbossts.qa.CrashRecovery04Impls.ServiceImpl01;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server01
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ ServiceImpl01 serviceImpl = new ServiceImpl01(0);
+ ServicePOATie servant = new ServicePOATie(serviceImpl);
+
+ OAInterface.objectIsReady(servant);
+ Service service = ServiceHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(service));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Servers/Server02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Servers/Server02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Servers/Server02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,94 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.CrashRecovery04Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server02.java,v 1.2 2003/06/26 11:43:29 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server02.java,v 1.2 2003/06/26 11:43:29 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery04.*;
+import org.jboss.jbossts.qa.CrashRecovery04Impls.ServiceImpl03;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server02
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ ServiceImpl03 serviceImpl = new ServiceImpl03(0);
+ ServicePOATie servant = new ServicePOATie(serviceImpl);
+
+ OAInterface.objectIsReady(servant);
+ Service service = ServiceHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(service));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server02.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Servers/Server03.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Servers/Server03.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Servers/Server03.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,94 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.CrashRecovery04Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server03.java,v 1.2 2003/06/26 11:43:29 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server03.java,v 1.2 2003/06/26 11:43:29 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery04.*;
+import org.jboss.jbossts.qa.CrashRecovery04Impls.ServiceImpl03;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server03
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ ServiceImpl03 serviceImpl = new ServiceImpl03(0);
+ ServicePOATie servant = new ServicePOATie(serviceImpl);
+
+ OAInterface.objectIsReady(servant);
+ Service service = ServiceHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(service));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server03.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Servers/Server04.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Servers/Server04.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Servers/Server04.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,101 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.CrashRecovery04Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server04.java,v 1.2 2003/06/26 11:43:29 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server04.java,v 1.2 2003/06/26 11:43:29 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery04.*;
+import org.jboss.jbossts.qa.CrashRecovery04Impls.ServiceImpl01;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server04
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ ServiceImpl01 serviceImpl1 = new ServiceImpl01(0);
+ ServiceImpl01 serviceImpl2 = new ServiceImpl01(1);
+
+ ServicePOATie servant1 = new ServicePOATie(serviceImpl1);
+ ServicePOATie servant2 = new ServicePOATie(serviceImpl2);
+
+ OAInterface.objectIsReady(servant1);
+ Service service1 = ServiceHelper.narrow(OAInterface.corbaReference(servant1));
+
+ OAInterface.objectIsReady(servant2);
+ Service service2 = ServiceHelper.narrow(OAInterface.corbaReference(servant2));
+
+ ServerIORStore.storeIOR(args[args.length - 2], ORBInterface.orb().object_to_string(service1));
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(service2));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server04.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Servers/Server05.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Servers/Server05.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Servers/Server05.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,101 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.CrashRecovery04Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server05.java,v 1.2 2003/06/26 11:43:29 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server05.java,v 1.2 2003/06/26 11:43:29 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery04.*;
+import org.jboss.jbossts.qa.CrashRecovery04Impls.ServiceImpl03;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server05
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ ServiceImpl03 serviceImpl1 = new ServiceImpl03(0);
+ ServiceImpl03 serviceImpl2 = new ServiceImpl03(1);
+
+ ServicePOATie servant1 = new ServicePOATie(serviceImpl1);
+ ServicePOATie servant2 = new ServicePOATie(serviceImpl2);
+
+ OAInterface.objectIsReady(servant1);
+ Service service1 = ServiceHelper.narrow(OAInterface.corbaReference(servant1));
+
+ OAInterface.objectIsReady(servant2);
+ Service service2 = ServiceHelper.narrow(OAInterface.corbaReference(servant2));
+
+ ServerIORStore.storeIOR(args[args.length - 2], ORBInterface.orb().object_to_string(service1));
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(service2));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server05.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Servers/Server06.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Servers/Server06.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Servers/Server06.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,101 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.CrashRecovery04Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server06.java,v 1.2 2003/06/26 11:43:29 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server06.java,v 1.2 2003/06/26 11:43:29 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery04.*;
+import org.jboss.jbossts.qa.CrashRecovery04Impls.ServiceImpl03;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server06
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ ServiceImpl03 serviceImpl1 = new ServiceImpl03(0);
+ ServiceImpl03 serviceImpl2 = new ServiceImpl03(1);
+
+ ServicePOATie servant1 = new ServicePOATie(serviceImpl1);
+ ServicePOATie servant2 = new ServicePOATie(serviceImpl2);
+
+ OAInterface.objectIsReady(servant1);
+ Service service1 = ServiceHelper.narrow(OAInterface.corbaReference(servant1));
+
+ OAInterface.objectIsReady(servant2);
+ Service service2 = ServiceHelper.narrow(OAInterface.corbaReference(servant2));
+
+ ServerIORStore.storeIOR(args[args.length - 2], ORBInterface.orb().object_to_string(service1));
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(service2));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server06.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Servers/Server07.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Servers/Server07.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Servers/Server07.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,94 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.CrashRecovery04Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server07.java,v 1.2 2003/06/26 11:43:29 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server07.java,v 1.2 2003/06/26 11:43:29 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery04.*;
+import org.jboss.jbossts.qa.CrashRecovery04Impls.ServiceImpl04;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server07
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ ServiceImpl04 serviceImpl = new ServiceImpl04(0);
+ ServicePOATie servant = new ServicePOATie(serviceImpl);
+
+ OAInterface.objectIsReady(servant);
+ Service service = ServiceHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(service));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server07.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Servers/Server08.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Servers/Server08.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Servers/Server08.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,94 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.CrashRecovery04Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server08.java,v 1.2 2003/06/26 11:43:29 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server08.java,v 1.2 2003/06/26 11:43:29 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery04.*;
+import org.jboss.jbossts.qa.CrashRecovery04Impls.ServiceImpl06;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server08
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ ServiceImpl06 serviceImpl = new ServiceImpl06(0);
+ ServicePOATie servant = new ServicePOATie(serviceImpl);
+
+ OAInterface.objectIsReady(servant);
+ Service service = ServiceHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(service));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server08.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Servers/Server09.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Servers/Server09.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Servers/Server09.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,94 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.CrashRecovery04Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server09.java,v 1.2 2003/06/26 11:43:29 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server09.java,v 1.2 2003/06/26 11:43:29 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery04.*;
+import org.jboss.jbossts.qa.CrashRecovery04Impls.ServiceImpl06;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server09
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ ServiceImpl06 serviceImpl = new ServiceImpl06(0);
+ ServicePOATie servant = new ServicePOATie(serviceImpl);
+
+ OAInterface.objectIsReady(servant);
+ Service service = ServiceHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(service));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server09.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Servers/Server10.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Servers/Server10.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Servers/Server10.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,101 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.CrashRecovery04Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server10.java,v 1.2 2003/06/26 11:43:29 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server10.java,v 1.2 2003/06/26 11:43:29 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery04.*;
+import org.jboss.jbossts.qa.CrashRecovery04Impls.ServiceImpl04;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server10
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ ServiceImpl04 serviceImpl1 = new ServiceImpl04(0);
+ ServiceImpl04 serviceImpl2 = new ServiceImpl04(1);
+
+ ServicePOATie servant1 = new ServicePOATie(serviceImpl1);
+ ServicePOATie servant2 = new ServicePOATie(serviceImpl2);
+
+ OAInterface.objectIsReady(servant1);
+ Service service1 = ServiceHelper.narrow(OAInterface.corbaReference(servant1));
+
+ OAInterface.objectIsReady(servant2);
+ Service service2 = ServiceHelper.narrow(OAInterface.corbaReference(servant2));
+
+ ServerIORStore.storeIOR(args[args.length - 2], ORBInterface.orb().object_to_string(service1));
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(service2));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server10.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Servers/Server11.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Servers/Server11.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Servers/Server11.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,101 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.CrashRecovery04Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server11.java,v 1.2 2003/06/26 11:43:29 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server11.java,v 1.2 2003/06/26 11:43:29 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery04.*;
+import org.jboss.jbossts.qa.CrashRecovery04Impls.ServiceImpl06;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server11
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ ServiceImpl06 serviceImpl1 = new ServiceImpl06(0);
+ ServiceImpl06 serviceImpl2 = new ServiceImpl06(1);
+
+ ServicePOATie servant1 = new ServicePOATie(serviceImpl1);
+ ServicePOATie servant2 = new ServicePOATie(serviceImpl2);
+
+ OAInterface.objectIsReady(servant1);
+ Service service1 = ServiceHelper.narrow(OAInterface.corbaReference(servant1));
+
+ OAInterface.objectIsReady(servant2);
+ Service service2 = ServiceHelper.narrow(OAInterface.corbaReference(servant2));
+
+ ServerIORStore.storeIOR(args[args.length - 2], ORBInterface.orb().object_to_string(service1));
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(service2));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server11.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Servers/Server12.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Servers/Server12.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery04Servers/Server12.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,101 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.CrashRecovery04Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server12.java,v 1.2 2003/06/26 11:43:29 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server12.java,v 1.2 2003/06/26 11:43:29 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery04.*;
+import org.jboss.jbossts.qa.CrashRecovery04Impls.ServiceImpl06;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server12
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ ServiceImpl06 serviceImpl1 = new ServiceImpl06(0);
+ ServiceImpl06 serviceImpl2 = new ServiceImpl06(1);
+
+ ServicePOATie servant1 = new ServicePOATie(serviceImpl1);
+ ServicePOATie servant2 = new ServicePOATie(serviceImpl2);
+
+ OAInterface.objectIsReady(servant1);
+ Service service1 = ServiceHelper.narrow(OAInterface.corbaReference(servant1));
+
+ OAInterface.objectIsReady(servant2);
+ Service service2 = ServiceHelper.narrow(OAInterface.corbaReference(servant2));
+
+ ServerIORStore.storeIOR(args[args.length - 2], ORBInterface.orb().object_to_string(service1));
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(service2));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server12.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients1/Client01a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients1/Client01a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients1/Client01a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,126 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Clients1;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client01a.java,v 1.2 2003/06/26 11:43:30 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client01a.java,v 1.2 2003/06/26 11:43:30 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.CrashRecovery05Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client01a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ CheckBehavior[] checkBehaviors = new CheckBehavior[1];
+ checkBehaviors[0] = new CheckBehavior();
+ checkBehaviors[0].allow_done = false;
+ checkBehaviors[0].allow_returned_prepared = false;
+ checkBehaviors[0].allow_returned_committing = true;
+ checkBehaviors[0].allow_returned_committed = true;
+ checkBehaviors[0].allow_returned_rolledback = true;
+ checkBehaviors[0].allow_raised_not_prepared = false;
+
+ boolean correct = true;
+
+ service.setup_oper(1);
+
+ correct = service.check_oper(checkBehaviors) && service.is_correct();
+
+ Thread.sleep(Delays.replyCompletionDelay());
+
+ ResourceTrace resourceTrace = service.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace == ResourceTrace.ResourceTraceCommit) || (resourceTrace == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client01a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client01a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients1/Client01b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients1/Client01b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients1/Client01b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,127 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Clients1;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client01b.java,v 1.2 2003/06/26 11:43:30 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client01b.java,v 1.2 2003/06/26 11:43:30 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client01b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ ResourceBehavior[] resourceBehaviors = new ResourceBehavior[1];
+ resourceBehaviors[0] = new ResourceBehavior();
+ resourceBehaviors[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInCommitOnePhase;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service.setup_oper(OTS.current().get_control(), resourceBehaviors);
+
+ correct = service.is_correct();
+
+ try
+ {
+ OTS.current().commit(true);
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client01b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client01b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients1/Client02a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients1/Client02a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients1/Client02a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,126 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Clients1;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client02a.java,v 1.2 2003/06/26 11:43:30 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client02a.java,v 1.2 2003/06/26 11:43:30 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.CrashRecovery05Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client02a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ CheckBehavior[] checkBehaviors = new CheckBehavior[1];
+ checkBehaviors[0] = new CheckBehavior();
+ checkBehaviors[0].allow_done = false;
+ checkBehaviors[0].allow_returned_prepared = false;
+ checkBehaviors[0].allow_returned_committing = true;
+ checkBehaviors[0].allow_returned_committed = true;
+ checkBehaviors[0].allow_returned_rolledback = true;
+ checkBehaviors[0].allow_raised_not_prepared = false;
+
+ boolean correct = true;
+
+ service.setup_oper(1);
+
+ correct = service.check_oper(checkBehaviors) && service.is_correct();
+
+ Thread.sleep(Delays.replyCompletionDelay());
+
+ ResourceTrace resourceTrace = service.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace == ResourceTrace.ResourceTraceCommit) || (resourceTrace == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client02a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client02a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients1/Client02b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients1/Client02b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients1/Client02b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,119 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Clients1;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client02b.java,v 1.2 2003/06/26 11:43:30 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client02b.java,v 1.2 2003/06/26 11:43:30 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client02b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ ResourceBehavior[] resourceBehaviors = new ResourceBehavior[1];
+ resourceBehaviors[0] = new ResourceBehavior();
+ resourceBehaviors[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInCommitOnePhase;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service.setup_oper(OTS.current().get_control(), resourceBehaviors);
+
+ correct = service.is_correct();
+
+ OTS.current().commit(false);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client02b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client02b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients1/Client03a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients1/Client03a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients1/Client03a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,126 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Clients1;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client03a.java,v 1.2 2003/06/26 11:43:30 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client03a.java,v 1.2 2003/06/26 11:43:30 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.CrashRecovery05Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client03a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ CheckBehavior[] checkBehaviors = new CheckBehavior[1];
+ checkBehaviors[0] = new CheckBehavior();
+ checkBehaviors[0].allow_done = false;
+ checkBehaviors[0].allow_returned_prepared = false;
+ checkBehaviors[0].allow_returned_committing = false;
+ checkBehaviors[0].allow_returned_committed = false;
+ checkBehaviors[0].allow_returned_rolledback = true;
+ checkBehaviors[0].allow_raised_not_prepared = false;
+
+ boolean correct = true;
+
+ service.setup_oper(1);
+
+ correct = service.check_oper(checkBehaviors) && service.is_correct();
+
+ Thread.sleep(Delays.replyCompletionDelay());
+
+ ResourceTrace resourceTrace = service.get_resource_trace(0);
+
+ correct = correct && (resourceTrace == ResourceTrace.ResourceTraceRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client03a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client03a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients1/Client03b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients1/Client03b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients1/Client03b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,119 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Clients1;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client03b.java,v 1.2 2003/06/26 11:43:30 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client03b.java,v 1.2 2003/06/26 11:43:30 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client03b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ ResourceBehavior[] resourceBehaviors = new ResourceBehavior[1];
+ resourceBehaviors[0] = new ResourceBehavior();
+ resourceBehaviors[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInRollback;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service.setup_oper(OTS.current().get_control(), resourceBehaviors);
+
+ correct = service.is_correct();
+
+ OTS.current().rollback();
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client03b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client03b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients1/Client04a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients1/Client04a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients1/Client04a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,126 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Clients1;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client04a.java,v 1.2 2003/06/26 11:43:30 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client04a.java,v 1.2 2003/06/26 11:43:30 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.CrashRecovery05Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client04a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ CheckBehavior[] checkBehaviors = new CheckBehavior[1];
+ checkBehaviors[0] = new CheckBehavior();
+ checkBehaviors[0].allow_done = false;
+ checkBehaviors[0].allow_returned_prepared = false;
+ checkBehaviors[0].allow_returned_committing = false;
+ checkBehaviors[0].allow_returned_committed = false;
+ checkBehaviors[0].allow_returned_rolledback = true;
+ checkBehaviors[0].allow_raised_not_prepared = false;
+
+ boolean correct = true;
+
+ service.setup_oper(1);
+
+ correct = service.check_oper(checkBehaviors) && service.is_correct();
+
+ Thread.sleep(Delays.replyCompletionDelay());
+
+ ResourceTrace resourceTrace = service.get_resource_trace(0);
+
+ correct = correct && (resourceTrace == ResourceTrace.ResourceTraceRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client04a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client04a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients1/Client04b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients1/Client04b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients1/Client04b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,129 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Clients1;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client04b.java,v 1.2 2003/06/26 11:43:30 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client04b.java,v 1.2 2003/06/26 11:43:30 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client04b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ ResourceBehavior[] resourceBehaviors = new ResourceBehavior[1];
+ resourceBehaviors[0] = new ResourceBehavior();
+ resourceBehaviors[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInRollback;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service.setup_oper(OTS.current().get_control(), resourceBehaviors);
+
+ correct = service.is_correct();
+
+ OTS.current().rollback_only();
+
+ try
+ {
+ OTS.current().commit(true);
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client04b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client04b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients1/Client05a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients1/Client05a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients1/Client05a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,126 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Clients1;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client05a.java,v 1.2 2003/06/26 11:43:30 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client05a.java,v 1.2 2003/06/26 11:43:30 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.CrashRecovery05Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client05a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ CheckBehavior[] checkBehaviors = new CheckBehavior[1];
+ checkBehaviors[0] = new CheckBehavior();
+ checkBehaviors[0].allow_done = false;
+ checkBehaviors[0].allow_returned_prepared = false;
+ checkBehaviors[0].allow_returned_committing = false;
+ checkBehaviors[0].allow_returned_committed = false;
+ checkBehaviors[0].allow_returned_rolledback = true;
+ checkBehaviors[0].allow_raised_not_prepared = false;
+
+ boolean correct = true;
+
+ service.setup_oper(1);
+
+ correct = service.check_oper(checkBehaviors) && service.is_correct();
+
+ Thread.sleep(Delays.replyCompletionDelay());
+
+ ResourceTrace resourceTrace = service.get_resource_trace(0);
+
+ correct = correct && (resourceTrace == ResourceTrace.ResourceTraceRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client05a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client05a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients1/Client05b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients1/Client05b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients1/Client05b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,129 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Clients1;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client05b.java,v 1.2 2003/06/26 11:43:30 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client05b.java,v 1.2 2003/06/26 11:43:30 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client05b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ ResourceBehavior[] resourceBehaviors = new ResourceBehavior[1];
+ resourceBehaviors[0] = new ResourceBehavior();
+ resourceBehaviors[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInRollback;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service.setup_oper(OTS.current().get_control(), resourceBehaviors);
+
+ correct = service.is_correct();
+
+ OTS.current().rollback_only();
+
+ try
+ {
+ OTS.current().commit(false);
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client05b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client05b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client01a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client01a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client01a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client01a.java,v 1.2 2003/06/26 11:43:31 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client01a.java,v 1.2 2003/06/26 11:43:31 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.CrashRecovery05Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client01a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ AfterCrashService service1 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service2 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ CheckBehavior[] checkBehaviors1 = new CheckBehavior[1];
+ checkBehaviors1[0] = new CheckBehavior();
+ checkBehaviors1[0].allow_done = true;
+ checkBehaviors1[0].allow_returned_prepared = true;
+ checkBehaviors1[0].allow_returned_committing = true;
+ checkBehaviors1[0].allow_returned_committed = true;
+ checkBehaviors1[0].allow_returned_rolledback = false;
+ checkBehaviors1[0].allow_raised_not_prepared = false;
+
+ CheckBehavior[] checkBehaviors2 = new CheckBehavior[1];
+ checkBehaviors2[0] = new CheckBehavior();
+ checkBehaviors2[0].allow_done = false;
+ checkBehaviors2[0].allow_returned_prepared = true;
+ checkBehaviors2[0].allow_returned_committing = true;
+ checkBehaviors2[0].allow_returned_committed = true;
+ checkBehaviors2[0].allow_returned_rolledback = false;
+ checkBehaviors2[0].allow_raised_not_prepared = false;
+
+ boolean correct = true;
+
+ service1.setup_oper(1);
+ service2.setup_oper(1);
+
+ correct = correct && service1.check_oper(checkBehaviors1);
+ correct = correct && service2.check_oper(checkBehaviors2);
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ Thread.sleep(Delays.replyCompletionDelay());
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTraceNone) || (resourceTrace1 == ResourceTrace.ResourceTraceCommit));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceCommit);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client01a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client01a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client01b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client01b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client01b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,135 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client01b.java,v 1.2 2003/06/26 11:43:31 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client01b.java,v 1.2 2003/06/26 11:43:31 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client01b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ BeforeCrashService service1 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service2 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].crash_behavior = CrashBehavior.CrashBehaviorNoCrash;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInCommit;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.setup_oper(OTS.current().get_control(), resourceBehaviors1);
+ service2.setup_oper(OTS.current().get_control(), resourceBehaviors2);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ try
+ {
+ OTS.current().commit(true);
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client01b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client01b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client02a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client02a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client02a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client02a.java,v 1.2 2003/06/26 11:43:31 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client02a.java,v 1.2 2003/06/26 11:43:31 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.CrashRecovery05Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client02a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ AfterCrashService service1 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service2 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ CheckBehavior[] checkBehaviors1 = new CheckBehavior[1];
+ checkBehaviors1[0] = new CheckBehavior();
+ checkBehaviors1[0].allow_done = false;
+ checkBehaviors1[0].allow_returned_prepared = true;
+ checkBehaviors1[0].allow_returned_committing = true;
+ checkBehaviors1[0].allow_returned_committed = true;
+ checkBehaviors1[0].allow_returned_rolledback = false;
+ checkBehaviors1[0].allow_raised_not_prepared = false;
+
+ CheckBehavior[] checkBehaviors2 = new CheckBehavior[1];
+ checkBehaviors2[0] = new CheckBehavior();
+ checkBehaviors2[0].allow_done = true;
+ checkBehaviors2[0].allow_returned_prepared = true;
+ checkBehaviors2[0].allow_returned_committing = true;
+ checkBehaviors2[0].allow_returned_committed = true;
+ checkBehaviors2[0].allow_returned_rolledback = false;
+ checkBehaviors2[0].allow_raised_not_prepared = false;
+
+ boolean correct = true;
+
+ service1.setup_oper(1);
+ service2.setup_oper(1);
+
+ correct = correct && service1.check_oper(checkBehaviors1);
+ correct = correct && service2.check_oper(checkBehaviors2);
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ Thread.sleep(Delays.replyCompletionDelay());
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceCommit);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTraceNone) || (resourceTrace2 == ResourceTrace.ResourceTraceCommit));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client02a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client02a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client02b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client02b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client02b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,135 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client02b.java,v 1.2 2003/06/26 11:43:31 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client02b.java,v 1.2 2003/06/26 11:43:31 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client02b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ BeforeCrashService service1 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service2 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInCommit;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].crash_behavior = CrashBehavior.CrashBehaviorNoCrash;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.setup_oper(OTS.current().get_control(), resourceBehaviors1);
+ service2.setup_oper(OTS.current().get_control(), resourceBehaviors2);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ try
+ {
+ OTS.current().commit(true);
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client02b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client02b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client03a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client03a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client03a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client03a.java,v 1.2 2003/06/26 11:43:31 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client03a.java,v 1.2 2003/06/26 11:43:31 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.CrashRecovery05Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client03a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ AfterCrashService service1 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service2 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ CheckBehavior[] checkBehaviors1 = new CheckBehavior[1];
+ checkBehaviors1[0] = new CheckBehavior();
+ checkBehaviors1[0].allow_done = false;
+ checkBehaviors1[0].allow_returned_prepared = true;
+ checkBehaviors1[0].allow_returned_committing = true;
+ checkBehaviors1[0].allow_returned_committed = true;
+ checkBehaviors1[0].allow_returned_rolledback = false;
+ checkBehaviors1[0].allow_raised_not_prepared = false;
+
+ CheckBehavior[] checkBehaviors2 = new CheckBehavior[1];
+ checkBehaviors2[0] = new CheckBehavior();
+ checkBehaviors2[0].allow_done = false;
+ checkBehaviors2[0].allow_returned_prepared = true;
+ checkBehaviors2[0].allow_returned_committing = true;
+ checkBehaviors2[0].allow_returned_committed = true;
+ checkBehaviors2[0].allow_returned_rolledback = false;
+ checkBehaviors2[0].allow_raised_not_prepared = false;
+
+ boolean correct = true;
+
+ service1.setup_oper(1);
+ service2.setup_oper(1);
+
+ correct = correct && service1.check_oper(checkBehaviors1);
+ correct = correct && service2.check_oper(checkBehaviors2);
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ Thread.sleep(Delays.replyCompletionDelay());
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceCommit);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceCommit);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client03a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client03a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client03b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client03b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client03b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,135 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client03b.java,v 1.2 2003/06/26 11:43:31 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client03b.java,v 1.2 2003/06/26 11:43:31 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client03b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ BeforeCrashService service1 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service2 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInCommit;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInCommit;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.setup_oper(OTS.current().get_control(), resourceBehaviors1);
+ service2.setup_oper(OTS.current().get_control(), resourceBehaviors2);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ try
+ {
+ OTS.current().commit(true);
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client03b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client03b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client04a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client04a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client04a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client04a.java,v 1.2 2003/06/26 11:43:31 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client04a.java,v 1.2 2003/06/26 11:43:31 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.CrashRecovery05Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client04a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ AfterCrashService service1 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service2 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ CheckBehavior[] checkBehaviors1 = new CheckBehavior[1];
+ checkBehaviors1[0] = new CheckBehavior();
+ checkBehaviors1[0].allow_done = true;
+ checkBehaviors1[0].allow_returned_prepared = true;
+ checkBehaviors1[0].allow_returned_committing = true;
+ checkBehaviors1[0].allow_returned_committed = true;
+ checkBehaviors1[0].allow_returned_rolledback = false;
+ checkBehaviors1[0].allow_raised_not_prepared = false;
+
+ CheckBehavior[] checkBehaviors2 = new CheckBehavior[1];
+ checkBehaviors2[0] = new CheckBehavior();
+ checkBehaviors2[0].allow_done = false;
+ checkBehaviors2[0].allow_returned_prepared = true;
+ checkBehaviors2[0].allow_returned_committing = true;
+ checkBehaviors2[0].allow_returned_committed = true;
+ checkBehaviors2[0].allow_returned_rolledback = false;
+ checkBehaviors2[0].allow_raised_not_prepared = false;
+
+ boolean correct = true;
+
+ service1.setup_oper(1);
+ service2.setup_oper(1);
+
+ correct = correct && service1.check_oper(checkBehaviors1);
+ correct = correct && service2.check_oper(checkBehaviors2);
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ Thread.sleep(Delays.replyCompletionDelay());
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTraceNone) || (resourceTrace1 == ResourceTrace.ResourceTraceCommit));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceCommit);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client04a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client04a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client04b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client04b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client04b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,128 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client04b.java,v 1.2 2003/06/26 11:43:31 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client04b.java,v 1.2 2003/06/26 11:43:31 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client04b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ BeforeCrashService service1 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service2 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].crash_behavior = CrashBehavior.CrashBehaviorNoCrash;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInCommit;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.setup_oper(OTS.current().get_control(), resourceBehaviors1);
+ service2.setup_oper(OTS.current().get_control(), resourceBehaviors2);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ OTS.current().commit(false);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client04b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client04b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client05a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client05a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client05a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client05a.java,v 1.2 2003/06/26 11:43:32 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client05a.java,v 1.2 2003/06/26 11:43:32 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.CrashRecovery05Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client05a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ AfterCrashService service1 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service2 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ CheckBehavior[] checkBehaviors1 = new CheckBehavior[1];
+ checkBehaviors1[0] = new CheckBehavior();
+ checkBehaviors1[0].allow_done = false;
+ checkBehaviors1[0].allow_returned_prepared = true;
+ checkBehaviors1[0].allow_returned_committing = true;
+ checkBehaviors1[0].allow_returned_committed = true;
+ checkBehaviors1[0].allow_returned_rolledback = false;
+ checkBehaviors1[0].allow_raised_not_prepared = false;
+
+ CheckBehavior[] checkBehaviors2 = new CheckBehavior[1];
+ checkBehaviors2[0] = new CheckBehavior();
+ checkBehaviors2[0].allow_done = true;
+ checkBehaviors2[0].allow_returned_prepared = true;
+ checkBehaviors2[0].allow_returned_committing = true;
+ checkBehaviors2[0].allow_returned_committed = true;
+ checkBehaviors2[0].allow_returned_rolledback = false;
+ checkBehaviors2[0].allow_raised_not_prepared = false;
+
+ boolean correct = true;
+
+ service1.setup_oper(1);
+ service2.setup_oper(1);
+
+ correct = correct && service1.check_oper(checkBehaviors1);
+ correct = correct && service2.check_oper(checkBehaviors2);
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ Thread.sleep(Delays.replyCompletionDelay());
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceCommit);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTraceNone) || (resourceTrace2 == ResourceTrace.ResourceTraceCommit));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client05a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client05a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client05b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client05b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client05b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,128 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client05b.java,v 1.2 2003/06/26 11:43:32 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client05b.java,v 1.2 2003/06/26 11:43:32 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client05b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ BeforeCrashService service1 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service2 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInCommit;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].crash_behavior = CrashBehavior.CrashBehaviorNoCrash;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.setup_oper(OTS.current().get_control(), resourceBehaviors1);
+ service2.setup_oper(OTS.current().get_control(), resourceBehaviors2);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ OTS.current().commit(false);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client05b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client05b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client06a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client06a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client06a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client06a.java,v 1.2 2003/06/26 11:43:32 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client06a.java,v 1.2 2003/06/26 11:43:32 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.CrashRecovery05Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client06a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ AfterCrashService service1 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service2 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ CheckBehavior[] checkBehaviors1 = new CheckBehavior[1];
+ checkBehaviors1[0] = new CheckBehavior();
+ checkBehaviors1[0].allow_done = false;
+ checkBehaviors1[0].allow_returned_prepared = true;
+ checkBehaviors1[0].allow_returned_committing = true;
+ checkBehaviors1[0].allow_returned_committed = true;
+ checkBehaviors1[0].allow_returned_rolledback = false;
+ checkBehaviors1[0].allow_raised_not_prepared = false;
+
+ CheckBehavior[] checkBehaviors2 = new CheckBehavior[1];
+ checkBehaviors2[0] = new CheckBehavior();
+ checkBehaviors2[0].allow_done = false;
+ checkBehaviors2[0].allow_returned_prepared = true;
+ checkBehaviors2[0].allow_returned_committing = true;
+ checkBehaviors2[0].allow_returned_committed = true;
+ checkBehaviors2[0].allow_returned_rolledback = false;
+ checkBehaviors2[0].allow_raised_not_prepared = false;
+
+ boolean correct = true;
+
+ service1.setup_oper(1);
+ service2.setup_oper(1);
+
+ correct = correct && service1.check_oper(checkBehaviors1);
+ correct = correct && service2.check_oper(checkBehaviors2);
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ Thread.sleep(Delays.replyCompletionDelay());
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceCommit);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceCommit);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client06a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client06a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client06b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client06b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client06b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,128 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client06b.java,v 1.2 2003/06/26 11:43:32 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client06b.java,v 1.2 2003/06/26 11:43:32 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client06b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ BeforeCrashService service1 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service2 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInCommit;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInCommit;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.setup_oper(OTS.current().get_control(), resourceBehaviors1);
+ service2.setup_oper(OTS.current().get_control(), resourceBehaviors2);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ OTS.current().commit(false);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client06b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client06b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client07a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client07a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client07a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client07a.java,v 1.2 2003/06/26 11:43:32 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client07a.java,v 1.2 2003/06/26 11:43:32 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.CrashRecovery05Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client07a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ AfterCrashService service1 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service2 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ CheckBehavior[] checkBehaviors1 = new CheckBehavior[1];
+ checkBehaviors1[0] = new CheckBehavior();
+ checkBehaviors1[0].allow_done = true;
+ checkBehaviors1[0].allow_returned_prepared = true;
+ checkBehaviors1[0].allow_returned_committing = false;
+ checkBehaviors1[0].allow_returned_committed = false;
+ checkBehaviors1[0].allow_returned_rolledback = true;
+ checkBehaviors1[0].allow_raised_not_prepared = false;
+
+ CheckBehavior[] checkBehaviors2 = new CheckBehavior[1];
+ checkBehaviors2[0] = new CheckBehavior();
+ checkBehaviors2[0].allow_done = false;
+ checkBehaviors2[0].allow_returned_prepared = false;
+ checkBehaviors2[0].allow_returned_committing = false;
+ checkBehaviors2[0].allow_returned_committed = false;
+ checkBehaviors2[0].allow_returned_rolledback = true;
+ checkBehaviors2[0].allow_raised_not_prepared = false;
+
+ boolean correct = true;
+
+ service1.setup_oper(1);
+ service2.setup_oper(1);
+
+ correct = correct && service1.check_oper(checkBehaviors1);
+ correct = correct && service2.check_oper(checkBehaviors2);
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ Thread.sleep(Delays.replyCompletionDelay());
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTraceNone) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client07a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client07a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client07b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client07b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client07b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,140 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client07b.java,v 1.2 2003/06/26 11:43:32 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client07b.java,v 1.2 2003/06/26 11:43:32 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client07b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ BeforeCrashService service1 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service2 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].crash_behavior = CrashBehavior.CrashBehaviorNoCrash;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInPrepare;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.setup_oper(OTS.current().get_control(), resourceBehaviors1);
+ service2.setup_oper(OTS.current().get_control(), resourceBehaviors2);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ try
+ {
+ OTS.current().commit(true);
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client07b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client07b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client08a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client08a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client08a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client08a.java,v 1.2 2003/06/26 11:43:32 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client08a.java,v 1.2 2003/06/26 11:43:32 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.CrashRecovery05Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client08a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ AfterCrashService service1 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service2 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ CheckBehavior[] checkBehaviors1 = new CheckBehavior[1];
+ checkBehaviors1[0] = new CheckBehavior();
+ checkBehaviors1[0].allow_done = false;
+ checkBehaviors1[0].allow_returned_prepared = true;
+ checkBehaviors1[0].allow_returned_committing = false;
+ checkBehaviors1[0].allow_returned_committed = false;
+ checkBehaviors1[0].allow_returned_rolledback = true;
+ checkBehaviors1[0].allow_raised_not_prepared = false;
+
+ CheckBehavior[] checkBehaviors2 = new CheckBehavior[1];
+ checkBehaviors2[0] = new CheckBehavior();
+ checkBehaviors2[0].allow_done = false;
+ checkBehaviors2[0].allow_returned_prepared = false;
+ checkBehaviors2[0].allow_returned_committing = false;
+ checkBehaviors2[0].allow_returned_committed = false;
+ checkBehaviors2[0].allow_returned_rolledback = true;
+ checkBehaviors2[0].allow_raised_not_prepared = false;
+
+ boolean correct = true;
+
+ service1.setup_oper(1);
+ service2.setup_oper(1);
+
+ correct = correct && service1.check_oper(checkBehaviors1);
+ correct = correct && service2.check_oper(checkBehaviors2);
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ Thread.sleep(Delays.replyCompletionDelay());
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceRollback);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client08a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client08a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client08b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client08b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client08b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,140 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client08b.java,v 1.2 2003/06/26 11:43:32 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client08b.java,v 1.2 2003/06/26 11:43:32 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client08b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ BeforeCrashService service1 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service2 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInRollback;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInPrepare;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.setup_oper(OTS.current().get_control(), resourceBehaviors1);
+ service2.setup_oper(OTS.current().get_control(), resourceBehaviors2);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ try
+ {
+ OTS.current().commit(true);
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client08b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client08b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client09a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client09a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client09a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client09a.java,v 1.2 2003/06/26 11:43:32 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client09a.java,v 1.2 2003/06/26 11:43:32 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.CrashRecovery05Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client09a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ AfterCrashService service1 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service2 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ CheckBehavior[] checkBehaviors1 = new CheckBehavior[1];
+ checkBehaviors1[0] = new CheckBehavior();
+ checkBehaviors1[0].allow_done = false;
+ checkBehaviors1[0].allow_returned_prepared = false;
+ checkBehaviors1[0].allow_returned_committing = false;
+ checkBehaviors1[0].allow_returned_committed = false;
+ checkBehaviors1[0].allow_returned_rolledback = true;
+ checkBehaviors1[0].allow_raised_not_prepared = false;
+
+ CheckBehavior[] checkBehaviors2 = new CheckBehavior[1];
+ checkBehaviors2[0] = new CheckBehavior();
+ checkBehaviors2[0].allow_done = true;
+ checkBehaviors2[0].allow_returned_prepared = true;
+ checkBehaviors2[0].allow_returned_committing = false;
+ checkBehaviors2[0].allow_returned_committed = false;
+ checkBehaviors2[0].allow_returned_rolledback = true;
+ checkBehaviors2[0].allow_raised_not_prepared = false;
+
+ boolean correct = true;
+
+ service1.setup_oper(1);
+ service2.setup_oper(1);
+
+ correct = correct && service1.check_oper(checkBehaviors1);
+ correct = correct && service2.check_oper(checkBehaviors2);
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ Thread.sleep(Delays.replyCompletionDelay());
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceRollback);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTraceNone) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client09a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client09a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client09b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client09b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client09b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,140 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client09b.java,v 1.2 2003/06/26 11:43:32 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client09b.java,v 1.2 2003/06/26 11:43:32 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client09b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ BeforeCrashService service1 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service2 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInPrepare;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].crash_behavior = CrashBehavior.CrashBehaviorNoCrash;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.setup_oper(OTS.current().get_control(), resourceBehaviors1);
+ service2.setup_oper(OTS.current().get_control(), resourceBehaviors2);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ try
+ {
+ OTS.current().commit(true);
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client09b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client09b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client10a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client10a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client10a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client10a.java,v 1.2 2003/06/26 11:43:32 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client10a.java,v 1.2 2003/06/26 11:43:32 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.CrashRecovery05Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client10a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ AfterCrashService service1 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service2 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ CheckBehavior[] checkBehaviors1 = new CheckBehavior[1];
+ checkBehaviors1[0] = new CheckBehavior();
+ checkBehaviors1[0].allow_done = false;
+ checkBehaviors1[0].allow_returned_prepared = false;
+ checkBehaviors1[0].allow_returned_committing = false;
+ checkBehaviors1[0].allow_returned_committed = false;
+ checkBehaviors1[0].allow_returned_rolledback = true;
+ checkBehaviors1[0].allow_raised_not_prepared = false;
+
+ CheckBehavior[] checkBehaviors2 = new CheckBehavior[1];
+ checkBehaviors2[0] = new CheckBehavior();
+ checkBehaviors2[0].allow_done = false;
+ checkBehaviors2[0].allow_returned_prepared = true;
+ checkBehaviors2[0].allow_returned_committing = false;
+ checkBehaviors2[0].allow_returned_committed = false;
+ checkBehaviors2[0].allow_returned_rolledback = true;
+ checkBehaviors2[0].allow_raised_not_prepared = false;
+
+ boolean correct = true;
+
+ service1.setup_oper(1);
+ service2.setup_oper(1);
+
+ correct = correct && service1.check_oper(checkBehaviors1);
+ correct = correct && service2.check_oper(checkBehaviors2);
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ Thread.sleep(Delays.replyCompletionDelay());
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceRollback);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client10a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client10a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client10b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client10b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client10b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,140 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client10b.java,v 1.2 2003/06/26 11:43:32 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client10b.java,v 1.2 2003/06/26 11:43:32 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client10b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ BeforeCrashService service1 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service2 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInPrepare;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInRollback;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.setup_oper(OTS.current().get_control(), resourceBehaviors1);
+ service2.setup_oper(OTS.current().get_control(), resourceBehaviors2);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ try
+ {
+ OTS.current().commit(true);
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client10b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client10b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client11a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client11a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client11a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,145 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client11a.java,v 1.2 2003/06/26 11:43:32 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client11a.java,v 1.2 2003/06/26 11:43:32 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.CrashRecovery05Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client11a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ AfterCrashService service1 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service2 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ CheckBehavior[] checkBehaviors1 = new CheckBehavior[1];
+ checkBehaviors1[0] = new CheckBehavior();
+ checkBehaviors1[0].allow_done = true;
+ checkBehaviors1[0].allow_returned_prepared = false;
+ checkBehaviors1[0].allow_returned_committing = false;
+ checkBehaviors1[0].allow_returned_committed = false;
+ checkBehaviors1[0].allow_returned_rolledback = true;
+ checkBehaviors1[0].allow_raised_not_prepared = false;
+
+ CheckBehavior[] checkBehaviors2 = new CheckBehavior[1];
+ checkBehaviors2[0] = new CheckBehavior();
+ checkBehaviors2[0].allow_done = true;
+ checkBehaviors2[0].allow_returned_prepared = false;
+ checkBehaviors2[0].allow_returned_committing = false;
+ checkBehaviors2[0].allow_returned_committed = false;
+ checkBehaviors2[0].allow_returned_rolledback = true;
+ checkBehaviors2[0].allow_raised_not_prepared = false;
+
+ boolean correct = true;
+
+ service1.setup_oper(1);
+ service2.setup_oper(1);
+
+ correct = correct && service1.check_oper(checkBehaviors1);
+ correct = correct && service2.check_oper(checkBehaviors2);
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ Thread.sleep(Delays.replyCompletionDelay());
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTraceNone) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTraceNone) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace1 != ResourceTrace.ResourceTraceNone) || (resourceTrace2 != ResourceTrace.ResourceTraceNone));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client11a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client11a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client11b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client11b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client11b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,140 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client11b.java,v 1.2 2003/06/26 11:43:32 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client11b.java,v 1.2 2003/06/26 11:43:32 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client11b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ BeforeCrashService service1 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service2 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInPrepare;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInPrepare;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.setup_oper(OTS.current().get_control(), resourceBehaviors1);
+ service2.setup_oper(OTS.current().get_control(), resourceBehaviors2);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ try
+ {
+ OTS.current().commit(true);
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client11b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client11b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client12a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client12a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client12a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client12a.java,v 1.2 2003/06/26 11:43:32 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client12a.java,v 1.2 2003/06/26 11:43:32 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.CrashRecovery05Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client12a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ AfterCrashService service1 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service2 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ CheckBehavior[] checkBehaviors1 = new CheckBehavior[1];
+ checkBehaviors1[0] = new CheckBehavior();
+ checkBehaviors1[0].allow_done = true;
+ checkBehaviors1[0].allow_returned_prepared = true;
+ checkBehaviors1[0].allow_returned_committing = false;
+ checkBehaviors1[0].allow_returned_committed = false;
+ checkBehaviors1[0].allow_returned_rolledback = true;
+ checkBehaviors1[0].allow_raised_not_prepared = false;
+
+ CheckBehavior[] checkBehaviors2 = new CheckBehavior[1];
+ checkBehaviors2[0] = new CheckBehavior();
+ checkBehaviors2[0].allow_done = false;
+ checkBehaviors2[0].allow_returned_prepared = false;
+ checkBehaviors2[0].allow_returned_committing = false;
+ checkBehaviors2[0].allow_returned_committed = false;
+ checkBehaviors2[0].allow_returned_rolledback = true;
+ checkBehaviors2[0].allow_raised_not_prepared = false;
+
+ boolean correct = true;
+
+ service1.setup_oper(1);
+ service2.setup_oper(1);
+
+ correct = correct && service1.check_oper(checkBehaviors1);
+ correct = correct && service2.check_oper(checkBehaviors2);
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ Thread.sleep(Delays.replyCompletionDelay());
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTraceNone) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client12a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client12a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client12b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client12b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client12b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,135 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client12b.java,v 1.2 2003/06/26 11:43:32 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client12b.java,v 1.2 2003/06/26 11:43:32 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client12b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ BeforeCrashService service1 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service2 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].crash_behavior = CrashBehavior.CrashBehaviorNoCrash;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInPrepare;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.setup_oper(OTS.current().get_control(), resourceBehaviors1);
+ service2.setup_oper(OTS.current().get_control(), resourceBehaviors2);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ try
+ {
+ OTS.current().commit(false);
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client12b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client12b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client13a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client13a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client13a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client13a.java,v 1.2 2003/06/26 11:43:32 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client13a.java,v 1.2 2003/06/26 11:43:32 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.CrashRecovery05Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client13a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ AfterCrashService service1 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service2 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ CheckBehavior[] checkBehaviors1 = new CheckBehavior[1];
+ checkBehaviors1[0] = new CheckBehavior();
+ checkBehaviors1[0].allow_done = false;
+ checkBehaviors1[0].allow_returned_prepared = true;
+ checkBehaviors1[0].allow_returned_committing = false;
+ checkBehaviors1[0].allow_returned_committed = false;
+ checkBehaviors1[0].allow_returned_rolledback = true;
+ checkBehaviors1[0].allow_raised_not_prepared = false;
+
+ CheckBehavior[] checkBehaviors2 = new CheckBehavior[1];
+ checkBehaviors2[0] = new CheckBehavior();
+ checkBehaviors2[0].allow_done = false;
+ checkBehaviors2[0].allow_returned_prepared = false;
+ checkBehaviors2[0].allow_returned_committing = false;
+ checkBehaviors2[0].allow_returned_committed = false;
+ checkBehaviors2[0].allow_returned_rolledback = true;
+ checkBehaviors2[0].allow_raised_not_prepared = false;
+
+ boolean correct = true;
+
+ service1.setup_oper(1);
+ service2.setup_oper(1);
+
+ correct = correct && service1.check_oper(checkBehaviors1);
+ correct = correct && service2.check_oper(checkBehaviors2);
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ Thread.sleep(Delays.replyCompletionDelay());
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceRollback);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client13a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client13a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client13b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client13b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client13b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,135 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client13b.java,v 1.2 2003/06/26 11:43:32 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client13b.java,v 1.2 2003/06/26 11:43:32 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client13b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ BeforeCrashService service1 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service2 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInRollback;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInPrepare;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.setup_oper(OTS.current().get_control(), resourceBehaviors1);
+ service2.setup_oper(OTS.current().get_control(), resourceBehaviors2);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ try
+ {
+ OTS.current().commit(false);
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client13b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client13b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client14a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client14a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client14a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client14a.java,v 1.2 2003/06/26 11:43:32 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client14a.java,v 1.2 2003/06/26 11:43:32 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.CrashRecovery05Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client14a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ AfterCrashService service1 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service2 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ CheckBehavior[] checkBehaviors1 = new CheckBehavior[1];
+ checkBehaviors1[0] = new CheckBehavior();
+ checkBehaviors1[0].allow_done = false;
+ checkBehaviors1[0].allow_returned_prepared = false;
+ checkBehaviors1[0].allow_returned_committing = false;
+ checkBehaviors1[0].allow_returned_committed = false;
+ checkBehaviors1[0].allow_returned_rolledback = true;
+ checkBehaviors1[0].allow_raised_not_prepared = false;
+
+ CheckBehavior[] checkBehaviors2 = new CheckBehavior[1];
+ checkBehaviors2[0] = new CheckBehavior();
+ checkBehaviors2[0].allow_done = true;
+ checkBehaviors2[0].allow_returned_prepared = true;
+ checkBehaviors2[0].allow_returned_committing = false;
+ checkBehaviors2[0].allow_returned_committed = false;
+ checkBehaviors2[0].allow_returned_rolledback = true;
+ checkBehaviors2[0].allow_raised_not_prepared = false;
+
+ boolean correct = true;
+
+ service1.setup_oper(1);
+ service2.setup_oper(1);
+
+ correct = correct && service1.check_oper(checkBehaviors1);
+ correct = correct && service2.check_oper(checkBehaviors2);
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ Thread.sleep(Delays.replyCompletionDelay());
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceRollback);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTraceNone) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client14a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client14a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client14b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client14b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client14b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,135 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client14b.java,v 1.2 2003/06/26 11:43:33 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client14b.java,v 1.2 2003/06/26 11:43:33 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client14b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ BeforeCrashService service1 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service2 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInPrepare;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].crash_behavior = CrashBehavior.CrashBehaviorNoCrash;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.setup_oper(OTS.current().get_control(), resourceBehaviors1);
+ service2.setup_oper(OTS.current().get_control(), resourceBehaviors2);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ try
+ {
+ OTS.current().commit(false);
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client14b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client14b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client15a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client15a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client15a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client15a.java,v 1.2 2003/06/26 11:43:33 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client15a.java,v 1.2 2003/06/26 11:43:33 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.CrashRecovery05Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client15a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ AfterCrashService service1 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service2 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ CheckBehavior[] checkBehaviors1 = new CheckBehavior[1];
+ checkBehaviors1[0] = new CheckBehavior();
+ checkBehaviors1[0].allow_done = false;
+ checkBehaviors1[0].allow_returned_prepared = false;
+ checkBehaviors1[0].allow_returned_committing = false;
+ checkBehaviors1[0].allow_returned_committed = false;
+ checkBehaviors1[0].allow_returned_rolledback = true;
+ checkBehaviors1[0].allow_raised_not_prepared = false;
+
+ CheckBehavior[] checkBehaviors2 = new CheckBehavior[1];
+ checkBehaviors2[0] = new CheckBehavior();
+ checkBehaviors2[0].allow_done = false;
+ checkBehaviors2[0].allow_returned_prepared = true;
+ checkBehaviors2[0].allow_returned_committing = false;
+ checkBehaviors2[0].allow_returned_committed = false;
+ checkBehaviors2[0].allow_returned_rolledback = true;
+ checkBehaviors2[0].allow_raised_not_prepared = false;
+
+ boolean correct = true;
+
+ service1.setup_oper(1);
+ service2.setup_oper(1);
+
+ correct = correct && service1.check_oper(checkBehaviors1);
+ correct = correct && service2.check_oper(checkBehaviors2);
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ Thread.sleep(Delays.replyCompletionDelay());
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceRollback);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client15a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client15a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client15b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client15b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client15b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,135 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client15b.java,v 1.2 2003/06/26 11:43:33 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client15b.java,v 1.2 2003/06/26 11:43:33 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client15b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ BeforeCrashService service1 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service2 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInPrepare;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInRollback;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.setup_oper(OTS.current().get_control(), resourceBehaviors1);
+ service2.setup_oper(OTS.current().get_control(), resourceBehaviors2);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ try
+ {
+ OTS.current().commit(false);
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client15b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client15b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client16a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client16a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client16a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,146 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client16a.java,v 1.2 2003/06/26 11:43:33 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client16a.java,v 1.2 2003/06/26 11:43:33 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.CrashRecovery05Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client16a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ AfterCrashService service1 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service2 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ CheckBehavior[] checkBehaviors1 = new CheckBehavior[1];
+ checkBehaviors1[0] = new CheckBehavior();
+ checkBehaviors1[0].allow_done = true;
+ checkBehaviors1[0].allow_returned_prepared = false;
+ checkBehaviors1[0].allow_returned_committing = false;
+ checkBehaviors1[0].allow_returned_committed = false;
+ checkBehaviors1[0].allow_returned_rolledback = true;
+ checkBehaviors1[0].allow_raised_not_prepared = false;
+
+ CheckBehavior[] checkBehaviors2 = new CheckBehavior[1];
+ checkBehaviors2[0] = new CheckBehavior();
+ checkBehaviors2[0].allow_done = true;
+ checkBehaviors2[0].allow_returned_prepared = false;
+ checkBehaviors2[0].allow_returned_committing = false;
+ checkBehaviors2[0].allow_returned_committed = false;
+ checkBehaviors2[0].allow_returned_rolledback = true;
+ checkBehaviors2[0].allow_raised_not_prepared = false;
+
+ boolean correct = true;
+
+ service1.setup_oper(1);
+ service2.setup_oper(1);
+
+ correct = correct && service1.check_oper(checkBehaviors1);
+ correct = correct && service2.check_oper(checkBehaviors2);
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ Thread.sleep(Delays.replyCompletionDelay());
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTraceNone) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTraceNone) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace1 != ResourceTrace.ResourceTraceNone) || (resourceTrace2 != ResourceTrace.ResourceTraceNone));
+
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client16a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client16a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client16b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client16b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client16b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,135 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client16b.java,v 1.2 2003/06/26 11:43:33 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client16b.java,v 1.2 2003/06/26 11:43:33 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client16b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ BeforeCrashService service1 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service2 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInPrepare;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInPrepare;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.setup_oper(OTS.current().get_control(), resourceBehaviors1);
+ service2.setup_oper(OTS.current().get_control(), resourceBehaviors2);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ try
+ {
+ OTS.current().commit(false);
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client16b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client16b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client17a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client17a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client17a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client17a.java,v 1.2 2003/06/26 11:43:33 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client17a.java,v 1.2 2003/06/26 11:43:33 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.CrashRecovery05Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client17a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ AfterCrashService service1 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service2 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ CheckBehavior[] checkBehaviors1 = new CheckBehavior[1];
+ checkBehaviors1[0] = new CheckBehavior();
+ checkBehaviors1[0].allow_done = false;
+ checkBehaviors1[0].allow_returned_prepared = false;
+ checkBehaviors1[0].allow_returned_committing = false;
+ checkBehaviors1[0].allow_returned_committed = false;
+ checkBehaviors1[0].allow_returned_rolledback = true;
+ checkBehaviors1[0].allow_raised_not_prepared = false;
+
+ CheckBehavior[] checkBehaviors2 = new CheckBehavior[1];
+ checkBehaviors2[0] = new CheckBehavior();
+ checkBehaviors2[0].allow_done = true;
+ checkBehaviors2[0].allow_returned_prepared = false;
+ checkBehaviors2[0].allow_returned_committing = false;
+ checkBehaviors2[0].allow_returned_committed = false;
+ checkBehaviors2[0].allow_returned_rolledback = true;
+ checkBehaviors2[0].allow_raised_not_prepared = false;
+
+ boolean correct = true;
+
+ service1.setup_oper(1);
+ service2.setup_oper(1);
+
+ correct = correct && service1.check_oper(checkBehaviors1);
+ correct = correct && service2.check_oper(checkBehaviors2);
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ Thread.sleep(Delays.replyCompletionDelay());
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceRollback);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTraceNone) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client17a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client17a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client17b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client17b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client17b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,128 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client17b.java,v 1.2 2003/06/26 11:43:33 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client17b.java,v 1.2 2003/06/26 11:43:33 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client17b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ BeforeCrashService service1 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service2 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInRollback;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].crash_behavior = CrashBehavior.CrashBehaviorNoCrash;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.setup_oper(OTS.current().get_control(), resourceBehaviors1);
+ service2.setup_oper(OTS.current().get_control(), resourceBehaviors2);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ OTS.current().rollback();
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client17b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client17b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client18a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client18a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client18a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client18a.java,v 1.2 2003/06/26 11:43:33 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client18a.java,v 1.2 2003/06/26 11:43:33 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.CrashRecovery05Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client18a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ AfterCrashService service1 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service2 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ CheckBehavior[] checkBehaviors1 = new CheckBehavior[1];
+ checkBehaviors1[0] = new CheckBehavior();
+ checkBehaviors1[0].allow_done = true;
+ checkBehaviors1[0].allow_returned_prepared = false;
+ checkBehaviors1[0].allow_returned_committing = false;
+ checkBehaviors1[0].allow_returned_committed = false;
+ checkBehaviors1[0].allow_returned_rolledback = true;
+ checkBehaviors1[0].allow_raised_not_prepared = false;
+
+ CheckBehavior[] checkBehaviors2 = new CheckBehavior[1];
+ checkBehaviors2[0] = new CheckBehavior();
+ checkBehaviors2[0].allow_done = false;
+ checkBehaviors2[0].allow_returned_prepared = false;
+ checkBehaviors2[0].allow_returned_committing = false;
+ checkBehaviors2[0].allow_returned_committed = false;
+ checkBehaviors2[0].allow_returned_rolledback = true;
+ checkBehaviors2[0].allow_raised_not_prepared = false;
+
+ boolean correct = true;
+
+ service1.setup_oper(1);
+ service2.setup_oper(1);
+
+ correct = correct && service1.check_oper(checkBehaviors1);
+ correct = correct && service2.check_oper(checkBehaviors2);
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ Thread.sleep(Delays.replyCompletionDelay());
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTraceNone) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client18a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client18a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client18b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client18b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client18b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,128 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client18b.java,v 1.2 2003/06/26 11:43:33 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client18b.java,v 1.2 2003/06/26 11:43:33 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client18b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ BeforeCrashService service1 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service2 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].crash_behavior = CrashBehavior.CrashBehaviorNoCrash;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInRollback;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.setup_oper(OTS.current().get_control(), resourceBehaviors1);
+ service2.setup_oper(OTS.current().get_control(), resourceBehaviors2);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ OTS.current().rollback();
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client18b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client18b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client19a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client19a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client19a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client19a.java,v 1.2 2003/06/26 11:43:33 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client19a.java,v 1.2 2003/06/26 11:43:33 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.CrashRecovery05Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client19a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ AfterCrashService service1 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service2 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ CheckBehavior[] checkBehaviors1 = new CheckBehavior[1];
+ checkBehaviors1[0] = new CheckBehavior();
+ checkBehaviors1[0].allow_done = false;
+ checkBehaviors1[0].allow_returned_prepared = false;
+ checkBehaviors1[0].allow_returned_committing = false;
+ checkBehaviors1[0].allow_returned_committed = false;
+ checkBehaviors1[0].allow_returned_rolledback = true;
+ checkBehaviors1[0].allow_raised_not_prepared = false;
+
+ CheckBehavior[] checkBehaviors2 = new CheckBehavior[1];
+ checkBehaviors2[0] = new CheckBehavior();
+ checkBehaviors2[0].allow_done = false;
+ checkBehaviors2[0].allow_returned_prepared = false;
+ checkBehaviors2[0].allow_returned_committing = false;
+ checkBehaviors2[0].allow_returned_committed = false;
+ checkBehaviors2[0].allow_returned_rolledback = true;
+ checkBehaviors2[0].allow_raised_not_prepared = false;
+
+ boolean correct = true;
+
+ service1.setup_oper(1);
+ service2.setup_oper(1);
+
+ correct = correct && service1.check_oper(checkBehaviors1);
+ correct = correct && service2.check_oper(checkBehaviors2);
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ Thread.sleep(Delays.replyCompletionDelay());
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceRollback);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client19a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client19a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client19b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client19b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client19b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,128 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client19b.java,v 1.2 2003/06/26 11:43:33 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client19b.java,v 1.2 2003/06/26 11:43:33 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client19b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ BeforeCrashService service1 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service2 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInRollback;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInRollback;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.setup_oper(OTS.current().get_control(), resourceBehaviors1);
+ service2.setup_oper(OTS.current().get_control(), resourceBehaviors2);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ OTS.current().rollback();
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client19b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client19b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client20a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client20a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client20a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client20a.java,v 1.2 2003/06/26 11:43:33 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client20a.java,v 1.2 2003/06/26 11:43:33 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.CrashRecovery05Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client20a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ AfterCrashService service1 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service2 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ CheckBehavior[] checkBehaviors1 = new CheckBehavior[1];
+ checkBehaviors1[0] = new CheckBehavior();
+ checkBehaviors1[0].allow_done = false;
+ checkBehaviors1[0].allow_returned_prepared = false;
+ checkBehaviors1[0].allow_returned_committing = false;
+ checkBehaviors1[0].allow_returned_committed = false;
+ checkBehaviors1[0].allow_returned_rolledback = true;
+ checkBehaviors1[0].allow_raised_not_prepared = false;
+
+ CheckBehavior[] checkBehaviors2 = new CheckBehavior[1];
+ checkBehaviors2[0] = new CheckBehavior();
+ checkBehaviors2[0].allow_done = true;
+ checkBehaviors2[0].allow_returned_prepared = false;
+ checkBehaviors2[0].allow_returned_committing = false;
+ checkBehaviors2[0].allow_returned_committed = false;
+ checkBehaviors2[0].allow_returned_rolledback = true;
+ checkBehaviors2[0].allow_raised_not_prepared = false;
+
+ boolean correct = true;
+
+ service1.setup_oper(1);
+ service2.setup_oper(1);
+
+ correct = correct && service1.check_oper(checkBehaviors1);
+ correct = correct && service2.check_oper(checkBehaviors2);
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ Thread.sleep(Delays.replyCompletionDelay());
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceRollback);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTraceNone) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client20a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client20a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client20b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client20b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client20b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,138 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client20b.java,v 1.2 2003/06/26 11:43:33 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client20b.java,v 1.2 2003/06/26 11:43:33 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client20b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ BeforeCrashService service1 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service2 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInRollback;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].crash_behavior = CrashBehavior.CrashBehaviorNoCrash;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.setup_oper(OTS.current().get_control(), resourceBehaviors1);
+ service2.setup_oper(OTS.current().get_control(), resourceBehaviors2);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ OTS.current().rollback_only();
+
+ try
+ {
+ OTS.current().commit(true);
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client20b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client20b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client21a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client21a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client21a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client21a.java,v 1.2 2003/06/26 11:43:33 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client21a.java,v 1.2 2003/06/26 11:43:33 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.CrashRecovery05Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client21a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ AfterCrashService service1 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service2 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ CheckBehavior[] checkBehaviors1 = new CheckBehavior[1];
+ checkBehaviors1[0] = new CheckBehavior();
+ checkBehaviors1[0].allow_done = true;
+ checkBehaviors1[0].allow_returned_prepared = false;
+ checkBehaviors1[0].allow_returned_committing = false;
+ checkBehaviors1[0].allow_returned_committed = false;
+ checkBehaviors1[0].allow_returned_rolledback = true;
+ checkBehaviors1[0].allow_raised_not_prepared = false;
+
+ CheckBehavior[] checkBehaviors2 = new CheckBehavior[1];
+ checkBehaviors2[0] = new CheckBehavior();
+ checkBehaviors2[0].allow_done = false;
+ checkBehaviors2[0].allow_returned_prepared = false;
+ checkBehaviors2[0].allow_returned_committing = false;
+ checkBehaviors2[0].allow_returned_committed = false;
+ checkBehaviors2[0].allow_returned_rolledback = true;
+ checkBehaviors2[0].allow_raised_not_prepared = false;
+
+ boolean correct = true;
+
+ service1.setup_oper(1);
+ service2.setup_oper(1);
+
+ correct = correct && service1.check_oper(checkBehaviors1);
+ correct = correct && service2.check_oper(checkBehaviors2);
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ Thread.sleep(Delays.replyCompletionDelay());
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTraceNone) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client21a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client21a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client21b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client21b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client21b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,138 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client21b.java,v 1.2 2003/06/26 11:43:33 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client21b.java,v 1.2 2003/06/26 11:43:33 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client21b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ BeforeCrashService service1 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service2 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].crash_behavior = CrashBehavior.CrashBehaviorNoCrash;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInRollback;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.setup_oper(OTS.current().get_control(), resourceBehaviors1);
+ service2.setup_oper(OTS.current().get_control(), resourceBehaviors2);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ OTS.current().rollback_only();
+
+ try
+ {
+ OTS.current().commit(true);
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client21b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client21b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client22a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client22a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client22a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client22a.java,v 1.2 2003/06/26 11:43:33 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client22a.java,v 1.2 2003/06/26 11:43:33 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.CrashRecovery05Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client22a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ AfterCrashService service1 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service2 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ CheckBehavior[] checkBehaviors1 = new CheckBehavior[1];
+ checkBehaviors1[0] = new CheckBehavior();
+ checkBehaviors1[0].allow_done = false;
+ checkBehaviors1[0].allow_returned_prepared = false;
+ checkBehaviors1[0].allow_returned_committing = false;
+ checkBehaviors1[0].allow_returned_committed = false;
+ checkBehaviors1[0].allow_returned_rolledback = true;
+ checkBehaviors1[0].allow_raised_not_prepared = false;
+
+ CheckBehavior[] checkBehaviors2 = new CheckBehavior[1];
+ checkBehaviors2[0] = new CheckBehavior();
+ checkBehaviors2[0].allow_done = false;
+ checkBehaviors2[0].allow_returned_prepared = false;
+ checkBehaviors2[0].allow_returned_committing = false;
+ checkBehaviors2[0].allow_returned_committed = false;
+ checkBehaviors2[0].allow_returned_rolledback = true;
+ checkBehaviors2[0].allow_raised_not_prepared = false;
+
+ boolean correct = true;
+
+ service1.setup_oper(1);
+ service2.setup_oper(1);
+
+ correct = correct && service1.check_oper(checkBehaviors1);
+ correct = correct && service2.check_oper(checkBehaviors2);
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ Thread.sleep(Delays.replyCompletionDelay());
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceRollback);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client22a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client22a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client22b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client22b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client22b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,138 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client22b.java,v 1.2 2003/06/26 11:43:33 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client22b.java,v 1.2 2003/06/26 11:43:33 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client22b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ BeforeCrashService service1 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service2 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInRollback;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInRollback;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.setup_oper(OTS.current().get_control(), resourceBehaviors1);
+ service2.setup_oper(OTS.current().get_control(), resourceBehaviors2);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ OTS.current().rollback_only();
+
+ try
+ {
+ OTS.current().commit(true);
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client22b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client22b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client23a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client23a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client23a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client23a.java,v 1.2 2003/06/26 11:43:33 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client23a.java,v 1.2 2003/06/26 11:43:33 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.CrashRecovery05Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client23a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ AfterCrashService service1 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service2 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ CheckBehavior[] checkBehaviors1 = new CheckBehavior[1];
+ checkBehaviors1[0] = new CheckBehavior();
+ checkBehaviors1[0].allow_done = false;
+ checkBehaviors1[0].allow_returned_prepared = false;
+ checkBehaviors1[0].allow_returned_committing = false;
+ checkBehaviors1[0].allow_returned_committed = false;
+ checkBehaviors1[0].allow_returned_rolledback = true;
+ checkBehaviors1[0].allow_raised_not_prepared = false;
+
+ CheckBehavior[] checkBehaviors2 = new CheckBehavior[1];
+ checkBehaviors2[0] = new CheckBehavior();
+ checkBehaviors2[0].allow_done = true;
+ checkBehaviors2[0].allow_returned_prepared = false;
+ checkBehaviors2[0].allow_returned_committing = false;
+ checkBehaviors2[0].allow_returned_committed = false;
+ checkBehaviors2[0].allow_returned_rolledback = true;
+ checkBehaviors2[0].allow_raised_not_prepared = false;
+
+ boolean correct = true;
+
+ service1.setup_oper(1);
+ service2.setup_oper(1);
+
+ correct = correct && service1.check_oper(checkBehaviors1);
+ correct = correct && service2.check_oper(checkBehaviors2);
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ Thread.sleep(Delays.replyCompletionDelay());
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceRollback);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTraceNone) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client23a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client23a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client23b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client23b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client23b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,138 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client23b.java,v 1.2 2003/06/26 11:43:33 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client23b.java,v 1.2 2003/06/26 11:43:33 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client23b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ BeforeCrashService service1 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service2 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInRollback;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].crash_behavior = CrashBehavior.CrashBehaviorNoCrash;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.setup_oper(OTS.current().get_control(), resourceBehaviors1);
+ service2.setup_oper(OTS.current().get_control(), resourceBehaviors2);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ OTS.current().rollback_only();
+
+ try
+ {
+ OTS.current().commit(false);
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client23b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client23b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client24a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client24a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client24a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client24a.java,v 1.2 2003/06/26 11:43:34 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client24a.java,v 1.2 2003/06/26 11:43:34 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.CrashRecovery05Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client24a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ AfterCrashService service1 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service2 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ CheckBehavior[] checkBehaviors1 = new CheckBehavior[1];
+ checkBehaviors1[0] = new CheckBehavior();
+ checkBehaviors1[0].allow_done = true;
+ checkBehaviors1[0].allow_returned_prepared = false;
+ checkBehaviors1[0].allow_returned_committing = false;
+ checkBehaviors1[0].allow_returned_committed = false;
+ checkBehaviors1[0].allow_returned_rolledback = true;
+ checkBehaviors1[0].allow_raised_not_prepared = false;
+
+ CheckBehavior[] checkBehaviors2 = new CheckBehavior[1];
+ checkBehaviors2[0] = new CheckBehavior();
+ checkBehaviors2[0].allow_done = false;
+ checkBehaviors2[0].allow_returned_prepared = false;
+ checkBehaviors2[0].allow_returned_committing = false;
+ checkBehaviors2[0].allow_returned_committed = false;
+ checkBehaviors2[0].allow_returned_rolledback = true;
+ checkBehaviors2[0].allow_raised_not_prepared = false;
+
+ boolean correct = true;
+
+ service1.setup_oper(1);
+ service2.setup_oper(1);
+
+ correct = correct && service1.check_oper(checkBehaviors1);
+ correct = correct && service2.check_oper(checkBehaviors2);
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ Thread.sleep(Delays.replyCompletionDelay());
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTraceNone) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client24a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client24a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client24b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client24b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client24b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,138 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client24b.java,v 1.2 2003/06/26 11:43:34 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client24b.java,v 1.2 2003/06/26 11:43:34 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client24b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ BeforeCrashService service1 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service2 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].crash_behavior = CrashBehavior.CrashBehaviorNoCrash;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInRollback;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.setup_oper(OTS.current().get_control(), resourceBehaviors1);
+ service2.setup_oper(OTS.current().get_control(), resourceBehaviors2);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ OTS.current().rollback_only();
+
+ try
+ {
+ OTS.current().commit(false);
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client24b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client24b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client25a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client25a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client25a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client25a.java,v 1.2 2003/06/26 11:43:34 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client25a.java,v 1.2 2003/06/26 11:43:34 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.CrashRecovery05Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client25a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ AfterCrashService service1 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service2 = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ CheckBehavior[] checkBehaviors1 = new CheckBehavior[1];
+ checkBehaviors1[0] = new CheckBehavior();
+ checkBehaviors1[0].allow_done = false;
+ checkBehaviors1[0].allow_returned_prepared = false;
+ checkBehaviors1[0].allow_returned_committing = false;
+ checkBehaviors1[0].allow_returned_committed = false;
+ checkBehaviors1[0].allow_returned_rolledback = true;
+ checkBehaviors1[0].allow_raised_not_prepared = false;
+
+ CheckBehavior[] checkBehaviors2 = new CheckBehavior[1];
+ checkBehaviors2[0] = new CheckBehavior();
+ checkBehaviors2[0].allow_done = false;
+ checkBehaviors2[0].allow_returned_prepared = false;
+ checkBehaviors2[0].allow_returned_committing = false;
+ checkBehaviors2[0].allow_returned_committed = false;
+ checkBehaviors2[0].allow_returned_rolledback = true;
+ checkBehaviors2[0].allow_raised_not_prepared = false;
+
+ boolean correct = true;
+
+ service1.setup_oper(1);
+ service2.setup_oper(1);
+
+ correct = correct && service1.check_oper(checkBehaviors1);
+ correct = correct && service2.check_oper(checkBehaviors2);
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ Thread.sleep(Delays.replyCompletionDelay());
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceRollback);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client25a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client25a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client25b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client25b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Clients2/Client25b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,138 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client25b.java,v 1.2 2003/06/26 11:43:34 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client25b.java,v 1.2 2003/06/26 11:43:34 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client25b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ BeforeCrashService service1 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service2 = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInRollback;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].crash_behavior = CrashBehavior.CrashBehaviorCrashInRollback;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.setup_oper(OTS.current().get_control(), resourceBehaviors1);
+ service2.setup_oper(OTS.current().get_control(), resourceBehaviors2);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ OTS.current().rollback_only();
+
+ try
+ {
+ OTS.current().commit(false);
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client25b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client25b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Impls/AfterCrashServiceImpl01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Impls/AfterCrashServiceImpl01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Impls/AfterCrashServiceImpl01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,181 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: AfterCrashServiceImpl01.java,v 1.5 2003/07/17 11:52:49 jcoleman Exp $
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AfterCrashServiceImpl01.java,v 1.5 2003/07/17 11:52:49 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AfterCrashServiceImpl01.java,v 1.5 2003/07/17 11:52:49 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.*;
+
+public class AfterCrashServiceImpl01 implements AfterCrashServiceOperations
+{
+ public AfterCrashServiceImpl01(int serviceNumber, int objectNumber)
+ {
+ System.out.println("AfterCrashServiceImpl01(" + serviceNumber + ", " + objectNumber + ")");
+ _serviceNumber = serviceNumber;
+ _objectNumber = objectNumber;
+ }
+
+ public void setup_oper(int number_of_resources)
+ {
+ _resourceImpl = new ResourceImpl02[number_of_resources];
+ _resource = new Resource[number_of_resources];
+ _recoveryCoordinator = new RecoveryCoordinator[number_of_resources];
+
+ for (int index = 0; index < number_of_resources; index++)
+ {
+ try
+ {
+ _resourceImpl[index] = new ResourceImpl02(_objectNumber, index);
+ ResourcePOATie servant = new ResourcePOATie(_resourceImpl[index]);
+
+ OAInterface.objectIsReady(servant);
+ _resource[index] = ResourceHelper.narrow(OAInterface.corbaReference(servant));
+
+ System.out.println("AfterCrashServiceImpl01: loading IOR \"RecoveryCoordinator_" + _serviceNumber + "_" + _objectNumber + "_" + index + "\"");
+ String recoveryCoordinatorIOR = ServerIORStore.loadIOR("RecoveryCoordinator_" + _serviceNumber + "_" + _objectNumber + "_" + index);
+
+ if (recoveryCoordinatorIOR != null)
+ {
+ _recoveryCoordinator[index] = RecoveryCoordinatorHelper.narrow(ORBInterface.orb().string_to_object(recoveryCoordinatorIOR));
+ }
+ else
+ {
+ _recoveryCoordinator[index] = null;
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AfterCrashServiceImpl01.setup_oper: " + exception);
+ exception.printStackTrace(System.err);
+ _isCorrect = false;
+ }
+ }
+ }
+
+ public boolean check_oper(CheckBehavior[] check_behaviors)
+ {
+ boolean correct = true;
+
+ for (int index = 0; index < _recoveryCoordinator.length; index++)
+ {
+ if (_recoveryCoordinator[index] == null)
+ {
+ System.err.println("AfterCrashServiceImpl01.check_oper [O" + _objectNumber + ".R" + index + "]: Done");
+ correct = correct && check_behaviors[index].allow_done;
+ }
+ else
+ {
+ try
+ {
+ Status status = _recoveryCoordinator[index].replay_completion(_resource[index]);
+ System.err.println("AfterCrashServiceImpl01.check_oper [O" + _objectNumber + ".R" + index + "]: replay_completion returned: " + status);
+ correct = correct && (((status == Status.StatusPrepared) && check_behaviors[index].allow_returned_prepared) ||
+ ((status == Status.StatusCommitting) && check_behaviors[index].allow_returned_committing) ||
+ ((status == Status.StatusCommitted) && check_behaviors[index].allow_returned_committed) ||
+ ((status == Status.StatusRolledBack) && check_behaviors[index].allow_returned_rolledback));
+ }
+ catch (NotPrepared notPrepared)
+ {
+ correct = correct && check_behaviors[index].allow_raised_not_prepared;
+ System.err.println("AfterCrashServiceImpl01.check_oper [O" + _objectNumber + ".R" + index + "]: replay_completion raised NotPrepared");
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AfterCrashServiceImpl01.check_oper [O" + _objectNumber + ".R" + index + "]:" + exception);
+ exception.printStackTrace(System.err);
+ correct = false;
+ }
+ }
+ }
+
+ return correct;
+ }
+
+ public boolean is_correct()
+ {
+ System.err.println("AfterCrashServiceImpl01.is_correct [O" + _objectNumber + "]: " + _isCorrect);
+
+ return _isCorrect;
+ }
+
+ public ResourceTrace get_resource_trace(int resource_number)
+ {
+ ResourceTrace resourceTrace = ResourceTrace.ResourceTraceUnknown;
+
+ if ((resource_number >= 0) && (resource_number < _resourceImpl.length))
+ {
+ resourceTrace = _resourceImpl[resource_number].getTrace();
+ }
+
+ System.err.println("AfterCrashServiceImpl01.get_resource_trace [O" + _objectNumber + ".R" + resource_number + "]: " + resourceTrace);
+
+ return resourceTrace;
+ }
+
+ private int _serviceNumber;
+ private int _objectNumber;
+ private boolean _isCorrect = true;
+
+ private ResourceImpl02[] _resourceImpl = null;
+ private Resource[] _resource = null;
+ private RecoveryCoordinator[] _recoveryCoordinator = null;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Impls/AfterCrashServiceImpl02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Impls/AfterCrashServiceImpl02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Impls/AfterCrashServiceImpl02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,181 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: AfterCrashServiceImpl02.java,v 1.5 2003/07/17 11:52:49 jcoleman Exp $
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AfterCrashServiceImpl02.java,v 1.5 2003/07/17 11:52:49 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AfterCrashServiceImpl02.java,v 1.5 2003/07/17 11:52:49 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.*;
+
+public class AfterCrashServiceImpl02 implements AfterCrashServiceOperations
+{
+ public AfterCrashServiceImpl02(int serviceNumber, int objectNumber)
+ {
+ System.out.println("AfterCrashServiceImpl02(" + serviceNumber + ", " + objectNumber + ")");
+ _serviceNumber = serviceNumber;
+ _objectNumber = objectNumber;
+ }
+
+ public void setup_oper(int number_of_resources)
+ {
+ _resourceImpl = new ResourceImpl02[number_of_resources];
+ _resource = new Resource[number_of_resources];
+ _recoveryCoordinator = new RecoveryCoordinator[number_of_resources];
+
+ for (int index = 0; index < number_of_resources; index++)
+ {
+ try
+ {
+ _resourceImpl[index] = new ResourceImpl02(_objectNumber, index);
+ ResourcePOATie servant = new ResourcePOATie(_resourceImpl[index]);
+
+ OAInterface.objectIsReady(servant);
+ _resource[index] = ResourceHelper.narrow(OAInterface.corbaReference(servant));
+
+ System.out.println("AfterCrashServiceImpl02: loading IOR \"RecoveryCoordinator_" + _serviceNumber + "_" + _objectNumber + "_" + index + "\"");
+ String recoveryCoordinatorIOR = ServerIORStore.loadIOR("RecoveryCoordinator_" + _serviceNumber + "_" + _objectNumber + "_" + index);
+
+ if (recoveryCoordinatorIOR != null)
+ {
+ _recoveryCoordinator[index] = RecoveryCoordinatorHelper.narrow(ORBInterface.orb().string_to_object(recoveryCoordinatorIOR));
+ }
+ else
+ {
+ _recoveryCoordinator[index] = null;
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AfterCrashServiceImpl02.setup_oper: " + exception);
+ exception.printStackTrace(System.err);
+ _isCorrect = false;
+ }
+ }
+ }
+
+ public boolean check_oper(CheckBehavior[] check_behaviors)
+ {
+ boolean correct = true;
+
+ for (int index = 0; index < _recoveryCoordinator.length; index++)
+ {
+ if (_recoveryCoordinator[index] == null)
+ {
+ System.err.println("AfterCrashServiceImpl02.check_oper [O" + _objectNumber + ".R" + index + "]: Done");
+ correct = correct && check_behaviors[index].allow_done;
+ }
+ else
+ {
+ try
+ {
+ Status status = _recoveryCoordinator[index].replay_completion(_resource[index]);
+ System.err.println("AfterCrashServiceImpl02.check_oper [O" + _objectNumber + ".R" + index + "]: replay_completion returned: " + status);
+ correct = correct && (((status == Status.StatusPrepared) && check_behaviors[index].allow_returned_prepared) ||
+ ((status == Status.StatusCommitting) && check_behaviors[index].allow_returned_committing) ||
+ ((status == Status.StatusCommitted) && check_behaviors[index].allow_returned_committed) ||
+ ((status == Status.StatusRolledBack) && check_behaviors[index].allow_returned_rolledback));
+ }
+ catch (NotPrepared notPrepared)
+ {
+ correct = correct && check_behaviors[index].allow_raised_not_prepared;
+ System.err.println("AfterCrashServiceImpl02.check_oper [O" + _objectNumber + ".R" + index + "]: replay_completion raised NotPrepared");
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AfterCrashServiceImpl02.check_oper [O" + _objectNumber + ".R" + index + "]:" + exception);
+ exception.printStackTrace(System.err);
+ correct = false;
+ }
+ }
+ }
+
+ return correct;
+ }
+
+ public boolean is_correct()
+ {
+ System.err.println("AfterCrashServiceImpl02.is_correct [O" + _objectNumber + "]: " + _isCorrect);
+
+ return _isCorrect;
+ }
+
+ public ResourceTrace get_resource_trace(int resource_number)
+ {
+ ResourceTrace resourceTrace = ResourceTrace.ResourceTraceUnknown;
+
+ if ((resource_number >= 0) && (resource_number < _resourceImpl.length))
+ {
+ resourceTrace = _resourceImpl[resource_number].getTrace();
+ }
+
+ System.err.println("AfterCrashServiceImpl02.get_resource_trace [O" + _objectNumber + ".R" + resource_number + "]: " + resourceTrace);
+
+ return resourceTrace;
+ }
+
+ private int _serviceNumber;
+ private int _objectNumber;
+ private boolean _isCorrect = true;
+
+ private ResourceImpl02[] _resourceImpl = null;
+ private Resource[] _resource = null;
+ private RecoveryCoordinator[] _recoveryCoordinator = null;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Impls/BeforeCrashServiceImpl01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Impls/BeforeCrashServiceImpl01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Impls/BeforeCrashServiceImpl01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,117 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: BeforeCrashServiceImpl01.java,v 1.5 2003/07/17 11:52:49 jcoleman Exp $
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: BeforeCrashServiceImpl01.java,v 1.5 2003/07/17 11:52:49 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: BeforeCrashServiceImpl01.java,v 1.5 2003/07/17 11:52:49 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.*;
+
+public class BeforeCrashServiceImpl01 implements BeforeCrashServiceOperations
+{
+ public BeforeCrashServiceImpl01(int serviceNumber, int objectNumber)
+ {
+ System.out.println("BeforeCrashServiceImpl01(" + serviceNumber + ", " + objectNumber + ")");
+ _serviceNumber = serviceNumber;
+ _objectNumber = objectNumber;
+ }
+
+ public void setup_oper(Control ctrl, ResourceBehavior[] resource_behaviors)
+ {
+ ResourceImpl01[] resourceImpl = new ResourceImpl01[resource_behaviors.length];
+ Resource[] resource = new Resource[resource_behaviors.length];
+ RecoveryCoordinator[] recoveryCoordinator = new RecoveryCoordinator[resource_behaviors.length];
+
+ for (int index = 0; index < resource_behaviors.length; index++)
+ {
+ try
+ {
+ resourceImpl[index] = new ResourceImpl01(_serviceNumber, _objectNumber, index, resource_behaviors[index]);
+ ResourcePOATie servant = new ResourcePOATie(resourceImpl[index]);
+
+ OAInterface.objectIsReady(servant);
+ resource[index] = ResourceHelper.narrow(OAInterface.corbaReference(servant));
+
+ recoveryCoordinator[index] = ctrl.get_coordinator().register_resource(resource[index]);
+
+ System.out.println("BeforeCrashServiceImpl01: storing IOR \"RecoveryCoordinator_" + _serviceNumber + "_" + _objectNumber + "_" + index + "\"");
+ ServerIORStore.storeIOR("RecoveryCoordinator_" + _serviceNumber + "_" + _objectNumber + "_" + index, ORBInterface.orb().object_to_string(recoveryCoordinator[index]));
+ }
+ catch (Exception exception)
+ {
+ System.err.println("BeforeCrashServiceImpl01.setup_oper: " + exception);
+ exception.printStackTrace(System.err);
+ _isCorrect = false;
+ }
+ }
+ }
+
+ public boolean is_correct()
+ {
+ System.err.println("BeforeCrashServiceImpl01.is_correct: " + _isCorrect);
+
+ return _isCorrect;
+ }
+
+ private int _serviceNumber;
+ private int _objectNumber;
+ private boolean _isCorrect = true;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Impls/BeforeCrashServiceImpl02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Impls/BeforeCrashServiceImpl02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Impls/BeforeCrashServiceImpl02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,130 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: BeforeCrashServiceImpl02.java,v 1.5 2003/07/17 11:52:49 jcoleman Exp $
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: BeforeCrashServiceImpl02.java,v 1.5 2003/07/17 11:52:49 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: BeforeCrashServiceImpl02.java,v 1.5 2003/07/17 11:52:49 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.*;
+
+public class BeforeCrashServiceImpl02 implements BeforeCrashServiceOperations
+{
+ public BeforeCrashServiceImpl02(int serviceNumber, int objectNumber)
+ {
+ System.out.println("BeforeCrashServiceImpl02(" + serviceNumber + ", " + objectNumber + ")");
+ _serviceNumber = serviceNumber;
+ _objectNumber = objectNumber;
+ }
+
+ public void setup_oper(Control ctrl, ResourceBehavior[] resource_behaviors)
+ {
+ ResourceImpl01[] resourceImpl = new ResourceImpl01[resource_behaviors.length];
+ Resource[] resource = new Resource[resource_behaviors.length];
+ RecoveryCoordinator[] recoveryCoordinator = new RecoveryCoordinator[resource_behaviors.length];
+
+ try
+ {
+ com.arjuna.ats.jts.ExplicitInterposition interposition = new com.arjuna.ats.jts.ExplicitInterposition();
+
+ interposition.registerTransaction(ctrl);
+
+ for (int index = 0; index < resource_behaviors.length; index++)
+ {
+ resourceImpl[index] = new ResourceImpl01(_serviceNumber, _objectNumber, index, resource_behaviors[index]);
+ ResourcePOATie servant = new ResourcePOATie(resourceImpl[index]);
+
+ OAInterface.objectIsReady(servant);
+ resource[index] = ResourceHelper.narrow(OAInterface.corbaReference(servant));
+
+ recoveryCoordinator[index] = OTS.current().get_control().get_coordinator().register_resource(resource[index]);
+
+ System.out.println("BeforeCrashServiceImpl02: storing IOR \"RecoveryCoordinator_" + _serviceNumber + "_" + _objectNumber + "_" + index + "\"");
+ ServerIORStore.storeIOR("RecoveryCoordinator_" + _serviceNumber + "_" + _objectNumber + "_" + index, ORBInterface.orb().object_to_string(recoveryCoordinator[index]));
+ }
+
+ interposition.unregisterTransaction();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("BeforeCrashServiceImpl02.setup_oper: " + exception);
+ exception.printStackTrace(System.err);
+ _isCorrect = false;
+ }
+ catch (Error error)
+ {
+ System.err.println("BeforeCrashServiceImpl02.setup_oper: " + error);
+ error.printStackTrace(System.err);
+ _isCorrect = false;
+ }
+ }
+
+ public boolean is_correct()
+ {
+ System.err.println("BeforeCrashServiceImpl02.is_correct: " + _isCorrect);
+
+ return _isCorrect;
+ }
+
+ private int _serviceNumber;
+ private int _objectNumber;
+ private boolean _isCorrect = true;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Impls/ResourceImpl01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Impls/ResourceImpl01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Impls/ResourceImpl01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,257 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: ResourceImpl01.java,v 1.2 2003/06/26 11:43:36 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ResourceImpl01.java,v 1.2 2003/06/26 11:43:36 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ResourceImpl01.java,v 1.2 2003/06/26 11:43:36 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.*;
+
+public class ResourceImpl01 implements ResourceOperations
+{
+ public ResourceImpl01(int serviceNumber, int objectNumber, int resourceNumber, ResourceBehavior resourceBehavior)
+ {
+ _serviceNumber = serviceNumber;
+ _objectNumber = objectNumber;
+ _resourceNumber = resourceNumber;
+ _resourceBehavior = resourceBehavior;
+ }
+
+ public Vote prepare()
+ throws HeuristicMixed, HeuristicHazard
+ {
+ System.err.print("ResourceImpl01.prepare [O" + _objectNumber + ".R" + _resourceNumber + "]: ");
+
+ if (_resourceTrace == ResourceTrace.ResourceTraceNone)
+ {
+ _resourceTrace = ResourceTrace.ResourceTracePrepare;
+ }
+ else
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceUnknown;
+ }
+
+ if (_resourceBehavior.crash_behavior == CrashBehavior.CrashBehaviorCrashInPrepare)
+ {
+ System.err.println("Crash");
+ System.exit(1);
+ }
+
+ System.err.println("ReturnVoteCommit");
+
+ return Vote.VoteCommit;
+ }
+
+ public void rollback()
+ throws HeuristicCommit, HeuristicMixed, HeuristicHazard
+ {
+ System.err.print("ResourceImpl01.rollback [O" + _objectNumber + ".R" + _resourceNumber + "]: ");
+
+ if (_resourceTrace == ResourceTrace.ResourceTraceNone)
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceRollback;
+ }
+ else if (_resourceTrace == ResourceTrace.ResourceTracePrepare)
+ {
+ _resourceTrace = ResourceTrace.ResourceTracePrepareRollback;
+ }
+ else
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceUnknown;
+ }
+
+ if (_resourceBehavior.crash_behavior == CrashBehavior.CrashBehaviorCrashInRollback)
+ {
+ System.err.println("Crash");
+ System.exit(1);
+ }
+
+ try
+ {
+ ServerIORStore.removeIOR("RecoveryCoordinator_" + _serviceNumber + "_" + _objectNumber + "_" + _resourceNumber);
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Return (exception): " + exception);
+ return;
+ }
+
+ System.err.println("Return");
+ }
+
+ public void commit()
+ throws NotPrepared, HeuristicRollback, HeuristicMixed, HeuristicHazard
+ {
+ System.err.print("ResourceImpl01.commit [O" + _objectNumber + ".R" + _resourceNumber + "]: ");
+
+ if (_resourceTrace == ResourceTrace.ResourceTraceNone)
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceCommit;
+ }
+ else if (_resourceTrace == ResourceTrace.ResourceTracePrepare)
+ {
+ _resourceTrace = ResourceTrace.ResourceTracePrepareCommit;
+ }
+ else
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceUnknown;
+ }
+
+ if (_resourceBehavior.crash_behavior == CrashBehavior.CrashBehaviorCrashInCommit)
+ {
+ System.err.println("Crash");
+ System.exit(1);
+ }
+
+ try
+ {
+ ServerIORStore.removeIOR("RecoveryCoordinator_" + _serviceNumber + "_" + _objectNumber + "_" + _resourceNumber);
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Return (exception): " + exception);
+ return;
+ }
+
+ System.err.println("Return");
+ }
+
+ public void commit_one_phase()
+ throws HeuristicHazard
+ {
+ System.err.print("ResourceImpl01.commit_one_phase [O" + _objectNumber + ".R" + _resourceNumber + "]: ");
+
+ if (_resourceTrace == ResourceTrace.ResourceTraceNone)
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceCommitOnePhase;
+ }
+ else
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceUnknown;
+ }
+
+ if (_resourceBehavior.crash_behavior == CrashBehavior.CrashBehaviorCrashInCommitOnePhase)
+ {
+ System.err.println("Crash");
+ System.exit(1);
+ }
+
+ try
+ {
+ ServerIORStore.removeIOR("RecoveryCoordinator_" + _serviceNumber + "_" + _objectNumber + "_" + _resourceNumber);
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Return (exception): " + exception);
+ return;
+ }
+
+ System.err.println("Return");
+ }
+
+ public void forget()
+ {
+ System.err.print("ResourceImpl01.forget [O" + _objectNumber + ".R" + _resourceNumber + "]: ");
+
+ if (_resourceTrace == ResourceTrace.ResourceTracePrepare)
+ {
+ _resourceTrace = ResourceTrace.ResourceTracePrepareForget;
+ }
+ else if (_resourceTrace == ResourceTrace.ResourceTracePrepareRollback)
+ {
+ _resourceTrace = ResourceTrace.ResourceTracePrepareRollbackForget;
+ }
+ else if (_resourceTrace == ResourceTrace.ResourceTracePrepareCommit)
+ {
+ _resourceTrace = ResourceTrace.ResourceTracePrepareCommitForget;
+ }
+ else if (_resourceTrace == ResourceTrace.ResourceTraceCommitOnePhase)
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceCommitOnePhaseForget;
+ }
+ else
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceUnknown;
+ }
+
+ if (_resourceBehavior.crash_behavior == CrashBehavior.CrashBehaviorCrashInForget)
+ {
+ System.err.println("Crash");
+ System.exit(1);
+ }
+
+ System.err.println("Return");
+ }
+
+ public boolean isCorrect()
+ {
+ return true;
+ }
+
+ public ResourceTrace getTrace()
+ {
+ return _resourceTrace;
+ }
+
+ private int _serviceNumber;
+ private int _objectNumber;
+ private int _resourceNumber;
+ private ResourceBehavior _resourceBehavior;
+ private ResourceTrace _resourceTrace = ResourceTrace.ResourceTraceNone;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Impls/ResourceImpl02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Impls/ResourceImpl02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Impls/ResourceImpl02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,193 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: ResourceImpl02.java,v 1.2 2003/06/26 11:43:37 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ResourceImpl02.java,v 1.2 2003/06/26 11:43:37 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ResourceImpl02.java,v 1.2 2003/06/26 11:43:37 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.omg.CosTransactions.*;
+
+public class ResourceImpl02 implements ResourceOperations
+{
+ public ResourceImpl02(int objectNumber, int resourceNumber)
+ {
+ _objectNumber = objectNumber;
+ _resourceNumber = resourceNumber;
+ }
+
+ public Vote prepare()
+ throws HeuristicMixed, HeuristicHazard
+ {
+ System.err.print("ResourceImpl02.prepare [O" + _objectNumber + ".R" + _resourceNumber + "]: ");
+
+ if (_resourceTrace == ResourceTrace.ResourceTraceNone)
+ {
+ _resourceTrace = ResourceTrace.ResourceTracePrepare;
+ }
+ else
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceUnknown;
+ }
+
+ System.err.println("ReturnVoteCommit");
+
+ return Vote.VoteCommit;
+ }
+
+ public void rollback()
+ throws HeuristicCommit, HeuristicMixed, HeuristicHazard
+ {
+ System.err.print("ResourceImpl02.rollback [O" + _objectNumber + ".R" + _resourceNumber + "]: ");
+
+ if (_resourceTrace == ResourceTrace.ResourceTraceNone)
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceRollback;
+ }
+ else if (_resourceTrace == ResourceTrace.ResourceTracePrepare)
+ {
+ _resourceTrace = ResourceTrace.ResourceTracePrepareRollback;
+ }
+ else
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceUnknown;
+ }
+
+ System.err.println("Return");
+ }
+
+ public void commit()
+ throws NotPrepared, HeuristicRollback, HeuristicMixed, HeuristicHazard
+ {
+ System.err.print("ResourceImpl02.commit [O" + _objectNumber + ".R" + _resourceNumber + "]: ");
+
+ if (_resourceTrace == ResourceTrace.ResourceTraceNone)
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceCommit;
+ }
+ else if (_resourceTrace == ResourceTrace.ResourceTracePrepare)
+ {
+ _resourceTrace = ResourceTrace.ResourceTracePrepareCommit;
+ }
+ else
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceUnknown;
+ }
+
+ System.err.println("Return");
+ }
+
+ public void commit_one_phase()
+ throws HeuristicHazard
+ {
+ System.err.print("ResourceImpl02.commit_one_phase [O" + _objectNumber + ".R" + _resourceNumber + "]: ");
+
+ if (_resourceTrace == ResourceTrace.ResourceTraceNone)
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceCommitOnePhase;
+ }
+ else
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceUnknown;
+ }
+
+ System.err.println("Return");
+ }
+
+ public void forget()
+ {
+ System.err.print("ResourceImpl02.forget [O" + _objectNumber + ".R" + _resourceNumber + "]: ");
+
+ if (_resourceTrace == ResourceTrace.ResourceTracePrepare)
+ {
+ _resourceTrace = ResourceTrace.ResourceTracePrepareForget;
+ }
+ else if (_resourceTrace == ResourceTrace.ResourceTracePrepareRollback)
+ {
+ _resourceTrace = ResourceTrace.ResourceTracePrepareRollbackForget;
+ }
+ else if (_resourceTrace == ResourceTrace.ResourceTracePrepareCommit)
+ {
+ _resourceTrace = ResourceTrace.ResourceTracePrepareCommitForget;
+ }
+ else if (_resourceTrace == ResourceTrace.ResourceTraceCommitOnePhase)
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceCommitOnePhaseForget;
+ }
+ else
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceUnknown;
+ }
+
+ System.err.println("Return");
+ }
+
+ public boolean isCorrect()
+ {
+ return true;
+ }
+
+ public ResourceTrace getTrace()
+ {
+ return _resourceTrace;
+ }
+
+ private int _objectNumber;
+ private int _resourceNumber;
+ private ResourceBehavior _resourceBehavior;
+ private ResourceTrace _resourceTrace = ResourceTrace.ResourceTraceNone;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Servers/Server01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Servers/Server01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Servers/Server01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,94 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server01.java,v 1.4 2003/07/15 15:33:11 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server01.java,v 1.4 2003/07/15 15:33:11 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.CrashRecovery05Impls.BeforeCrashServiceImpl01;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server01
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ BeforeCrashServiceImpl01 beforeCrashServiceImpl = new BeforeCrashServiceImpl01(args[args.length - 2].hashCode(), 0);
+ BeforeCrashServicePOATie servant = new BeforeCrashServicePOATie(beforeCrashServiceImpl);
+
+ OAInterface.objectIsReady(servant);
+ BeforeCrashService beforeCrashService = BeforeCrashServiceHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(beforeCrashService));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Servers/Server02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Servers/Server02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Servers/Server02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,94 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server02.java,v 1.4 2003/07/15 15:33:11 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server02.java,v 1.4 2003/07/15 15:33:11 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.CrashRecovery05Impls.AfterCrashServiceImpl01;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server02
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ AfterCrashServiceImpl01 afterCrashServiceImpl = new AfterCrashServiceImpl01(args[args.length - 2].hashCode(), 0);
+ AfterCrashServicePOATie servant = new AfterCrashServicePOATie(afterCrashServiceImpl);
+
+ OAInterface.objectIsReady(servant);
+ AfterCrashService afterCrashService = AfterCrashServiceHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(afterCrashService));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server02.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Servers/Server03.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Servers/Server03.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Servers/Server03.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,101 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server03.java,v 1.4 2003/07/15 15:33:11 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server03.java,v 1.4 2003/07/15 15:33:11 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.CrashRecovery05Impls.BeforeCrashServiceImpl01;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server03
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ BeforeCrashServiceImpl01 beforeCrashServiceImpl1 = new BeforeCrashServiceImpl01(args[args.length - 3].hashCode(), 0);
+ BeforeCrashServiceImpl01 beforeCrashServiceImpl2 = new BeforeCrashServiceImpl01(args[args.length - 3].hashCode(), 1);
+
+ BeforeCrashServicePOATie servant1 = new BeforeCrashServicePOATie(beforeCrashServiceImpl1);
+ BeforeCrashServicePOATie servant2 = new BeforeCrashServicePOATie(beforeCrashServiceImpl2);
+
+ OAInterface.objectIsReady(servant1);
+ BeforeCrashService beforeCrashService1 = BeforeCrashServiceHelper.narrow(OAInterface.corbaReference(servant1));
+
+ OAInterface.objectIsReady(servant2);
+ BeforeCrashService beforeCrashService2 = BeforeCrashServiceHelper.narrow(OAInterface.corbaReference(servant2));
+
+ ServerIORStore.storeIOR(args[args.length - 2], ORBInterface.orb().object_to_string(beforeCrashService1));
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(beforeCrashService2));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server03.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Servers/Server04.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Servers/Server04.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Servers/Server04.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,101 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server04.java,v 1.4 2003/07/15 15:33:11 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server04.java,v 1.4 2003/07/15 15:33:11 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.CrashRecovery05Impls.AfterCrashServiceImpl01;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server04
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ AfterCrashServiceImpl01 afterCrashServiceImpl1 = new AfterCrashServiceImpl01(args[args.length - 3].hashCode(), 0);
+ AfterCrashServiceImpl01 afterCrashServiceImpl2 = new AfterCrashServiceImpl01(args[args.length - 3].hashCode(), 1);
+
+ AfterCrashServicePOATie servant1 = new AfterCrashServicePOATie(afterCrashServiceImpl1);
+ AfterCrashServicePOATie servant2 = new AfterCrashServicePOATie(afterCrashServiceImpl2);
+
+ OAInterface.objectIsReady(servant1);
+ AfterCrashService afterCrashService1 = AfterCrashServiceHelper.narrow(OAInterface.corbaReference(servant1));
+
+ OAInterface.objectIsReady(servant2);
+ AfterCrashService afterCrashService2 = AfterCrashServiceHelper.narrow(OAInterface.corbaReference(servant2));
+
+ ServerIORStore.storeIOR(args[args.length - 2], ORBInterface.orb().object_to_string(afterCrashService1));
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(afterCrashService2));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server04.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Servers/Server05.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Servers/Server05.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Servers/Server05.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,94 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server05.java,v 1.4 2003/07/15 15:33:11 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server05.java,v 1.4 2003/07/15 15:33:11 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.CrashRecovery05Impls.BeforeCrashServiceImpl02;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server05
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ BeforeCrashServiceImpl02 beforeCrashServiceImpl = new BeforeCrashServiceImpl02(args[args.length - 2].hashCode(), 0);
+ BeforeCrashServicePOATie servant = new BeforeCrashServicePOATie(beforeCrashServiceImpl);
+
+ OAInterface.objectIsReady(servant);
+ BeforeCrashService beforeCrashService = BeforeCrashServiceHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(beforeCrashService));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server05.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Servers/Server06.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Servers/Server06.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Servers/Server06.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,94 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server06.java,v 1.4 2003/07/15 15:33:11 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server06.java,v 1.4 2003/07/15 15:33:11 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.CrashRecovery05Impls.AfterCrashServiceImpl02;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server06
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ AfterCrashServiceImpl02 afterCrashServiceImpl = new AfterCrashServiceImpl02(args[args.length - 2].hashCode(), 0);
+ AfterCrashServicePOATie servant = new AfterCrashServicePOATie(afterCrashServiceImpl);
+
+ OAInterface.objectIsReady(servant);
+ AfterCrashService afterCrashService = AfterCrashServiceHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(afterCrashService));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server06.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Servers/Server07.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Servers/Server07.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Servers/Server07.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,101 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server07.java,v 1.4 2003/07/15 15:33:12 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server07.java,v 1.4 2003/07/15 15:33:12 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.CrashRecovery05Impls.BeforeCrashServiceImpl02;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server07
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ BeforeCrashServiceImpl02 beforeCrashServiceImpl1 = new BeforeCrashServiceImpl02(args[args.length - 3].hashCode(), 0);
+ BeforeCrashServiceImpl02 beforeCrashServiceImpl2 = new BeforeCrashServiceImpl02(args[args.length - 3].hashCode(), 1);
+
+ BeforeCrashServicePOATie servant1 = new BeforeCrashServicePOATie(beforeCrashServiceImpl1);
+ BeforeCrashServicePOATie servant2 = new BeforeCrashServicePOATie(beforeCrashServiceImpl2);
+
+ OAInterface.objectIsReady(servant1);
+ BeforeCrashService beforeCrashService1 = BeforeCrashServiceHelper.narrow(OAInterface.corbaReference(servant1));
+
+ OAInterface.objectIsReady(servant2);
+ BeforeCrashService beforeCrashService2 = BeforeCrashServiceHelper.narrow(OAInterface.corbaReference(servant2));
+
+ ServerIORStore.storeIOR(args[args.length - 2], ORBInterface.orb().object_to_string(beforeCrashService1));
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(beforeCrashService2));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server07.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Servers/Server08.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Servers/Server08.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Servers/Server08.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,101 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server08.java,v 1.4 2003/07/15 15:33:12 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server08.java,v 1.4 2003/07/15 15:33:12 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery05.*;
+import org.jboss.jbossts.qa.CrashRecovery05Impls.AfterCrashServiceImpl02;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server08
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ AfterCrashServiceImpl02 afterCrashServiceImpl1 = new AfterCrashServiceImpl02(args[args.length - 3].hashCode(), 0);
+ AfterCrashServiceImpl02 afterCrashServiceImpl2 = new AfterCrashServiceImpl02(args[args.length - 3].hashCode(), 1);
+
+ AfterCrashServicePOATie servant1 = new AfterCrashServicePOATie(afterCrashServiceImpl1);
+ AfterCrashServicePOATie servant2 = new AfterCrashServicePOATie(afterCrashServiceImpl2);
+
+ OAInterface.objectIsReady(servant1);
+ AfterCrashService afterCrashService1 = AfterCrashServiceHelper.narrow(OAInterface.corbaReference(servant1));
+
+ OAInterface.objectIsReady(servant2);
+ AfterCrashService afterCrashService2 = AfterCrashServiceHelper.narrow(OAInterface.corbaReference(servant2));
+
+ ServerIORStore.storeIOR(args[args.length - 2], ORBInterface.orb().object_to_string(afterCrashService1));
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(afterCrashService2));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server08.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Utils/Delays.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Utils/Delays.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery05Utils/Delays.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,40 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: Delays.java,v 1.2 2003/06/26 11:43:38 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.CrashRecovery05Utils;
+
+public class Delays
+{
+ public static int replyCompletionDelay()
+ {
+ return 60 * 1000;
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery06Clients/Client01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery06Clients/Client01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery06Clients/Client01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,117 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery06Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client01.java,v 1.2 2003/06/26 11:43:38 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client01.java,v 1.2 2003/06/26 11:43:38 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery06.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client01
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service.setup_oper(OTS.current().get_control());
+
+ OTS.current().commit(true);
+
+ correct = service.check_oper();
+
+ correct = correct && service.is_correct();
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery06Impls/ResourceImpl01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery06Impls/ResourceImpl01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery06Impls/ResourceImpl01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,95 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: ResourceImpl01.java,v 1.2 2003/06/26 11:43:38 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.CrashRecovery06Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ResourceImpl01.java,v 1.2 2003/06/26 11:43:38 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ResourceImpl01.java,v 1.2 2003/06/26 11:43:38 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery06.*;
+import org.omg.CosTransactions.*;
+
+public class ResourceImpl01 implements ResourceOperations
+{
+ public ResourceImpl01()
+ {
+ }
+
+ public Vote prepare()
+ throws HeuristicMixed, HeuristicHazard
+ {
+ return Vote.VoteCommit;
+ }
+
+ public void rollback()
+ throws HeuristicCommit, HeuristicMixed, HeuristicHazard
+ {
+ }
+
+ public void commit()
+ throws NotPrepared, HeuristicRollback, HeuristicMixed, HeuristicHazard
+ {
+ }
+
+ public void commit_one_phase()
+ throws HeuristicHazard
+ {
+ }
+
+ public void forget()
+ {
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery06Impls/ServiceImpl01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery06Impls/ServiceImpl01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery06Impls/ServiceImpl01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,124 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: ServiceImpl01.java,v 1.2 2003/06/26 11:43:39 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.CrashRecovery06Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ServiceImpl01.java,v 1.2 2003/06/26 11:43:39 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ServiceImpl01.java,v 1.2 2003/06/26 11:43:39 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery06.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.omg.CORBA.OBJECT_NOT_EXIST;
+import org.omg.CosTransactions.*;
+
+public class ServiceImpl01 implements ServiceOperations
+{
+ public ServiceImpl01()
+ {
+ }
+
+ public void setup_oper(Control ctrl)
+ {
+ try
+ {
+ _resourceImpl = new ResourceImpl01();
+ ResourcePOATie servant = new ResourcePOATie(_resourceImpl);
+
+ OAInterface.objectIsReady(servant);
+ _resource = ResourceHelper.narrow(OAInterface.corbaReference(servant));
+
+ _recoveryCoordinator = ctrl.get_coordinator().register_resource(_resource);
+ }
+ catch (Exception exception)
+ {
+ System.err.println("ServiceImpl01.setup_oper: " + exception);
+ exception.printStackTrace(System.err);
+ _isCorrect = false;
+ }
+ }
+
+ public boolean check_oper()
+ {
+ boolean correct = true;
+
+ try
+ {
+ Status status = _recoveryCoordinator.replay_completion(null);
+ }
+ catch (OBJECT_NOT_EXIST objectNotExist)
+ {
+ }
+ catch (Exception exception)
+ {
+ System.err.println("ServiceImpl01.check_oper: " + exception);
+ exception.printStackTrace(System.err);
+ correct = false;
+ }
+
+ return correct;
+ }
+
+ public boolean is_correct()
+ {
+ return _isCorrect;
+ }
+
+ private boolean _isCorrect = true;
+
+ private ResourceImpl01 _resourceImpl = null;
+ private Resource _resource = null;
+ private RecoveryCoordinator _recoveryCoordinator = null;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery06Impls/ServiceImpl02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery06Impls/ServiceImpl02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery06Impls/ServiceImpl02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,137 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: ServiceImpl02.java,v 1.2 2003/06/26 11:43:39 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.CrashRecovery06Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ServiceImpl02.java,v 1.2 2003/06/26 11:43:39 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ServiceImpl02.java,v 1.2 2003/06/26 11:43:39 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery06.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.omg.CORBA.OBJECT_NOT_EXIST;
+import org.omg.CosTransactions.*;
+
+public class ServiceImpl02 implements ServiceOperations
+{
+ public ServiceImpl02()
+ {
+ }
+
+ public void setup_oper(Control ctrl)
+ {
+ try
+ {
+ com.arjuna.ats.jts.ExplicitInterposition interposition = new com.arjuna.ats.jts.ExplicitInterposition();
+
+ interposition.registerTransaction(ctrl);
+
+ _resourceImpl = new ResourceImpl01();
+ ResourcePOATie servant = new ResourcePOATie(_resourceImpl);
+
+ OAInterface.objectIsReady(servant);
+ _resource = ResourceHelper.narrow(OAInterface.corbaReference(servant));
+
+ _recoveryCoordinator = OTS.current().get_control().get_coordinator().register_resource(_resource);
+
+ interposition.unregisterTransaction();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("ServiceImpl02.setup_oper: " + exception);
+ exception.printStackTrace(System.err);
+ _isCorrect = false;
+ }
+ catch (Error error)
+ {
+ System.err.println("ServiceImpl02.setup_oper: " + error);
+ error.printStackTrace(System.err);
+ _isCorrect = false;
+ }
+ }
+
+ public boolean check_oper()
+ {
+ boolean correct = true;
+
+ try
+ {
+ Status status = _recoveryCoordinator.replay_completion(null);
+ }
+ catch (OBJECT_NOT_EXIST objectNotExist)
+ {
+ }
+ catch (Exception exception)
+ {
+ System.err.println("ServiceImpl02.check_oper: " + exception);
+ exception.printStackTrace(System.err);
+ correct = false;
+ }
+
+ return correct;
+ }
+
+ public boolean is_correct()
+ {
+ return _isCorrect;
+ }
+
+ private boolean _isCorrect = true;
+
+ private ResourceImpl01 _resourceImpl = null;
+ private Resource _resource = null;
+ private RecoveryCoordinator _recoveryCoordinator = null;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery06Servers/Server01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery06Servers/Server01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery06Servers/Server01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,94 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.CrashRecovery06Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server01.java,v 1.2 2003/06/26 11:43:39 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server01.java,v 1.2 2003/06/26 11:43:39 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery06.*;
+import org.jboss.jbossts.qa.CrashRecovery06Impls.ServiceImpl01;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server01
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ ServiceImpl01 serviceImpl = new ServiceImpl01();
+ ServicePOATie servant = new ServicePOATie(serviceImpl);
+
+ OAInterface.objectIsReady(servant);
+ Service service = ServiceHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(service));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery06Servers/Server02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery06Servers/Server02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery06Servers/Server02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,94 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.CrashRecovery06Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server02.java,v 1.2 2003/06/26 11:43:39 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server02.java,v 1.2 2003/06/26 11:43:39 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery06.*;
+import org.jboss.jbossts.qa.CrashRecovery06Impls.ServiceImpl02;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server02
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ ServiceImpl02 serviceImpl = new ServiceImpl02();
+ ServicePOATie servant = new ServicePOATie(serviceImpl);
+
+ OAInterface.objectIsReady(servant);
+ Service service = ServiceHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(service));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server02.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery07Clients/Client01a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery07Clients/Client01a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery07Clients/Client01a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,129 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery07Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client01a.java,v 1.5 2003/07/31 12:28:07 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client01a.java,v 1.5 2003/07/31 12:28:07 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery07.*;
+import org.jboss.jbossts.qa.CrashRecovery07Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client01a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ int numberOfResources = Integer.parseInt(args[args.length - 2]);
+ int delay;
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ boolean correct = true;
+
+ delay = Delays.recoveryDelay(Integer.parseInt(args[args.length - 3]));
+ System.out.println("Sleeping for " + delay + "ms.");
+ Thread.sleep(delay);
+
+ ResourceTrace resourceTrace = null;
+
+ for (int index = 0; index < numberOfResources; index++)
+ {
+ resourceTrace = service.get_resource_trace(index);
+ correct = correct && (resourceTrace == ResourceTrace.ResourceTracePrepareCommit);
+
+ if (!correct)
+ {
+ System.out.println("Test will fail because we have just received value " + resourceTrace.value() + " for resource " + index);
+ }
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Test has failed because we got " + resourceTrace.value() + " for " + numberOfResources);
+
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client01a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client01a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery07Clients/Client01b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery07Clients/Client01b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery07Clients/Client01b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,122 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery07Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client01b.java,v 1.2 2003/06/26 11:43:39 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client01b.java,v 1.2 2003/06/26 11:43:39 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.arjuna.coordinator.AddOutcome;
+import com.arjuna.ats.arjuna.coordinator.BasicAction;
+import org.jboss.jbossts.qa.CrashRecovery07.*;
+import org.jboss.jbossts.qa.CrashRecovery07Impls.CrashAbstractRecordImpl;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client01b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ int numberOfResources = Integer.parseInt(args[args.length - 2]);
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service.setup_oper(numberOfResources);
+
+ correct = (BasicAction.Current().add(new CrashAbstractRecordImpl()) == AddOutcome.AR_ADDED);
+
+ correct = correct && service.is_correct();
+
+ if (correct)
+ {
+ OTS.current().commit(true);
+
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client01b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client01b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery07Impls/CrashAbstractRecordImpl.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery07Impls/CrashAbstractRecordImpl.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery07Impls/CrashAbstractRecordImpl.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,134 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: CrashAbstractRecordImpl.java,v 1.2 2003/06/26 11:43:40 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.CrashRecovery07Impls;
+
+import com.arjuna.ats.arjuna.coordinator.AbstractRecord;
+import com.arjuna.ats.arjuna.coordinator.RecordType;
+import com.arjuna.ats.arjuna.coordinator.TwoPhaseOutcome;
+
+public class CrashAbstractRecordImpl extends AbstractRecord
+{
+ public CrashAbstractRecordImpl()
+ {
+ }
+
+ public int typeIs()
+ {
+ return RecordType.USER_DEF_FIRST0;
+ }
+
+ public Object value()
+ {
+ return null;
+ }
+
+ public void setValue(Object object)
+ {
+ }
+
+ public int nestedAbort()
+ {
+ return TwoPhaseOutcome.FINISH_OK;
+ }
+
+ public int nestedCommit()
+ {
+ return TwoPhaseOutcome.FINISH_OK;
+ }
+
+ public int nestedPrepare()
+ {
+ return TwoPhaseOutcome.PREPARE_OK;
+ }
+
+ public int topLevelAbort()
+ {
+ return TwoPhaseOutcome.FINISH_OK;
+ }
+
+ public int topLevelCommit()
+ {
+ System.out.println("Passed");
+ System.exit(0);
+
+ return TwoPhaseOutcome.FINISH_OK;
+ }
+
+ public int topLevelPrepare()
+ {
+ return TwoPhaseOutcome.PREPARE_OK;
+ }
+
+ public void alter(AbstractRecord abstractRecord)
+ {
+ }
+
+ public void merge(AbstractRecord abstractRecord)
+ {
+ }
+
+ /*
+ public boolean equals(AbstractRecord abstractRecord)
+ {
+ return false;
+ }
+
+ public boolean lessThan(AbstractRecord abstractRecord)
+ {
+ return true;
+ }
+
+ public boolean greaterThan(AbstractRecord abstractRecord)
+ {
+ return false;
+ }
+ */
+ public boolean shouldAdd(AbstractRecord abstractRecord)
+ {
+ return false;
+ }
+
+ public boolean shouldAlter(AbstractRecord abstractRecord)
+ {
+ return false;
+ }
+
+ public boolean shouldMerge(AbstractRecord abstractRecord)
+ {
+ return false;
+ }
+
+ public boolean shouldReplace(AbstractRecord abstractRecord)
+ {
+ return false;
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery07Impls/ResourceImpl01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery07Impls/ResourceImpl01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery07Impls/ResourceImpl01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,172 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: ResourceImpl01.java,v 1.2 2003/06/26 11:43:40 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.CrashRecovery07Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ResourceImpl01.java,v 1.2 2003/06/26 11:43:40 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ResourceImpl01.java,v 1.2 2003/06/26 11:43:40 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery07.*;
+import org.omg.CosTransactions.*;
+
+public class ResourceImpl01 implements ResourceOperations
+{
+ public ResourceImpl01(int objectNumber, int resourceNumber)
+ {
+ _objectNumber = objectNumber;
+ _resourceNumber = resourceNumber;
+ }
+
+ public Vote prepare()
+ throws HeuristicMixed, HeuristicHazard
+ {
+ System.err.print("ResourceImpl01.prepare [O" + _objectNumber + ".R" + _resourceNumber + "]: ");
+
+ if (_resourceTrace == ResourceTrace.ResourceTraceNone)
+ {
+ _resourceTrace = ResourceTrace.ResourceTracePrepare;
+ }
+ else
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceUnknown;
+ }
+
+ System.err.println("ReturnVoteCommit");
+
+ return Vote.VoteCommit;
+ }
+
+ public void rollback()
+ throws HeuristicCommit, HeuristicMixed, HeuristicHazard
+ {
+ System.err.print("ResourceImpl01.rollback [O" + _objectNumber + ".R" + _resourceNumber + "]: ");
+
+ if (_resourceTrace == ResourceTrace.ResourceTraceNone)
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceRollback;
+ }
+ else
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceUnknown;
+ }
+
+ System.err.println("Return");
+ }
+
+ public void commit()
+ throws NotPrepared, HeuristicRollback, HeuristicMixed, HeuristicHazard
+ {
+ if (commitlog && _resourceTrace == ResourceTrace.ResourceTracePrepareCommit)
+ {
+ System.err.println("ResourceImpl01.commit [O" + _objectNumber + ".R" + _resourceNumber + "]: ");
+ System.err.println("Commit called again: This is acceptable");
+ return;
+ }
+
+ System.err.print("ResourceImpl01.commit [O" + _objectNumber + ".R" + _resourceNumber + "]: ");
+
+ if (_resourceTrace == ResourceTrace.ResourceTracePrepare)
+ {
+ _resourceTrace = ResourceTrace.ResourceTracePrepareCommit;
+ commitlog = true;
+ }
+ else
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceUnknown;
+ }
+
+ System.err.println("Return");
+ }
+
+ public void commit_one_phase()
+ throws HeuristicHazard
+ {
+ System.err.print("ResourceImpl01.commit_one_phase [O" + _objectNumber + ".R" + _resourceNumber + "]: ");
+
+ if (_resourceTrace == ResourceTrace.ResourceTraceNone)
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceCommitOnePhase;
+ }
+ else
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceUnknown;
+ }
+
+ System.err.println("Return");
+ }
+
+ public void forget()
+ {
+ System.err.println("ResourceImpl01.forget [O" + _objectNumber + ".R" + _resourceNumber + "]: Return");
+
+ _resourceTrace = ResourceTrace.ResourceTraceUnknown;
+ }
+
+ public boolean isCorrect()
+ {
+ return true;
+ }
+
+ public ResourceTrace getTrace()
+ {
+ return _resourceTrace;
+ }
+
+ private int _objectNumber;
+ private int _resourceNumber;
+ private ResourceTrace _resourceTrace = ResourceTrace.ResourceTraceNone;
+ private boolean commitlog = false;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery07Impls/ServiceImpl01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery07Impls/ServiceImpl01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery07Impls/ServiceImpl01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,131 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: ServiceImpl01.java,v 1.2 2003/06/26 11:43:40 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.CrashRecovery07Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ServiceImpl01.java,v 1.2 2003/06/26 11:43:40 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ServiceImpl01.java,v 1.2 2003/06/26 11:43:40 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery07.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.omg.CosTransactions.RecoveryCoordinator;
+import org.omg.CosTransactions.Resource;
+import org.omg.CosTransactions.ResourceHelper;
+import org.omg.CosTransactions.ResourcePOATie;
+
+public class ServiceImpl01 implements ServiceOperations
+{
+ public ServiceImpl01(int objectNumber)
+ {
+ _objectNumber = objectNumber;
+ }
+
+ public void setup_oper(int number_of_resources)
+ {
+ _resourceImpl = new ResourceImpl01[number_of_resources];
+ _resource = new Resource[number_of_resources];
+ _recoveryCoordinator = new RecoveryCoordinator[number_of_resources];
+
+ for (int index = 0; index < number_of_resources; index++)
+ {
+ try
+ {
+ _resourceImpl[index] = new ResourceImpl01(_objectNumber, index);
+ ResourcePOATie servant = new ResourcePOATie(_resourceImpl[index]);
+
+ OAInterface.objectIsReady(servant);
+ _resource[index] = ResourceHelper.narrow(OAInterface.corbaReference(servant));
+
+ _recoveryCoordinator[index] = OTS.current().get_control().get_coordinator().register_resource(_resource[index]);
+ }
+ catch (Exception exception)
+ {
+ System.err.println("ServiceImpl01.setup_oper: " + exception);
+ exception.printStackTrace(System.err);
+ _isCorrect = false;
+ }
+ }
+ }
+
+ public boolean is_correct()
+ {
+ System.err.println("ServiceImpl01.is_correct: " + _isCorrect);
+
+ return _isCorrect;
+ }
+
+ public ResourceTrace get_resource_trace(int resource_number)
+ {
+ ResourceTrace resourceTrace = ResourceTrace.ResourceTraceUnknown;
+
+ if ((resource_number >= 0) && (resource_number < _resourceImpl.length))
+ {
+ resourceTrace = _resourceImpl[resource_number].getTrace();
+ }
+
+ System.err.println("ServiceImpl01.get_resource_trace [O" + _objectNumber + ".R" + resource_number + "]: " + resourceTrace);
+
+ return resourceTrace;
+ }
+
+ private int _objectNumber;
+ private boolean _isCorrect = true;
+
+ private ResourceImpl01[] _resourceImpl = null;
+ private Resource[] _resource = null;
+ private RecoveryCoordinator[] _recoveryCoordinator = null;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery07Servers/Server01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery07Servers/Server01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery07Servers/Server01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,94 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.CrashRecovery07Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server01.java,v 1.2 2003/06/26 11:43:40 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server01.java,v 1.2 2003/06/26 11:43:40 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery07.*;
+import org.jboss.jbossts.qa.CrashRecovery07Impls.ServiceImpl01;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server01
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ ServiceImpl01 serviceImpl = new ServiceImpl01(0);
+ ServicePOATie servant = new ServicePOATie(serviceImpl);
+
+ OAInterface.objectIsReady(servant);
+ Service service = ServiceHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(service));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery07Utils/Delays.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery07Utils/Delays.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery07Utils/Delays.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,45 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: Delays.java,v 1.7 2003/09/03 14:43:15 jcoleman Exp $
+//
+
+package org.jboss.jbossts.qa.CrashRecovery07Utils;
+
+public class Delays
+{
+ public static int recoveryDelay()
+ {
+ return 90 * 1000;
+ }
+
+ public static int recoveryDelay(int num_clients)
+ {
+ return (90 * 1000) + (90 * 1000 * num_clients);
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery08Clients/Client01a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery08Clients/Client01a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery08Clients/Client01a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,129 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery08Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client01a.java,v 1.5 2003/07/31 12:28:07 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client01a.java,v 1.5 2003/07/31 12:28:07 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery08.*;
+import org.jboss.jbossts.qa.CrashRecovery08Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client01a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ int numberOfResources = Integer.parseInt(args[args.length - 2]);
+ int delay;
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ boolean correct = true;
+
+ delay = Delays.recoveryDelay(Integer.parseInt(args[args.length - 3]));
+ System.out.println("Sleeping for " + delay + "ms.");
+ Thread.sleep(delay);
+
+ ResourceTrace resourceTrace = null;
+
+ for (int index = 0; index < numberOfResources; index++)
+ {
+ resourceTrace = service.get_resource_trace(index);
+ correct = correct && (resourceTrace == ResourceTrace.ResourceTracePrepareCommit);
+
+ if (!correct)
+ {
+ System.out.println("Test will fail because we have just received value " + resourceTrace.value() + " for resource " + index);
+ }
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Test has failed because we got " + resourceTrace.value() + " for " + numberOfResources);
+
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client01a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client01a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery08Clients/Client01b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery08Clients/Client01b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery08Clients/Client01b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,124 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery08Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client01b.java,v 1.2 2003/06/26 11:43:41 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client01b.java,v 1.2 2003/06/26 11:43:41 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.arjuna.coordinator.AddOutcome;
+import com.arjuna.ats.arjuna.coordinator.BasicAction;
+import org.jboss.jbossts.qa.CrashRecovery08.*;
+import org.jboss.jbossts.qa.CrashRecovery08Impls.CrashAbstractRecordImpl;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client01b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ int numberOfResources = Integer.parseInt(args[args.length - 2]);
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service.setup_oper(OTS.current().get_control(), numberOfResources);
+
+ correct = (BasicAction.Current().add(new CrashAbstractRecordImpl()) == AddOutcome.AR_ADDED);
+
+ correct = correct && service.is_correct();
+
+ if (correct)
+ {
+ OTS.current().commit(true);
+
+ System.out.println("jjh: "+service.get_resource_trace(0));
+
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client01b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client01b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery08Impls/CrashAbstractRecordImpl.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery08Impls/CrashAbstractRecordImpl.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery08Impls/CrashAbstractRecordImpl.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,134 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: CrashAbstractRecordImpl.java,v 1.2 2003/06/26 11:43:41 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.CrashRecovery08Impls;
+
+import com.arjuna.ats.arjuna.coordinator.AbstractRecord;
+import com.arjuna.ats.arjuna.coordinator.RecordType;
+import com.arjuna.ats.arjuna.coordinator.TwoPhaseOutcome;
+
+public class CrashAbstractRecordImpl extends AbstractRecord
+{
+ public CrashAbstractRecordImpl()
+ {
+ }
+
+ public int typeIs()
+ {
+ return RecordType.USER_DEF_FIRST0;
+ }
+
+ public Object value()
+ {
+ return null;
+ }
+
+ public void setValue(Object object)
+ {
+ }
+
+ public int nestedAbort()
+ {
+ return TwoPhaseOutcome.FINISH_OK;
+ }
+
+ public int nestedCommit()
+ {
+ return TwoPhaseOutcome.FINISH_OK;
+ }
+
+ public int nestedPrepare()
+ {
+ return TwoPhaseOutcome.PREPARE_OK;
+ }
+
+ public int topLevelAbort()
+ {
+ return TwoPhaseOutcome.FINISH_OK;
+ }
+
+ public int topLevelCommit()
+ {
+ System.out.println("Passed");
+ System.exit(0);
+
+ return TwoPhaseOutcome.FINISH_OK;
+ }
+
+ public int topLevelPrepare()
+ {
+ return TwoPhaseOutcome.PREPARE_OK;
+ }
+
+ public void alter(AbstractRecord abstractRecord)
+ {
+ }
+
+ public void merge(AbstractRecord abstractRecord)
+ {
+ }
+
+ /*
+ public boolean equals(AbstractRecord abstractRecord)
+ {
+ return false;
+ }
+
+ public boolean lessThan(AbstractRecord abstractRecord)
+ {
+ return true;
+ }
+
+ public boolean greaterThan(AbstractRecord abstractRecord)
+ {
+ return false;
+ }
+ */
+ public boolean shouldAdd(AbstractRecord abstractRecord)
+ {
+ return false;
+ }
+
+ public boolean shouldAlter(AbstractRecord abstractRecord)
+ {
+ return false;
+ }
+
+ public boolean shouldMerge(AbstractRecord abstractRecord)
+ {
+ return false;
+ }
+
+ public boolean shouldReplace(AbstractRecord abstractRecord)
+ {
+ return false;
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery08Impls/ResourceImpl01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery08Impls/ResourceImpl01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery08Impls/ResourceImpl01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,172 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: ResourceImpl01.java,v 1.2 2003/06/26 11:43:41 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.CrashRecovery08Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ResourceImpl01.java,v 1.2 2003/06/26 11:43:41 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ResourceImpl01.java,v 1.2 2003/06/26 11:43:41 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery08.*;
+import org.omg.CosTransactions.*;
+
+public class ResourceImpl01 implements ResourceOperations
+{
+ public ResourceImpl01(int objectNumber, int resourceNumber)
+ {
+ _objectNumber = objectNumber;
+ _resourceNumber = resourceNumber;
+ }
+
+ public Vote prepare()
+ throws HeuristicMixed, HeuristicHazard
+ {
+ System.err.print("ResourceImpl01.prepare [O" + _objectNumber + ".R" + _resourceNumber + "]: ");
+
+ if (_resourceTrace == ResourceTrace.ResourceTraceNone)
+ {
+ _resourceTrace = ResourceTrace.ResourceTracePrepare;
+ }
+ else
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceUnknown;
+ }
+
+ System.err.println("ReturnVoteCommit");
+
+ return Vote.VoteCommit;
+ }
+
+ public void rollback()
+ throws HeuristicCommit, HeuristicMixed, HeuristicHazard
+ {
+ System.err.print("ResourceImpl01.rollback [O" + _objectNumber + ".R" + _resourceNumber + "]: ");
+
+ if (_resourceTrace == ResourceTrace.ResourceTraceNone)
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceRollback;
+ }
+ else
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceUnknown;
+ }
+
+ System.err.println("Return");
+ }
+
+ public void commit()
+ throws NotPrepared, HeuristicRollback, HeuristicMixed, HeuristicHazard
+ {
+ if (commitlog && _resourceTrace == ResourceTrace.ResourceTracePrepareCommit)
+ {
+ System.err.println("ResourceImpl01.commit [O" + _objectNumber + ".R" + _resourceNumber + "]: ");
+ System.err.println("Commit called again: This is acceptable");
+ return;
+ }
+
+ System.err.print("ResourceImpl01.commit [O" + _objectNumber + ".R" + _resourceNumber + "]: ");
+
+ if (_resourceTrace == ResourceTrace.ResourceTracePrepare)
+ {
+ _resourceTrace = ResourceTrace.ResourceTracePrepareCommit;
+ commitlog = true;
+ }
+ else
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceUnknown;
+ }
+
+ System.err.println("Return");
+ }
+
+ public void commit_one_phase()
+ throws HeuristicHazard
+ {
+ System.err.print("ResourceImpl01.commit_one_phase [O" + _objectNumber + ".R" + _resourceNumber + "]: ");
+
+ if (_resourceTrace == ResourceTrace.ResourceTraceNone)
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceCommitOnePhase;
+ }
+ else
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceUnknown;
+ }
+
+ System.err.println("Return");
+ }
+
+ public void forget()
+ {
+ System.err.println("ResourceImpl01.forget [O" + _objectNumber + ".R" + _resourceNumber + "]: Return");
+
+ _resourceTrace = ResourceTrace.ResourceTraceUnknown;
+ }
+
+ public boolean isCorrect()
+ {
+ return true;
+ }
+
+ public ResourceTrace getTrace()
+ {
+ return _resourceTrace;
+ }
+
+ private int _objectNumber;
+ private int _resourceNumber;
+ private ResourceTrace _resourceTrace = ResourceTrace.ResourceTraceNone;
+ private boolean commitlog = false;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery08Impls/ServiceImpl01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery08Impls/ServiceImpl01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery08Impls/ServiceImpl01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,127 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: ServiceImpl01.java,v 1.3 2003/07/17 15:26:59 jcoleman Exp $
+//
+
+package org.jboss.jbossts.qa.CrashRecovery08Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ServiceImpl01.java,v 1.3 2003/07/17 15:26:59 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ServiceImpl01.java,v 1.3 2003/07/17 15:26:59 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery08.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.omg.CosTransactions.*;
+
+public class ServiceImpl01 implements ServiceOperations
+{
+ public ServiceImpl01(int objectNumber)
+ {
+ _objectNumber = objectNumber;
+ }
+
+ public void setup_oper(Control ctrl, int number_of_resources)
+ {
+ _resourceImpl = new ResourceImpl01[number_of_resources];
+ _resource = new Resource[number_of_resources];
+ _recoveryCoordinator = new RecoveryCoordinator[number_of_resources];
+
+ for (int index = 0; index < number_of_resources; index++)
+ {
+ try
+ {
+ _resourceImpl[index] = new ResourceImpl01(_objectNumber, index);
+ ResourcePOATie servant = new ResourcePOATie(_resourceImpl[index]);
+
+ OAInterface.objectIsReady(servant);
+ _resource[index] = ResourceHelper.narrow(OAInterface.corbaReference(servant));
+
+ _recoveryCoordinator[index] = ctrl.get_coordinator().register_resource(_resource[index]);
+ }
+ catch (Exception exception)
+ {
+ System.err.println("ServiceImpl01.setup_oper: " + exception);
+ exception.printStackTrace(System.err);
+ _isCorrect = false;
+ }
+ }
+ }
+
+ public boolean is_correct()
+ {
+ System.err.println("ServiceImpl01.is_correct: " + _isCorrect);
+
+ return _isCorrect;
+ }
+
+ public ResourceTrace get_resource_trace(int resource_number)
+ {
+ ResourceTrace resourceTrace = ResourceTrace.ResourceTraceUnknown;
+
+ if ((resource_number >= 0) && (resource_number < _resourceImpl.length))
+ {
+ resourceTrace = _resourceImpl[resource_number].getTrace();
+ }
+
+ System.err.println("ServiceImpl01.get_resource_trace [O" + _objectNumber + ".R" + resource_number + "]: " + resourceTrace.value());
+
+ return resourceTrace;
+ }
+
+ private int _objectNumber;
+ private boolean _isCorrect = true;
+
+ private ResourceImpl01[] _resourceImpl = null;
+ private Resource[] _resource = null;
+ private RecoveryCoordinator[] _recoveryCoordinator = null;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery08Impls/ServiceImpl02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery08Impls/ServiceImpl02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery08Impls/ServiceImpl02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,140 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: ServiceImpl02.java,v 1.3 2003/07/17 15:26:59 jcoleman Exp $
+//
+
+package org.jboss.jbossts.qa.CrashRecovery08Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ServiceImpl02.java,v 1.3 2003/07/17 15:26:59 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ServiceImpl02.java,v 1.3 2003/07/17 15:26:59 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery08.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.omg.CosTransactions.*;
+
+public class ServiceImpl02 implements ServiceOperations
+{
+ public ServiceImpl02(int objectNumber)
+ {
+ _objectNumber = objectNumber;
+ }
+
+ public void setup_oper(Control ctrl, int number_of_resources)
+ {
+ _resourceImpl = new ResourceImpl01[number_of_resources];
+ _resource = new Resource[number_of_resources];
+ _recoveryCoordinator = new RecoveryCoordinator[number_of_resources];
+
+ try
+ {
+ com.arjuna.ats.jts.ExplicitInterposition interposition = new com.arjuna.ats.jts.ExplicitInterposition();
+
+ interposition.registerTransaction(ctrl);
+
+ for (int index = 0; index < number_of_resources; index++)
+ {
+ _resourceImpl[index] = new ResourceImpl01(_objectNumber, index);
+ ResourcePOATie servant = new ResourcePOATie(_resourceImpl[index]);
+
+ OAInterface.objectIsReady(servant);
+ _resource[index] = ResourceHelper.narrow(OAInterface.corbaReference(servant));
+
+ _recoveryCoordinator[index] = OTS.current().get_control().get_coordinator().register_resource(_resource[index]);
+ }
+
+ interposition.unregisterTransaction();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("ServiceImpl02.setup_oper: " + exception);
+ exception.printStackTrace(System.err);
+ _isCorrect = false;
+ }
+ catch (Error error)
+ {
+ System.err.println("ServiceImpl02.setup_oper: " + error);
+ error.printStackTrace(System.err);
+ _isCorrect = false;
+ }
+ }
+
+ public boolean is_correct()
+ {
+ System.err.println("ServiceImpl02.is_correct: " + _isCorrect);
+
+ return _isCorrect;
+ }
+
+ public ResourceTrace get_resource_trace(int resource_number)
+ {
+ ResourceTrace resourceTrace = ResourceTrace.ResourceTraceUnknown;
+
+ if ((resource_number >= 0) && (resource_number < _resourceImpl.length))
+ {
+ resourceTrace = _resourceImpl[resource_number].getTrace();
+ }
+
+ System.err.println("ServiceImpl02.get_resource_trace [O" + _objectNumber + ".R" + resource_number + "]: " + resourceTrace.value());
+
+ return resourceTrace;
+ }
+
+ private int _objectNumber;
+ private boolean _isCorrect = true;
+
+ private ResourceImpl01[] _resourceImpl = null;
+ private Resource[] _resource = null;
+ private RecoveryCoordinator[] _recoveryCoordinator = null;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery08Servers/Server01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery08Servers/Server01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery08Servers/Server01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,94 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.CrashRecovery08Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server01.java,v 1.2 2003/06/26 11:43:42 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server01.java,v 1.2 2003/06/26 11:43:42 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery08.*;
+import org.jboss.jbossts.qa.CrashRecovery08Impls.ServiceImpl01;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server01
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ ServiceImpl01 serviceImpl = new ServiceImpl01(0);
+ ServicePOATie servant = new ServicePOATie(serviceImpl);
+
+ OAInterface.objectIsReady(servant);
+ Service service = ServiceHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(service));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery08Servers/Server02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery08Servers/Server02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery08Servers/Server02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,93 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.CrashRecovery08Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server02.java,v 1.2 2003/06/26 11:43:42 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server02.java,v 1.2 2003/06/26 11:43:42 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery08.*;
+import org.jboss.jbossts.qa.CrashRecovery08Impls.ServiceImpl02;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server02
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ ServiceImpl02 serviceImpl = new ServiceImpl02(0);
+ ServicePOATie servant = new ServicePOATie(serviceImpl);
+
+ OAInterface.objectIsReady(servant);
+ Service service = ServiceHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(service));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server02.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery08Utils/Delays.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery08Utils/Delays.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery08Utils/Delays.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,45 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: Delays.java,v 1.8 2003/09/03 14:43:16 jcoleman Exp $
+//
+
+package org.jboss.jbossts.qa.CrashRecovery08Utils;
+
+public class Delays
+{
+ public static int recoveryDelay()
+ {
+ return 120 * 1000;
+ }
+
+ public static int recoveryDelay(int num_clients)
+ {
+ return (120 * 1000) + (120 * 1000 * num_clients);
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Cleanups/Cleanup01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Cleanups/Cleanup01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Cleanups/Cleanup01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,111 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: Cleanup01.java,v 1.2 2003/06/26 11:43:42 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.CrashRecovery09Cleanups;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Cleanup01.java,v 1.2 2003/06/26 11:43:42 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Cleanup01.java,v 1.2 2003/06/26 11:43:42 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery09.*;
+import org.jboss.jbossts.qa.Utils.JDBCProfileStore;
+
+import java.sql.Connection;
+import java.sql.DriverManager;
+import java.sql.Statement;
+
+public class Cleanup01
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ String profileName = args[args.length - 1];
+
+ int numberOfDrivers = JDBCProfileStore.numberOfDrivers(profileName);
+ for (int index = 0; index < numberOfDrivers; index++)
+ {
+ String driver = JDBCProfileStore.driver(profileName, index);
+
+ Class.forName(driver);
+ }
+
+ String databaseURL = JDBCProfileStore.databaseURL(profileName);
+ String databaseUser = JDBCProfileStore.databaseUser(profileName);
+ String databasePassword = JDBCProfileStore.databasePassword(profileName);
+
+ Connection connection = DriverManager.getConnection(databaseURL, databaseUser, databasePassword);
+ Statement statement = connection.createStatement();
+
+ statement.executeUpdate("DROP TABLE Service");
+
+ statement.close();
+ connection.close();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Cleanup01.main: " + exception);
+ }
+ }
+}
+
+
+
+
+
+
+
+
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Clients/Client01a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Clients/Client01a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Clients/Client01a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,119 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery09Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client01a.java,v 1.2 2003/06/26 11:43:43 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client01a.java,v 1.2 2003/06/26 11:43:43 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery09.*;
+import org.jboss.jbossts.qa.CrashRecovery09Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.IntHolder;
+
+public class Client01a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ Thread.sleep(Delays.recoveryDelay());
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ IntHolder valueHolder = new IntHolder();
+ service.get(valueHolder);
+ correct = correct && (valueHolder.value == 1);
+
+ OTS.current().commit(true);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client01a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client01a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Clients/Client01b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Clients/Client01b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Clients/Client01b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,120 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery09Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client01b.java,v 1.2 2003/06/26 11:43:43 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client01b.java,v 1.2 2003/06/26 11:43:43 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.arjuna.coordinator.AddOutcome;
+import com.arjuna.ats.arjuna.coordinator.BasicAction;
+import org.jboss.jbossts.qa.CrashRecovery09.*;
+import org.jboss.jbossts.qa.CrashRecovery09Impls.StartCrashAbstractRecordImpl;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client01b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service.set(0);
+
+ OTS.current().commit(true);
+
+ OTS.current().begin();
+
+ service.set(1);
+
+ correct = (BasicAction.Current().add(new StartCrashAbstractRecordImpl(StartCrashAbstractRecordImpl.CRASH_IN_COMMIT)) == AddOutcome.AR_ADDED);
+
+ if (correct)
+ {
+ OTS.current().commit(true);
+ }
+
+ System.out.println("Failed");
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client01b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client01b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Clients/Client02a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Clients/Client02a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Clients/Client02a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,119 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery09Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client02a.java,v 1.2 2003/06/26 11:43:43 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client02a.java,v 1.2 2003/06/26 11:43:43 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery09.*;
+import org.jboss.jbossts.qa.CrashRecovery09Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.IntHolder;
+
+public class Client02a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ Thread.sleep(Delays.recoveryDelay());
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ IntHolder valueHolder = new IntHolder();
+ service.get(valueHolder);
+ correct = correct && (valueHolder.value == 0);
+
+ OTS.current().commit(true);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client02a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client02a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Clients/Client02b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Clients/Client02b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Clients/Client02b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,120 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery09Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client02b.java,v 1.2 2003/06/26 11:43:43 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client02b.java,v 1.2 2003/06/26 11:43:43 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.arjuna.coordinator.AddOutcome;
+import com.arjuna.ats.arjuna.coordinator.BasicAction;
+import org.jboss.jbossts.qa.CrashRecovery09.*;
+import org.jboss.jbossts.qa.CrashRecovery09Impls.EndCrashAbstractRecordImpl;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client02b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service.set(0);
+
+ OTS.current().commit(true);
+
+ OTS.current().begin();
+
+ service.set(1);
+
+ correct = (BasicAction.Current().add(new EndCrashAbstractRecordImpl(EndCrashAbstractRecordImpl.CRASH_IN_PREPARE)) == AddOutcome.AR_ADDED);
+
+ if (correct)
+ {
+ OTS.current().commit(true);
+ }
+
+ System.out.println("Failed");
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client02b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client02b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Clients/Client03a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Clients/Client03a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Clients/Client03a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,125 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery09Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client03a.java,v 1.2 2003/06/26 11:43:43 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client03a.java,v 1.2 2003/06/26 11:43:43 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery09.*;
+import org.jboss.jbossts.qa.CrashRecovery09Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.IntHolder;
+
+public class Client03a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ Thread.sleep(Delays.recoveryDelay());
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ IntHolder valueHolder1 = new IntHolder();
+ IntHolder valueHolder2 = new IntHolder();
+ service1.get(valueHolder1);
+ service2.get(valueHolder2);
+ correct = correct && (valueHolder1.value == 1);
+ correct = correct && (valueHolder2.value == 1);
+
+ OTS.current().commit(true);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client03a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client03a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Clients/Client03b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Clients/Client03b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Clients/Client03b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,125 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery09Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client03b.java,v 1.2 2003/06/26 11:43:43 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client03b.java,v 1.2 2003/06/26 11:43:43 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.arjuna.coordinator.AddOutcome;
+import com.arjuna.ats.arjuna.coordinator.BasicAction;
+import org.jboss.jbossts.qa.CrashRecovery09.*;
+import org.jboss.jbossts.qa.CrashRecovery09Impls.StartCrashAbstractRecordImpl;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client03b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.set(0);
+ service2.set(0);
+
+ OTS.current().commit(true);
+
+ OTS.current().begin();
+
+ service1.set(1);
+ service2.set(1);
+
+ correct = (BasicAction.Current().add(new StartCrashAbstractRecordImpl(StartCrashAbstractRecordImpl.CRASH_IN_COMMIT)) == AddOutcome.AR_ADDED);
+
+ if (correct)
+ {
+ OTS.current().commit(true);
+ }
+
+ System.out.println("Failed");
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client03b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client03b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Clients/Client04a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Clients/Client04a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Clients/Client04a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,125 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery09Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client04a.java,v 1.2 2003/06/26 11:43:43 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client04a.java,v 1.2 2003/06/26 11:43:43 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery09.*;
+import org.jboss.jbossts.qa.CrashRecovery09Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.IntHolder;
+
+public class Client04a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ Thread.sleep(Delays.recoveryDelay());
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ IntHolder valueHolder1 = new IntHolder();
+ IntHolder valueHolder2 = new IntHolder();
+ service1.get(valueHolder1);
+ service2.get(valueHolder2);
+ correct = correct && (valueHolder1.value == 0);
+ correct = correct && (valueHolder2.value == 0);
+
+ OTS.current().commit(true);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client04a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client04a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Clients/Client04b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Clients/Client04b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Clients/Client04b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,125 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery09Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client04b.java,v 1.2 2003/06/26 11:43:43 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client04b.java,v 1.2 2003/06/26 11:43:43 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.arjuna.coordinator.AddOutcome;
+import com.arjuna.ats.arjuna.coordinator.BasicAction;
+import org.jboss.jbossts.qa.CrashRecovery09.*;
+import org.jboss.jbossts.qa.CrashRecovery09Impls.EndCrashAbstractRecordImpl;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client04b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service2.set(0);
+ service2.set(0);
+
+ OTS.current().commit(true);
+
+ OTS.current().begin();
+
+ service1.set(1);
+ service2.set(1);
+
+ correct = (BasicAction.Current().add(new EndCrashAbstractRecordImpl(EndCrashAbstractRecordImpl.CRASH_IN_PREPARE)) == AddOutcome.AR_ADDED);
+
+ if (correct)
+ {
+ OTS.current().commit(true);
+ }
+
+ System.out.println("Failed");
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client04b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client04b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Impls/AITServiceImpl01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Impls/AITServiceImpl01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Impls/AITServiceImpl01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,192 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: AITServiceImpl01.java,v 1.2 2003/06/26 11:43:44 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.CrashRecovery09Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AITServiceImpl01.java,v 1.2 2003/06/26 11:43:44 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AITServiceImpl01.java,v 1.2 2003/06/26 11:43:44 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.arjuna.ObjectType;
+import com.arjuna.ats.arjuna.common.Uid;
+import com.arjuna.ats.arjuna.state.InputObjectState;
+import com.arjuna.ats.arjuna.state.OutputObjectState;
+import com.arjuna.ats.txoj.Lock;
+import com.arjuna.ats.txoj.LockManager;
+import com.arjuna.ats.txoj.LockMode;
+import com.arjuna.ats.txoj.LockResult;
+import org.jboss.jbossts.qa.CrashRecovery09.*;
+import org.omg.CORBA.IntHolder;
+
+public class AITServiceImpl01 extends LockManager implements ServiceOperations
+{
+ public AITServiceImpl01()
+ throws InvocationException
+ {
+ super(ObjectType.ANDPERSISTENT);
+
+ _value = 0;
+ }
+
+ public AITServiceImpl01(Uid uid)
+ throws InvocationException
+ {
+ super(uid);
+
+ _value = 0;
+ }
+
+ public void finalize()
+ throws Throwable
+ {
+ try
+ {
+ super.terminate();
+ super.finalize();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITServiceImpl01.finalize: " + exception);
+ throw exception;
+ }
+ }
+
+ public void get(IntHolder value)
+ throws InvocationException
+ {
+ try
+ {
+ if (setlock(new Lock(LockMode.READ), 0) == LockResult.GRANTED)
+ {
+ value.value = _value;
+ }
+ else
+ {
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITServiceImpl01.get: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public void set(int value)
+ throws InvocationException
+ {
+ try
+ {
+ if (setlock(new Lock(LockMode.WRITE), 0) == LockResult.GRANTED)
+ {
+ _value = value;
+ }
+ else
+ {
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITServiceImpl01.set: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public boolean save_state(OutputObjectState objectState, int objectType)
+ {
+ super.save_state(objectState, objectType);
+ try
+ {
+ objectState.packInt(_value);
+ return true;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITServiceImpl01.save_state: " + exception);
+ return false;
+ }
+ }
+
+ public boolean restore_state(InputObjectState objectState, int objectType)
+ {
+ super.restore_state(objectState, objectType);
+ try
+ {
+ _value = objectState.unpackInt();
+ return true;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITServiceImpl01.restore_state: " + exception);
+ return false;
+ }
+ }
+
+ public String type()
+ {
+ return "/StateManager/LockManager/AITServiceImpl01";
+ }
+
+ private int _value;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Impls/EndCrashAbstractRecordImpl.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Impls/EndCrashAbstractRecordImpl.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Impls/EndCrashAbstractRecordImpl.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,149 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: EndCrashAbstractRecordImpl.java,v 1.2 2003/06/26 11:43:44 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.CrashRecovery09Impls;
+
+import com.arjuna.ats.arjuna.ObjectType;
+import com.arjuna.ats.arjuna.common.Uid;
+import com.arjuna.ats.arjuna.coordinator.AbstractRecord;
+import com.arjuna.ats.arjuna.coordinator.RecordType;
+import com.arjuna.ats.arjuna.coordinator.TwoPhaseOutcome;
+
+public class EndCrashAbstractRecordImpl extends AbstractRecord
+{
+ public static final int NO_CRASH = 0;
+ public static final int CRASH_IN_PREPARE = 1;
+ public static final int CRASH_IN_COMMIT = 2;
+ public static final int CRASH_IN_ABORT = 3;
+
+ public EndCrashAbstractRecordImpl(int crashBehavior)
+ {
+ //
+ // to get the appropriate ordering it is necessary to
+ // fabricate a suitable objectUid
+ //
+ super(new Uid("7FFFFFFF:0:0:0"), "EndCrashAbstractRecord", ObjectType.NEITHER);
+
+ _crashBehavior = crashBehavior;
+ }
+
+ public int typeIs()
+ {
+ return RecordType.USER_DEF_LAST9;
+ }
+
+ public Object value()
+ {
+ return null;
+ }
+
+ public void setValue(Object object)
+ {
+ }
+
+ public int nestedAbort()
+ {
+ return TwoPhaseOutcome.FINISH_OK;
+ }
+
+ public int nestedCommit()
+ {
+ return TwoPhaseOutcome.FINISH_OK;
+ }
+
+ public int nestedPrepare()
+ {
+ return TwoPhaseOutcome.PREPARE_OK;
+ }
+
+ public int topLevelAbort()
+ {
+ if (_crashBehavior == CRASH_IN_ABORT)
+ {
+ System.out.println("Passed");
+ System.exit(0);
+ }
+
+ return TwoPhaseOutcome.FINISH_OK;
+ }
+
+ public int topLevelCommit()
+ {
+ if (_crashBehavior == CRASH_IN_COMMIT)
+ {
+ System.out.println("Passed");
+ System.exit(0);
+ }
+
+ return TwoPhaseOutcome.FINISH_OK;
+ }
+
+ public int topLevelPrepare()
+ {
+ if (_crashBehavior == CRASH_IN_PREPARE)
+ {
+ System.out.println("Passed");
+ System.exit(0);
+ }
+
+ return TwoPhaseOutcome.PREPARE_OK;
+ }
+
+ public void alter(AbstractRecord abstractRecord)
+ {
+ }
+
+ public void merge(AbstractRecord abstractRecord)
+ {
+ }
+
+ public boolean shouldAdd(AbstractRecord abstractRecord)
+ {
+ return false;
+ }
+
+ public boolean shouldAlter(AbstractRecord abstractRecord)
+ {
+ return false;
+ }
+
+ public boolean shouldMerge(AbstractRecord abstractRecord)
+ {
+ return false;
+ }
+
+ public boolean shouldReplace(AbstractRecord abstractRecord)
+ {
+ return false;
+ }
+
+ private int _crashBehavior = NO_CRASH;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Impls/JDBCServiceImpl01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Impls/JDBCServiceImpl01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Impls/JDBCServiceImpl01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,170 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: JDBCServiceImpl01.java,v 1.2 2003/06/26 11:43:44 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.CrashRecovery09Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: JDBCServiceImpl01.java,v 1.2 2003/06/26 11:43:44 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: JDBCServiceImpl01.java,v 1.2 2003/06/26 11:43:44 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery09.*;
+import org.omg.CORBA.IntHolder;
+
+import java.sql.Connection;
+import java.sql.DriverManager;
+import java.sql.ResultSet;
+import java.sql.Statement;
+import java.util.Properties;
+
+public class JDBCServiceImpl01 implements ServiceOperations
+{
+ public JDBCServiceImpl01(String rowName, String databaseURL, String databaseUser, String databasePassword, String databaseDynamicClass)
+ throws InvocationException
+ {
+ try
+ {
+ _rowName = rowName;
+
+ if (databaseDynamicClass != null)
+ {
+ Properties databaseProperties = new Properties();
+
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.userName, databaseUser);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.password, databasePassword);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.dynamicClass, databaseDynamicClass);
+
+ _connection = DriverManager.getConnection(databaseURL, databaseProperties);
+ }
+ else
+ {
+ _connection = DriverManager.getConnection(databaseURL, databaseUser, databasePassword);
+ }
+
+ Statement statement = _connection.createStatement();
+
+ statement.executeUpdate("INSERT Service SET Value = \'0\' WHERE Name = \'TheEntry\'");
+
+ statement.close();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCServiceImpl01.JDBCServiceImpl01: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public void finalize()
+ throws Throwable
+ {
+ try
+ {
+ if (_connection != null)
+ {
+ _connection.close();
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCServiceImpl01.finalize: " + exception);
+ throw exception;
+ }
+ }
+
+ public void set(int value)
+ throws InvocationException
+ {
+ try
+ {
+ Statement statement = _connection.createStatement();
+
+ statement.executeUpdate("UPDATE Service SET Value = \'" + value + "\' WHERE Name = \'" + _rowName + "\'");
+
+ statement.close();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCServiceImpl01.set: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public void get(IntHolder value)
+ throws InvocationException
+ {
+ try
+ {
+ Statement statement = _connection.createStatement();
+
+ ResultSet resultSet = statement.executeQuery("SELECT Value FROM Service WHERE Name = \'" + _rowName + "\'");
+ resultSet.next();
+ value.value = resultSet.getInt("Value");
+ if (resultSet.next())
+ {
+ throw new Exception();
+ }
+
+ resultSet.close();
+ statement.close();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCServiceImpl01.select: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ private String _rowName;
+ private Connection _connection;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Impls/StartCrashAbstractRecordImpl.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Impls/StartCrashAbstractRecordImpl.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Impls/StartCrashAbstractRecordImpl.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,150 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: StartCrashAbstractRecordImpl.java,v 1.2 2003/06/26 11:43:44 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.CrashRecovery09Impls;
+
+import com.arjuna.ats.arjuna.ObjectType;
+import com.arjuna.ats.arjuna.common.Uid;
+import com.arjuna.ats.arjuna.coordinator.AbstractRecord;
+import com.arjuna.ats.arjuna.coordinator.RecordType;
+import com.arjuna.ats.arjuna.coordinator.TwoPhaseOutcome;
+
+public class StartCrashAbstractRecordImpl extends AbstractRecord
+{
+ public static final int NO_CRASH = 0;
+ public static final int CRASH_IN_PREPARE = 1;
+ public static final int CRASH_IN_COMMIT = 2;
+ public static final int CRASH_IN_ABORT = 3;
+
+ public StartCrashAbstractRecordImpl(int crashBehavior)
+ {
+ //
+ // to get the appropriate ordering it is necessary to
+ // fabricate a suitable objectUid
+ //
+ super(new Uid("-7FFFFFFF:0:0:0"), "StartCrashAbstractRecord", ObjectType.NEITHER);
+
+ _crashBehavior = crashBehavior;
+ }
+
+ public int typeIs()
+ {
+ return RecordType.USER_DEF_FIRST0;
+ }
+
+ public Object value()
+ {
+ return null;
+ }
+
+ public void setValue(Object object)
+ {
+ }
+
+ public int nestedAbort()
+ {
+ return TwoPhaseOutcome.FINISH_OK;
+ }
+
+ public int nestedCommit()
+ {
+ return TwoPhaseOutcome.FINISH_OK;
+ }
+
+ public int nestedPrepare()
+ {
+ return TwoPhaseOutcome.PREPARE_OK;
+ }
+
+ public int topLevelAbort()
+ {
+ if (_crashBehavior == CRASH_IN_ABORT)
+ {
+ System.out.println("Passed");
+ System.exit(0);
+ }
+
+ return TwoPhaseOutcome.FINISH_OK;
+ }
+
+ public int topLevelCommit()
+ {
+
+ if (_crashBehavior == CRASH_IN_COMMIT)
+ {
+ System.out.println("Passed");
+ System.exit(0);
+ }
+
+ return TwoPhaseOutcome.FINISH_OK;
+ }
+
+ public int topLevelPrepare()
+ {
+ if (_crashBehavior == CRASH_IN_PREPARE)
+ {
+ System.out.println("Passed");
+ System.exit(0);
+ }
+
+ return TwoPhaseOutcome.PREPARE_OK;
+ }
+
+ public void alter(AbstractRecord abstractRecord)
+ {
+ }
+
+ public void merge(AbstractRecord abstractRecord)
+ {
+ }
+
+ public boolean shouldAdd(AbstractRecord abstractRecord)
+ {
+ return false;
+ }
+
+ public boolean shouldAlter(AbstractRecord abstractRecord)
+ {
+ return false;
+ }
+
+ public boolean shouldMerge(AbstractRecord abstractRecord)
+ {
+ return false;
+ }
+
+ public boolean shouldReplace(AbstractRecord abstractRecord)
+ {
+ return false;
+ }
+
+ private int _crashBehavior = NO_CRASH;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Servers/AITServer01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Servers/AITServer01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Servers/AITServer01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,96 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.CrashRecovery09Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AITServer01.java,v 1.2 2003/06/26 11:43:44 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AITServer01.java,v 1.2 2003/06/26 11:43:44 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery09.*;
+import org.jboss.jbossts.qa.CrashRecovery09Impls.AITServiceImpl01;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ObjectUidStore;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class AITServer01
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ AITServiceImpl01 aitServiceImpl = new AITServiceImpl01();
+ ServicePOATie servant = new ServicePOATie(aitServiceImpl);
+
+ OAInterface.objectIsReady(servant);
+ Service service = ServiceHelper.narrow(OAInterface.corbaReference(servant));
+
+ ObjectUidStore.storeUid(args[args.length - 2], aitServiceImpl.get_uid());
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(service));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITServer01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Servers/AITServer02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Servers/AITServer02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Servers/AITServer02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,98 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.CrashRecovery09Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AITServer02.java,v 1.2 2003/06/26 11:43:44 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AITServer02.java,v 1.2 2003/06/26 11:43:44 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.arjuna.common.Uid;
+import org.jboss.jbossts.qa.CrashRecovery09.*;
+import org.jboss.jbossts.qa.CrashRecovery09Impls.AITServiceImpl01;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ObjectUidStore;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class AITServer02
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ Uid uid = ObjectUidStore.loadUid(args[args.length - 2]);
+
+ AITServiceImpl01 aitServiceImpl = new AITServiceImpl01(uid);
+ ServicePOATie servant = new ServicePOATie(aitServiceImpl);
+
+ OAInterface.objectIsReady(servant);
+ Service service = ServiceHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(service));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITServer02.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Servers/AITServer03.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Servers/AITServer03.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Servers/AITServer03.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,104 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.CrashRecovery09Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AITServer03.java,v 1.2 2003/06/26 11:43:44 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AITServer03.java,v 1.2 2003/06/26 11:43:44 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery09.*;
+import org.jboss.jbossts.qa.CrashRecovery09Impls.AITServiceImpl01;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ObjectUidStore;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class AITServer03
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ AITServiceImpl01 aitServiceImpl1 = new AITServiceImpl01();
+ AITServiceImpl01 aitServiceImpl2 = new AITServiceImpl01();
+
+ ServicePOATie servant1 = new ServicePOATie(aitServiceImpl1);
+ ServicePOATie servant2 = new ServicePOATie(aitServiceImpl2);
+
+ OAInterface.objectIsReady(servant1);
+ Service service1 = ServiceHelper.narrow(OAInterface.corbaReference(servant1));
+
+ OAInterface.objectIsReady(servant2);
+ Service service2 = ServiceHelper.narrow(OAInterface.corbaReference(servant2));
+
+ ObjectUidStore.storeUid(args[args.length - 4], aitServiceImpl1.get_uid());
+ ObjectUidStore.storeUid(args[args.length - 3], aitServiceImpl2.get_uid());
+ ServerIORStore.storeIOR(args[args.length - 2], ORBInterface.orb().object_to_string(service1));
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(service2));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITServer03.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Servers/AITServer04.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Servers/AITServer04.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Servers/AITServer04.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,106 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.CrashRecovery09Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AITServer04.java,v 1.2 2003/06/26 11:43:44 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AITServer04.java,v 1.2 2003/06/26 11:43:44 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.arjuna.common.Uid;
+import org.jboss.jbossts.qa.CrashRecovery09.*;
+import org.jboss.jbossts.qa.CrashRecovery09Impls.AITServiceImpl01;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ObjectUidStore;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class AITServer04
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ Uid uid1 = ObjectUidStore.loadUid(args[args.length - 4]);
+ Uid uid2 = ObjectUidStore.loadUid(args[args.length - 3]);
+
+ AITServiceImpl01 aitServiceImpl1 = new AITServiceImpl01(uid1);
+ AITServiceImpl01 aitServiceImpl2 = new AITServiceImpl01(uid2);
+
+ ServicePOATie servant1 = new ServicePOATie(aitServiceImpl1);
+ ServicePOATie servant2 = new ServicePOATie(aitServiceImpl2);
+
+ OAInterface.objectIsReady(servant1);
+ Service service1 = ServiceHelper.narrow(OAInterface.corbaReference(servant1));
+
+ OAInterface.objectIsReady(servant2);
+ Service service2 = ServiceHelper.narrow(OAInterface.corbaReference(servant2));
+
+ ServerIORStore.storeIOR(args[args.length - 2], ORBInterface.orb().object_to_string(service1));
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(service2));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITServer04.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Servers/JDBCServer01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Servers/JDBCServer01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Servers/JDBCServer01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,110 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.CrashRecovery09Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: JDBCServer01.java,v 1.2 2003/06/26 11:43:44 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: JDBCServer01.java,v 1.2 2003/06/26 11:43:44 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery09.*;
+import org.jboss.jbossts.qa.CrashRecovery09Impls.JDBCServiceImpl01;
+import org.jboss.jbossts.qa.Utils.JDBCProfileStore;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class JDBCServer01
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String profileName = args[args.length - 2];
+
+ int numberOfDrivers = JDBCProfileStore.numberOfDrivers(profileName);
+ for (int index = 0; index < numberOfDrivers; index++)
+ {
+ String driver = JDBCProfileStore.driver(profileName, index);
+
+ Class.forName(driver);
+ }
+
+ String databaseURL = JDBCProfileStore.databaseURL(profileName);
+ String databaseUser = JDBCProfileStore.databaseUser(profileName);
+ String databasePassword = JDBCProfileStore.databasePassword(profileName);
+ String databaseDynamicClass = JDBCProfileStore.databaseDynamicClass(profileName);
+
+ JDBCServiceImpl01 jdbcServiceImpl = new JDBCServiceImpl01(args[args.length - 1], databaseURL, databaseUser, databasePassword, databaseDynamicClass);
+ ServicePOATie servant = new ServicePOATie(jdbcServiceImpl);
+
+ OAInterface.objectIsReady(servant);
+ Service service = ServiceHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(service));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCServer01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Servers/JDBCServer02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Servers/JDBCServer02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Servers/JDBCServer02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,117 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.CrashRecovery09Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: JDBCServer02.java,v 1.2 2003/06/26 11:43:44 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: JDBCServer02.java,v 1.2 2003/06/26 11:43:44 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery09.*;
+import org.jboss.jbossts.qa.CrashRecovery09Impls.JDBCServiceImpl01;
+import org.jboss.jbossts.qa.Utils.JDBCProfileStore;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class JDBCServer02
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String profileName = args[args.length - 3];
+
+ int numberOfDrivers = JDBCProfileStore.numberOfDrivers(profileName);
+ for (int index = 0; index < numberOfDrivers; index++)
+ {
+ String driver = JDBCProfileStore.driver(profileName, index);
+
+ Class.forName(driver);
+ }
+
+ String databaseURL = JDBCProfileStore.databaseURL(profileName);
+ String databaseUser = JDBCProfileStore.databaseUser(profileName);
+ String databasePassword = JDBCProfileStore.databasePassword(profileName);
+ String databaseDynamicClass = JDBCProfileStore.databaseDynamicClass(profileName);
+
+ JDBCServiceImpl01 jdbcServiceImpl1 = new JDBCServiceImpl01(args[args.length - 2], databaseURL, databaseUser, databasePassword, databaseDynamicClass);
+ JDBCServiceImpl01 jdbcServiceImpl2 = new JDBCServiceImpl01(args[args.length - 1], databaseURL, databaseUser, databasePassword, databaseDynamicClass);
+
+ ServicePOATie servant1 = new ServicePOATie(jdbcServiceImpl1);
+ ServicePOATie servant2 = new ServicePOATie(jdbcServiceImpl2);
+
+ OAInterface.objectIsReady(servant1);
+ Service service1 = ServiceHelper.narrow(OAInterface.corbaReference(servant1));
+
+ OAInterface.objectIsReady(servant2);
+ Service service2 = ServiceHelper.narrow(OAInterface.corbaReference(servant2));
+
+ ServerIORStore.storeIOR(args[args.length - 2], ORBInterface.orb().object_to_string(service1));
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(service2));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCServer02.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Setups/Setup01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Setups/Setup01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Setups/Setup01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,119 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: Setup01.java,v 1.2 2003/06/26 11:43:45 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.CrashRecovery09Setups;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Setup01.java,v 1.2 2003/06/26 11:43:45 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Setup01.java,v 1.2 2003/06/26 11:43:45 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery09.*;
+import org.jboss.jbossts.qa.Utils.JDBCProfileStore;
+
+import java.sql.Connection;
+import java.sql.DriverManager;
+import java.sql.Statement;
+import java.util.Properties;
+
+public class Setup01
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ String profileName = args[args.length - 1];
+
+ int numberOfDrivers = JDBCProfileStore.numberOfDrivers(profileName);
+ for (int index = 0; index < numberOfDrivers; index++)
+ {
+ String driver = JDBCProfileStore.driver(profileName, index);
+
+ Class.forName(driver);
+ }
+
+ String databaseURL = JDBCProfileStore.databaseURL(profileName);
+ String databaseUser = JDBCProfileStore.databaseUser(profileName);
+ String databasePassword = JDBCProfileStore.databasePassword(profileName);
+ String databaseDynamicClass = JDBCProfileStore.databaseDynamicClass(profileName);
+
+ Connection connection;
+ if (databaseDynamicClass != null)
+ {
+ Properties databaseProperties = new Properties();
+
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.userName, databaseUser);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.password, databasePassword);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.dynamicClass, databaseDynamicClass);
+
+ connection = DriverManager.getConnection(databaseURL, databaseProperties);
+ }
+ else
+ {
+ connection = DriverManager.getConnection(databaseURL, databaseUser, databasePassword);
+ }
+
+ Statement statement = connection.createStatement();
+
+ statement.executeUpdate("CREATE TABLE Service (Name VARCHAR(64), Value NUMBER)");
+
+ statement.close();
+ connection.close();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Setup01.main: " + exception);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Utils/Delays.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Utils/Delays.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery09Utils/Delays.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,40 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: Delays.java,v 1.2 2003/06/26 11:43:45 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.CrashRecovery09Utils;
+
+public class Delays
+{
+ public static int recoveryDelay()
+ {
+ return 60 * 1000;
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Cleanups/Cleanup01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Cleanups/Cleanup01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Cleanups/Cleanup01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,111 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: Cleanup01.java,v 1.2 2003/06/26 11:43:46 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.CrashRecovery10Cleanups;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Cleanup01.java,v 1.2 2003/06/26 11:43:46 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Cleanup01.java,v 1.2 2003/06/26 11:43:46 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery10.*;
+import org.jboss.jbossts.qa.Utils.JDBCProfileStore;
+
+import java.sql.Connection;
+import java.sql.DriverManager;
+import java.sql.Statement;
+
+public class Cleanup01
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ String profileName = args[args.length - 1];
+
+ int numberOfDrivers = JDBCProfileStore.numberOfDrivers(profileName);
+ for (int index = 0; index < numberOfDrivers; index++)
+ {
+ String driver = JDBCProfileStore.driver(profileName, index);
+
+ Class.forName(driver);
+ }
+
+ String databaseURL = JDBCProfileStore.databaseURL(profileName);
+ String databaseUser = JDBCProfileStore.databaseUser(profileName);
+ String databasePassword = JDBCProfileStore.databasePassword(profileName);
+
+ Connection connection = DriverManager.getConnection(databaseURL, databaseUser, databasePassword);
+ Statement statement = connection.createStatement();
+
+ statement.executeUpdate("DROP TABLE Service");
+
+ statement.close();
+ connection.close();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Cleanup01.main: " + exception);
+ }
+ }
+}
+
+
+
+
+
+
+
+
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Clients/Client01a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Clients/Client01a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Clients/Client01a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,119 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery10Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client01a.java,v 1.2 2003/06/26 11:43:46 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client01a.java,v 1.2 2003/06/26 11:43:46 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery10.*;
+import org.jboss.jbossts.qa.CrashRecovery10Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.IntHolder;
+
+public class Client01a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ Thread.sleep(Delays.recoveryDelay());
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ IntHolder valueHolder = new IntHolder();
+ service.get(OTS.get_current().get_control(), valueHolder);
+ correct = correct && (valueHolder.value == 1);
+
+ OTS.current().commit(true);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client01a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client01a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Clients/Client01b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Clients/Client01b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Clients/Client01b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,120 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery10Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client01b.java,v 1.2 2003/06/26 11:43:46 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client01b.java,v 1.2 2003/06/26 11:43:46 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.arjuna.coordinator.AddOutcome;
+import com.arjuna.ats.arjuna.coordinator.BasicAction;
+import org.jboss.jbossts.qa.CrashRecovery10.*;
+import org.jboss.jbossts.qa.CrashRecovery10Impls.StartCrashAbstractRecordImpl;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client01b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service.set(OTS.current().get_control(), 0);
+
+ OTS.current().commit(true);
+
+ OTS.current().begin();
+
+ service.set(OTS.current().get_control(), 1);
+
+ correct = (BasicAction.Current().add(new StartCrashAbstractRecordImpl(StartCrashAbstractRecordImpl.CRASH_IN_COMMIT)) == AddOutcome.AR_ADDED);
+
+ if (correct)
+ {
+ OTS.current().commit(true);
+ }
+
+ System.out.println("Failed");
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client01b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client01b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Clients/Client02a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Clients/Client02a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Clients/Client02a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,119 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery10Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client02a.java,v 1.2 2003/06/26 11:43:46 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client02a.java,v 1.2 2003/06/26 11:43:46 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery10.*;
+import org.jboss.jbossts.qa.CrashRecovery10Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.IntHolder;
+
+public class Client02a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ Thread.sleep(Delays.recoveryDelay());
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ IntHolder valueHolder = new IntHolder();
+ service.get(OTS.current().get_control(), valueHolder);
+ correct = correct && (valueHolder.value == 0);
+
+ OTS.current().commit(true);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client02a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client02a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Clients/Client02b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Clients/Client02b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Clients/Client02b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,120 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery10Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client02b.java,v 1.2 2003/06/26 11:43:46 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client02b.java,v 1.2 2003/06/26 11:43:46 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.arjuna.coordinator.AddOutcome;
+import com.arjuna.ats.arjuna.coordinator.BasicAction;
+import org.jboss.jbossts.qa.CrashRecovery10.*;
+import org.jboss.jbossts.qa.CrashRecovery10Impls.EndCrashAbstractRecordImpl;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client02b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service.set(OTS.current().get_control(), 0);
+
+ OTS.current().commit(true);
+
+ OTS.current().begin();
+
+ service.set(OTS.current().get_control(), 1);
+
+ correct = (BasicAction.Current().add(new EndCrashAbstractRecordImpl(EndCrashAbstractRecordImpl.CRASH_IN_PREPARE)) == AddOutcome.AR_ADDED);
+
+ if (correct)
+ {
+ OTS.current().commit(true);
+ }
+
+ System.out.println("Failed");
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client02b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client02b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Clients/Client03a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Clients/Client03a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Clients/Client03a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,125 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery10Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client03a.java,v 1.2 2003/06/26 11:43:46 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client03a.java,v 1.2 2003/06/26 11:43:46 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery10.*;
+import org.jboss.jbossts.qa.CrashRecovery10Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.IntHolder;
+
+public class Client03a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ Thread.sleep(Delays.recoveryDelay());
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ IntHolder valueHolder1 = new IntHolder();
+ IntHolder valueHolder2 = new IntHolder();
+ service1.get(OTS.get_current().get_control(), valueHolder1);
+ service2.get(OTS.get_current().get_control(), valueHolder2);
+ correct = correct && (valueHolder1.value == 1);
+ correct = correct && (valueHolder2.value == 1);
+
+ OTS.current().commit(true);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client03a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client03a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Clients/Client03b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Clients/Client03b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Clients/Client03b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,125 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery10Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client03b.java,v 1.2 2003/06/26 11:43:46 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client03b.java,v 1.2 2003/06/26 11:43:46 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.arjuna.coordinator.AddOutcome;
+import com.arjuna.ats.arjuna.coordinator.BasicAction;
+import org.jboss.jbossts.qa.CrashRecovery10.*;
+import org.jboss.jbossts.qa.CrashRecovery10Impls.StartCrashAbstractRecordImpl;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client03b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.set(OTS.current().get_control(), 0);
+ service2.set(OTS.current().get_control(), 0);
+
+ OTS.current().commit(true);
+
+ OTS.current().begin();
+
+ service1.set(OTS.current().get_control(), 1);
+ service2.set(OTS.current().get_control(), 1);
+
+ correct = (BasicAction.Current().add(new StartCrashAbstractRecordImpl(StartCrashAbstractRecordImpl.CRASH_IN_COMMIT)) == AddOutcome.AR_ADDED);
+
+ if (correct)
+ {
+ OTS.current().commit(true);
+ }
+
+ System.out.println("Failed");
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client03b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client03b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Clients/Client04a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Clients/Client04a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Clients/Client04a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,125 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery10Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client04a.java,v 1.2 2003/06/26 11:43:46 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client04a.java,v 1.2 2003/06/26 11:43:46 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery10.*;
+import org.jboss.jbossts.qa.CrashRecovery10Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.IntHolder;
+
+public class Client04a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ Thread.sleep(Delays.recoveryDelay());
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ IntHolder valueHolder1 = new IntHolder();
+ IntHolder valueHolder2 = new IntHolder();
+ service1.get(OTS.current().get_control(), valueHolder1);
+ service2.get(OTS.current().get_control(), valueHolder2);
+ correct = correct && (valueHolder1.value == 0);
+ correct = correct && (valueHolder2.value == 0);
+
+ OTS.current().commit(true);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client04a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client04a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Clients/Client04b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Clients/Client04b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Clients/Client04b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,125 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery10Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client04b.java,v 1.2 2003/06/26 11:43:46 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client04b.java,v 1.2 2003/06/26 11:43:46 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.arjuna.coordinator.AddOutcome;
+import com.arjuna.ats.arjuna.coordinator.BasicAction;
+import org.jboss.jbossts.qa.CrashRecovery10.*;
+import org.jboss.jbossts.qa.CrashRecovery10Impls.EndCrashAbstractRecordImpl;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client04b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service2.set(OTS.current().get_control(), 0);
+ service2.set(OTS.current().get_control(), 0);
+
+ OTS.current().commit(true);
+
+ OTS.current().begin();
+
+ service1.set(OTS.current().get_control(), 1);
+ service2.set(OTS.current().get_control(), 1);
+
+ correct = (BasicAction.Current().add(new EndCrashAbstractRecordImpl(EndCrashAbstractRecordImpl.CRASH_IN_PREPARE)) == AddOutcome.AR_ADDED);
+
+ if (correct)
+ {
+ OTS.current().commit(true);
+ }
+
+ System.out.println("Failed");
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client04b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client04b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Impls/AITServiceImpl01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Impls/AITServiceImpl01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Impls/AITServiceImpl01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,249 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: AITServiceImpl01.java,v 1.2 2003/06/26 11:43:47 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.CrashRecovery10Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AITServiceImpl01.java,v 1.2 2003/06/26 11:43:47 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AITServiceImpl01.java,v 1.2 2003/06/26 11:43:47 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.arjuna.ObjectType;
+import com.arjuna.ats.arjuna.common.Uid;
+import com.arjuna.ats.arjuna.state.InputObjectState;
+import com.arjuna.ats.arjuna.state.OutputObjectState;
+import com.arjuna.ats.txoj.Lock;
+import com.arjuna.ats.txoj.LockManager;
+import com.arjuna.ats.txoj.LockMode;
+import com.arjuna.ats.txoj.LockResult;
+import org.jboss.jbossts.qa.CrashRecovery10.*;
+import org.omg.CORBA.IntHolder;
+import org.omg.CosTransactions.Control;
+
+public class AITServiceImpl01 extends LockManager implements ServiceOperations
+{
+ public AITServiceImpl01()
+ throws InvocationException
+ {
+ super(ObjectType.ANDPERSISTENT);
+
+ _value = 0;
+ }
+
+ public AITServiceImpl01(Uid uid)
+ throws InvocationException
+ {
+ super(uid);
+
+ _value = 0;
+ }
+
+ public void finalize()
+ throws Throwable
+ {
+ try
+ {
+ super.terminate();
+ super.finalize();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITServiceImpl01.finalize: " + exception);
+ throw exception;
+ }
+ }
+
+ public void get(Control ctrl, IntHolder value)
+ throws InvocationException
+ {
+ try
+ {
+ com.arjuna.ats.jts.ExplicitInterposition interposition = new com.arjuna.ats.jts.ExplicitInterposition();
+
+ interposition.registerTransaction(ctrl);
+
+ try
+ {
+ if (setlock(new Lock(LockMode.READ), 0) == LockResult.GRANTED)
+ {
+ value.value = _value;
+ }
+ else
+ {
+ throw new InvocationException();
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITServiceImpl01.get: " + exception);
+
+ interposition.unregisterTransaction();
+
+ throw new InvocationException();
+ }
+ catch (Error error)
+ {
+ System.err.println("AITServiceImpl01.get: " + error);
+
+ interposition.unregisterTransaction();
+
+ throw new InvocationException();
+ }
+
+ interposition.unregisterTransaction();
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITServiceImpl01.get: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public void set(Control ctrl, int value)
+ throws InvocationException
+ {
+ try
+ {
+ com.arjuna.ats.jts.ExplicitInterposition interposition = new com.arjuna.ats.jts.ExplicitInterposition();
+
+ interposition.registerTransaction(ctrl);
+
+ try
+ {
+ if (setlock(new Lock(LockMode.WRITE), 0) == LockResult.GRANTED)
+ {
+ _value = value;
+ }
+ else
+ {
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ interposition.unregisterTransaction();
+
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITServiceImpl01.set: " + exception);
+
+ interposition.unregisterTransaction();
+
+ throw new InvocationException();
+ }
+ catch (Error error)
+ {
+ System.err.println("AITServiceImpl01.set: " + error);
+
+ interposition.unregisterTransaction();
+
+ throw new InvocationException();
+ }
+
+ interposition.unregisterTransaction();
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITServiceImpl01.set: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public boolean save_state(OutputObjectState objectState, int objectType)
+ {
+ super.save_state(objectState, objectType);
+ try
+ {
+ objectState.packInt(_value);
+ return true;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITServiceImpl01.save_state: " + exception);
+ return false;
+ }
+ }
+
+ public boolean restore_state(InputObjectState objectState, int objectType)
+ {
+ super.restore_state(objectState, objectType);
+ try
+ {
+ _value = objectState.unpackInt();
+ return true;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITServiceImpl01.restore_state: " + exception);
+ return false;
+ }
+ }
+
+ public String type()
+ {
+ return "/StateManager/LockManager/AITServiceImpl01";
+ }
+
+ private int _value;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Impls/EndCrashAbstractRecordImpl.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Impls/EndCrashAbstractRecordImpl.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Impls/EndCrashAbstractRecordImpl.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,149 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: EndCrashAbstractRecordImpl.java,v 1.2 2003/06/26 11:43:47 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.CrashRecovery10Impls;
+
+import com.arjuna.ats.arjuna.ObjectType;
+import com.arjuna.ats.arjuna.common.Uid;
+import com.arjuna.ats.arjuna.coordinator.AbstractRecord;
+import com.arjuna.ats.arjuna.coordinator.RecordType;
+import com.arjuna.ats.arjuna.coordinator.TwoPhaseOutcome;
+
+public class EndCrashAbstractRecordImpl extends AbstractRecord
+{
+ public static final int NO_CRASH = 0;
+ public static final int CRASH_IN_PREPARE = 1;
+ public static final int CRASH_IN_COMMIT = 2;
+ public static final int CRASH_IN_ABORT = 3;
+
+ public EndCrashAbstractRecordImpl(int crashBehavior)
+ {
+ //
+ // to get the appropriate ordering it is necessary to
+ // fabricate a suitable objectUid
+ //
+ super(new Uid("7FFFFFFF:0:0:0"), "EndCrashAbstractRecord", ObjectType.NEITHER);
+
+ _crashBehavior = crashBehavior;
+ }
+
+ public int typeIs()
+ {
+ return RecordType.USER_DEF_LAST9;
+ }
+
+ public Object value()
+ {
+ return null;
+ }
+
+ public void setValue(Object object)
+ {
+ }
+
+ public int nestedAbort()
+ {
+ return TwoPhaseOutcome.FINISH_OK;
+ }
+
+ public int nestedCommit()
+ {
+ return TwoPhaseOutcome.FINISH_OK;
+ }
+
+ public int nestedPrepare()
+ {
+ return TwoPhaseOutcome.PREPARE_OK;
+ }
+
+ public int topLevelAbort()
+ {
+ if (_crashBehavior == CRASH_IN_ABORT)
+ {
+ System.out.println("Passed");
+ System.exit(0);
+ }
+
+ return TwoPhaseOutcome.FINISH_OK;
+ }
+
+ public int topLevelCommit()
+ {
+ if (_crashBehavior == CRASH_IN_COMMIT)
+ {
+ System.out.println("Passed");
+ System.exit(0);
+ }
+
+ return TwoPhaseOutcome.FINISH_OK;
+ }
+
+ public int topLevelPrepare()
+ {
+ if (_crashBehavior == CRASH_IN_PREPARE)
+ {
+ System.out.println("Passed");
+ System.exit(0);
+ }
+
+ return TwoPhaseOutcome.PREPARE_OK;
+ }
+
+ public void alter(AbstractRecord abstractRecord)
+ {
+ }
+
+ public void merge(AbstractRecord abstractRecord)
+ {
+ }
+
+ public boolean shouldAdd(AbstractRecord abstractRecord)
+ {
+ return false;
+ }
+
+ public boolean shouldAlter(AbstractRecord abstractRecord)
+ {
+ return false;
+ }
+
+ public boolean shouldMerge(AbstractRecord abstractRecord)
+ {
+ return false;
+ }
+
+ public boolean shouldReplace(AbstractRecord abstractRecord)
+ {
+ return false;
+ }
+
+ private int _crashBehavior = NO_CRASH;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Impls/JDBCServiceImpl01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Impls/JDBCServiceImpl01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Impls/JDBCServiceImpl01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,223 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: JDBCServiceImpl01.java,v 1.2 2003/06/26 11:43:47 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.CrashRecovery10Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: JDBCServiceImpl01.java,v 1.2 2003/06/26 11:43:47 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: JDBCServiceImpl01.java,v 1.2 2003/06/26 11:43:47 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery10.*;
+import org.omg.CORBA.IntHolder;
+import org.omg.CosTransactions.Control;
+
+import java.sql.Connection;
+import java.sql.DriverManager;
+import java.sql.ResultSet;
+import java.sql.Statement;
+import java.util.Properties;
+
+public class JDBCServiceImpl01 implements ServiceOperations
+{
+ public JDBCServiceImpl01(String rowName, String databaseURL, String databaseUser, String databasePassword, String databaseDynamicClass)
+ throws InvocationException
+ {
+ try
+ {
+ _rowName = rowName;
+
+ if (databaseDynamicClass != null)
+ {
+ Properties databaseProperties = new Properties();
+
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.userName, databaseUser);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.password, databasePassword);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.dynamicClass, databaseDynamicClass);
+
+ _connection = DriverManager.getConnection(databaseURL, databaseProperties);
+ }
+ else
+ {
+ _connection = DriverManager.getConnection(databaseURL, databaseUser, databasePassword);
+ }
+
+ Statement statement = _connection.createStatement();
+
+ statement.executeUpdate("INSERT Service SET Value = \'0\' WHERE Name = \'TheEntry\'");
+
+ statement.close();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCServiceImpl01.JDBCServiceImpl01: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public void finalize()
+ throws Throwable
+ {
+ try
+ {
+ if (_connection != null)
+ {
+ _connection.close();
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCServiceImpl01.finalize: " + exception);
+ throw exception;
+ }
+ }
+
+ public void set(Control ctrl, int value)
+ throws InvocationException
+ {
+ try
+ {
+ com.arjuna.ats.jts.ExplicitInterposition interposition = new com.arjuna.ats.jts.ExplicitInterposition();
+
+ interposition.registerTransaction(ctrl);
+
+ try
+ {
+ Statement statement = _connection.createStatement();
+
+ statement.executeUpdate("UPDATE Service SET Value = \'" + value + "\' WHERE Name = \'" + _rowName + "\'");
+
+ statement.close();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCServiceImpl01.set: " + exception);
+
+ interposition.unregisterTransaction();
+
+ throw new InvocationException();
+ }
+ catch (Error error)
+ {
+ System.err.println("JDBCServiceImpl01.set: " + error);
+
+ interposition.unregisterTransaction();
+
+ throw new InvocationException();
+ }
+
+ interposition.unregisterTransaction();
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCServiceImpl01.set: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public void get(Control ctrl, IntHolder value)
+ throws InvocationException
+ {
+ try
+ {
+ com.arjuna.ats.jts.ExplicitInterposition interposition = new com.arjuna.ats.jts.ExplicitInterposition();
+
+ interposition.registerTransaction(ctrl);
+
+ try
+ {
+ Statement statement = _connection.createStatement();
+
+ ResultSet resultSet = statement.executeQuery("SELECT Value FROM Service WHERE Name = \'" + _rowName + "\'");
+ resultSet.next();
+ value.value = resultSet.getInt("Value");
+ if (resultSet.next())
+ {
+ throw new Exception();
+ }
+
+ resultSet.close();
+ statement.close();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCServiceImpl01.select: " + exception);
+ throw new InvocationException();
+ }
+ catch (Error error)
+ {
+ System.err.println("JDBCServiceImpl01.select: " + error);
+ throw new InvocationException();
+ }
+
+ interposition.unregisterTransaction();
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCServiceImpl01.get: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ private String _rowName;
+ private Connection _connection;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Impls/StartCrashAbstractRecordImpl.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Impls/StartCrashAbstractRecordImpl.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Impls/StartCrashAbstractRecordImpl.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,150 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: StartCrashAbstractRecordImpl.java,v 1.2 2003/06/26 11:43:47 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.CrashRecovery10Impls;
+
+import com.arjuna.ats.arjuna.ObjectType;
+import com.arjuna.ats.arjuna.common.Uid;
+import com.arjuna.ats.arjuna.coordinator.AbstractRecord;
+import com.arjuna.ats.arjuna.coordinator.RecordType;
+import com.arjuna.ats.arjuna.coordinator.TwoPhaseOutcome;
+
+public class StartCrashAbstractRecordImpl extends AbstractRecord
+{
+ public static final int NO_CRASH = 0;
+ public static final int CRASH_IN_PREPARE = 1;
+ public static final int CRASH_IN_COMMIT = 2;
+ public static final int CRASH_IN_ABORT = 3;
+
+ public StartCrashAbstractRecordImpl(int crashBehavior)
+ {
+ //
+ // to get the appropriate ordering it is necessary to
+ // fabricate a suitable objectUid
+ //
+ super(new Uid("-7FFFFFFF:0:0:0"), "StartCrashAbstractRecord", ObjectType.NEITHER);
+
+ _crashBehavior = crashBehavior;
+ }
+
+ public int typeIs()
+ {
+ return RecordType.USER_DEF_FIRST0;
+ }
+
+ public Object value()
+ {
+ return null;
+ }
+
+ public void setValue(Object object)
+ {
+ }
+
+ public int nestedAbort()
+ {
+ return TwoPhaseOutcome.FINISH_OK;
+ }
+
+ public int nestedCommit()
+ {
+ return TwoPhaseOutcome.FINISH_OK;
+ }
+
+ public int nestedPrepare()
+ {
+ return TwoPhaseOutcome.PREPARE_OK;
+ }
+
+ public int topLevelAbort()
+ {
+ if (_crashBehavior == CRASH_IN_ABORT)
+ {
+ System.out.println("Passed");
+ System.exit(0);
+ }
+
+ return TwoPhaseOutcome.FINISH_OK;
+ }
+
+ public int topLevelCommit()
+ {
+
+ if (_crashBehavior == CRASH_IN_COMMIT)
+ {
+ System.out.println("Passed");
+ System.exit(0);
+ }
+
+ return TwoPhaseOutcome.FINISH_OK;
+ }
+
+ public int topLevelPrepare()
+ {
+ if (_crashBehavior == CRASH_IN_PREPARE)
+ {
+ System.out.println("Passed");
+ System.exit(0);
+ }
+
+ return TwoPhaseOutcome.PREPARE_OK;
+ }
+
+ public void alter(AbstractRecord abstractRecord)
+ {
+ }
+
+ public void merge(AbstractRecord abstractRecord)
+ {
+ }
+
+ public boolean shouldAdd(AbstractRecord abstractRecord)
+ {
+ return false;
+ }
+
+ public boolean shouldAlter(AbstractRecord abstractRecord)
+ {
+ return false;
+ }
+
+ public boolean shouldMerge(AbstractRecord abstractRecord)
+ {
+ return false;
+ }
+
+ public boolean shouldReplace(AbstractRecord abstractRecord)
+ {
+ return false;
+ }
+
+ private int _crashBehavior = NO_CRASH;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Servers/AITServer01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Servers/AITServer01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Servers/AITServer01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,96 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.CrashRecovery10Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AITServer01.java,v 1.2 2003/06/26 11:43:47 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AITServer01.java,v 1.2 2003/06/26 11:43:47 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery10.*;
+import org.jboss.jbossts.qa.CrashRecovery10Impls.AITServiceImpl01;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ObjectUidStore;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class AITServer01
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ AITServiceImpl01 aitServiceImpl = new AITServiceImpl01();
+ ServicePOATie servant = new ServicePOATie(aitServiceImpl);
+
+ OAInterface.objectIsReady(servant);
+ Service service = ServiceHelper.narrow(OAInterface.corbaReference(servant));
+
+ ObjectUidStore.storeUid(args[args.length - 2], aitServiceImpl.get_uid());
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(service));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITServer01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Servers/AITServer02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Servers/AITServer02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Servers/AITServer02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,98 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.CrashRecovery10Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AITServer02.java,v 1.2 2003/06/26 11:43:47 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AITServer02.java,v 1.2 2003/06/26 11:43:47 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.arjuna.common.Uid;
+import org.jboss.jbossts.qa.CrashRecovery10.*;
+import org.jboss.jbossts.qa.CrashRecovery10Impls.AITServiceImpl01;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ObjectUidStore;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class AITServer02
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ Uid uid = ObjectUidStore.loadUid(args[args.length - 2]);
+
+ AITServiceImpl01 aitServiceImpl = new AITServiceImpl01(uid);
+ ServicePOATie servant = new ServicePOATie(aitServiceImpl);
+
+ OAInterface.objectIsReady(servant);
+ Service service = ServiceHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(service));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITServer02.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Servers/AITServer03.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Servers/AITServer03.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Servers/AITServer03.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,104 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.CrashRecovery10Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AITServer03.java,v 1.2 2003/06/26 11:43:47 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AITServer03.java,v 1.2 2003/06/26 11:43:47 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery10.*;
+import org.jboss.jbossts.qa.CrashRecovery10Impls.AITServiceImpl01;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ObjectUidStore;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class AITServer03
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ AITServiceImpl01 aitServiceImpl1 = new AITServiceImpl01();
+ AITServiceImpl01 aitServiceImpl2 = new AITServiceImpl01();
+
+ ServicePOATie servant1 = new ServicePOATie(aitServiceImpl1);
+ ServicePOATie servant2 = new ServicePOATie(aitServiceImpl2);
+
+ OAInterface.objectIsReady(servant1);
+ Service service1 = ServiceHelper.narrow(OAInterface.corbaReference(servant1));
+
+ OAInterface.objectIsReady(servant2);
+ Service service2 = ServiceHelper.narrow(OAInterface.corbaReference(servant2));
+
+ ObjectUidStore.storeUid(args[args.length - 4], aitServiceImpl1.get_uid());
+ ObjectUidStore.storeUid(args[args.length - 3], aitServiceImpl2.get_uid());
+ ServerIORStore.storeIOR(args[args.length - 2], ORBInterface.orb().object_to_string(service1));
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(service2));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITServer03.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Servers/AITServer04.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Servers/AITServer04.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Servers/AITServer04.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,106 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.CrashRecovery10Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AITServer04.java,v 1.2 2003/06/26 11:43:47 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AITServer04.java,v 1.2 2003/06/26 11:43:47 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.arjuna.common.Uid;
+import org.jboss.jbossts.qa.CrashRecovery10.*;
+import org.jboss.jbossts.qa.CrashRecovery10Impls.AITServiceImpl01;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ObjectUidStore;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class AITServer04
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ Uid uid1 = ObjectUidStore.loadUid(args[args.length - 4]);
+ Uid uid2 = ObjectUidStore.loadUid(args[args.length - 3]);
+
+ AITServiceImpl01 aitServiceImpl1 = new AITServiceImpl01(uid1);
+ AITServiceImpl01 aitServiceImpl2 = new AITServiceImpl01(uid2);
+
+ ServicePOATie servant1 = new ServicePOATie(aitServiceImpl1);
+ ServicePOATie servant2 = new ServicePOATie(aitServiceImpl2);
+
+ OAInterface.objectIsReady(servant1);
+ Service service1 = ServiceHelper.narrow(OAInterface.corbaReference(servant1));
+
+ OAInterface.objectIsReady(servant2);
+ Service service2 = ServiceHelper.narrow(OAInterface.corbaReference(servant2));
+
+ ServerIORStore.storeIOR(args[args.length - 2], ORBInterface.orb().object_to_string(service1));
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(service2));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITServer04.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Servers/JDBCServer01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Servers/JDBCServer01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Servers/JDBCServer01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,110 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.CrashRecovery10Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: JDBCServer01.java,v 1.2 2003/06/26 11:43:48 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: JDBCServer01.java,v 1.2 2003/06/26 11:43:48 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery10.*;
+import org.jboss.jbossts.qa.CrashRecovery10Impls.JDBCServiceImpl01;
+import org.jboss.jbossts.qa.Utils.JDBCProfileStore;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class JDBCServer01
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String profileName = args[args.length - 2];
+
+ int numberOfDrivers = JDBCProfileStore.numberOfDrivers(profileName);
+ for (int index = 0; index < numberOfDrivers; index++)
+ {
+ String driver = JDBCProfileStore.driver(profileName, index);
+
+ Class.forName(driver);
+ }
+
+ String databaseURL = JDBCProfileStore.databaseURL(profileName);
+ String databaseUser = JDBCProfileStore.databaseUser(profileName);
+ String databasePassword = JDBCProfileStore.databasePassword(profileName);
+ String databaseDynamicClass = JDBCProfileStore.databaseDynamicClass(profileName);
+
+ JDBCServiceImpl01 jdbcServiceImpl = new JDBCServiceImpl01(args[args.length - 1], databaseURL, databaseUser, databasePassword, databaseDynamicClass);
+ ServicePOATie servant = new ServicePOATie(jdbcServiceImpl);
+
+ OAInterface.objectIsReady(servant);
+ Service service = ServiceHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(service));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCServer01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Servers/JDBCServer02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Servers/JDBCServer02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Servers/JDBCServer02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,117 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.CrashRecovery10Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: JDBCServer02.java,v 1.2 2003/06/26 11:43:48 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: JDBCServer02.java,v 1.2 2003/06/26 11:43:48 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery09.*;
+import org.jboss.jbossts.qa.CrashRecovery09Impls.JDBCServiceImpl01;
+import org.jboss.jbossts.qa.Utils.JDBCProfileStore;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class JDBCServer02
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String profileName = args[args.length - 3];
+
+ int numberOfDrivers = JDBCProfileStore.numberOfDrivers(profileName);
+ for (int index = 0; index < numberOfDrivers; index++)
+ {
+ String driver = JDBCProfileStore.driver(profileName, index);
+
+ Class.forName(driver);
+ }
+
+ String databaseURL = JDBCProfileStore.databaseURL(profileName);
+ String databaseUser = JDBCProfileStore.databaseUser(profileName);
+ String databasePassword = JDBCProfileStore.databasePassword(profileName);
+ String databaseDynamicClass = JDBCProfileStore.databaseDynamicClass(profileName);
+
+ JDBCServiceImpl01 jdbcServiceImpl1 = new JDBCServiceImpl01(args[args.length - 2], databaseURL, databaseUser, databasePassword, databaseDynamicClass);
+ JDBCServiceImpl01 jdbcServiceImpl2 = new JDBCServiceImpl01(args[args.length - 1], databaseURL, databaseUser, databasePassword, databaseDynamicClass);
+
+ ServicePOATie servant1 = new ServicePOATie(jdbcServiceImpl1);
+ ServicePOATie servant2 = new ServicePOATie(jdbcServiceImpl2);
+
+ OAInterface.objectIsReady(servant1);
+ Service service1 = ServiceHelper.narrow(OAInterface.corbaReference(servant1));
+
+ OAInterface.objectIsReady(servant2);
+ Service service2 = ServiceHelper.narrow(OAInterface.corbaReference(servant2));
+
+ ServerIORStore.storeIOR(args[args.length - 2], ORBInterface.orb().object_to_string(service1));
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(service2));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCServer02.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Setups/Setup01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Setups/Setup01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Setups/Setup01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,119 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: Setup01.java,v 1.2 2003/06/26 11:43:48 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.CrashRecovery10Setups;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Setup01.java,v 1.2 2003/06/26 11:43:48 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Setup01.java,v 1.2 2003/06/26 11:43:48 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery10.*;
+import org.jboss.jbossts.qa.Utils.JDBCProfileStore;
+
+import java.sql.Connection;
+import java.sql.DriverManager;
+import java.sql.Statement;
+import java.util.Properties;
+
+public class Setup01
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ String profileName = args[args.length - 1];
+
+ int numberOfDrivers = JDBCProfileStore.numberOfDrivers(profileName);
+ for (int index = 0; index < numberOfDrivers; index++)
+ {
+ String driver = JDBCProfileStore.driver(profileName, index);
+
+ Class.forName(driver);
+ }
+
+ String databaseURL = JDBCProfileStore.databaseURL(profileName);
+ String databaseUser = JDBCProfileStore.databaseUser(profileName);
+ String databasePassword = JDBCProfileStore.databasePassword(profileName);
+ String databaseDynamicClass = JDBCProfileStore.databaseDynamicClass(profileName);
+
+ Connection connection;
+ if (databaseDynamicClass != null)
+ {
+ Properties databaseProperties = new Properties();
+
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.userName, databaseUser);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.password, databasePassword);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.dynamicClass, databaseDynamicClass);
+
+ connection = DriverManager.getConnection(databaseURL, databaseProperties);
+ }
+ else
+ {
+ connection = DriverManager.getConnection(databaseURL, databaseUser, databasePassword);
+ }
+
+ Statement statement = connection.createStatement();
+
+ statement.executeUpdate("CREATE TABLE Service (Name VARCHAR(64), Value NUMBER)");
+
+ statement.close();
+ connection.close();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Setup01.main: " + exception);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Utils/Delays.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Utils/Delays.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery10Utils/Delays.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,40 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: Delays.java,v 1.2 2003/06/26 11:43:48 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.CrashRecovery10Utils;
+
+public class Delays
+{
+ public static int recoveryDelay()
+ {
+ return 60 * 1000;
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Cleanups/Cleanup01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Cleanups/Cleanup01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Cleanups/Cleanup01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,141 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: Cleanup01.java,v 1.2 2003/06/26 11:43:49 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.CrashRecovery11Cleanups;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Cleanup01.java,v 1.2 2003/06/26 11:43:49 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Cleanup01.java,v 1.2 2003/06/26 11:43:49 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery11.*;
+import org.jboss.jbossts.qa.Utils.JDBCProfileStore;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+
+import java.sql.Connection;
+import java.sql.DriverManager;
+import java.sql.Statement;
+import java.util.Properties;
+
+public class Cleanup01
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String profileName = args[args.length - 1];
+
+ int numberOfDrivers = JDBCProfileStore.numberOfDrivers(profileName);
+ for (int index = 0; index < numberOfDrivers; index++)
+ {
+ String driver = JDBCProfileStore.driver(profileName, index);
+
+ Class.forName(driver);
+ }
+
+ String databaseURL = JDBCProfileStore.databaseURL(profileName);
+ String databaseUser = JDBCProfileStore.databaseUser(profileName);
+ String databasePassword = JDBCProfileStore.databasePassword(profileName);
+ String databaseDynamicClass = JDBCProfileStore.databaseDynamicClass(profileName);
+
+ Connection connection;
+ if (databaseDynamicClass != null)
+ {
+ Properties databaseProperties = new Properties();
+
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.userName, databaseUser);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.password, databasePassword);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.dynamicClass, databaseDynamicClass);
+
+ connection = DriverManager.getConnection(databaseURL, databaseProperties);
+ }
+ else
+ {
+ connection = DriverManager.getConnection(databaseURL, databaseUser, databasePassword);
+ }
+
+ Statement statement = connection.createStatement();
+
+ statement.executeUpdate("DROP TABLE " + databaseUser + "_Service");
+
+ statement.close();
+ connection.close();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Cleanup01.main: " + exception);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Cleanup01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
+
+
+
+
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Clients/Client01a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Clients/Client01a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Clients/Client01a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,119 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery11Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client01a.java,v 1.2 2003/06/26 11:43:49 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client01a.java,v 1.2 2003/06/26 11:43:49 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery11.*;
+import org.jboss.jbossts.qa.CrashRecovery11Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.IntHolder;
+
+public class Client01a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ Thread.sleep(Delays.recoveryDelay());
+
+ boolean correct = true;
+
+ IntHolder valueHolder = new IntHolder();
+ service.get(valueHolder);
+
+ //
+ // recovery should have completed the transaction and
+ // therefore dropped the locks on the value
+ //
+ correct = correct && (valueHolder.value == 1);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client01a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client01a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Clients/Client01b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Clients/Client01b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Clients/Client01b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,136 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery11Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client01b.java,v 1.2 2003/06/26 11:43:49 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client01b.java,v 1.2 2003/06/26 11:43:49 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery11.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client01b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service.set(0);
+
+ OTS.current().commit(true);
+
+ OTS.current().begin();
+
+ service.set(1);
+ service.setStartCrashAbstractRecordAction(CrashBehavior.CrashBehaviorCrashInCommit);
+
+ correct = correct && service.is_correct();
+
+ if (!correct)
+ {
+ throw new Exception("wasn't correct after adding crash record");
+ }
+
+ try
+ {
+ OTS.current().commit(true);
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ System.err.println("Client01b.main : caught expected HeuristicHazard");
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client01b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client01b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Clients/Client02a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Clients/Client02a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Clients/Client02a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,119 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery11Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client02a.java,v 1.2 2003/06/26 11:43:49 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client02a.java,v 1.2 2003/06/26 11:43:49 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery11.*;
+import org.jboss.jbossts.qa.CrashRecovery11Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.IntHolder;
+
+public class Client02a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ Thread.sleep(Delays.recoveryDelay());
+
+ boolean correct = true;
+
+ IntHolder valueHolder = new IntHolder();
+ service.get(valueHolder);
+
+ //
+ // recovery should have rolled the transaction back.
+ // the set(1) change should therefore have been undone.
+ //
+ correct = correct && (valueHolder.value == 0);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client02a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client02a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Clients/Client02b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Clients/Client02b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Clients/Client02b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,131 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery11Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client02b.java,v 1.2 2003/06/26 11:43:49 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client02b.java,v 1.2 2003/06/26 11:43:49 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery11.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client02b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service.set(0);
+
+ OTS.current().commit(true);
+
+ OTS.current().begin();
+
+ service.set(1);
+ service.setEndCrashAbstractRecordAction(CrashBehavior.CrashBehaviorCrashInPrepare);
+
+ correct = correct && service.is_correct(); // checks the BasicAction was added ok
+
+ try
+ {
+ OTS.current().commit(true);
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ //System.err.println ("Client02b.main : caught expected HeuristicHazard");
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client02b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client02b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Clients/Client03a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Clients/Client03a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Clients/Client03a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,115 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery11Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client03a.java,v 1.2 2003/06/26 11:43:49 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client03a.java,v 1.2 2003/06/26 11:43:49 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery11.*;
+import org.jboss.jbossts.qa.CrashRecovery11Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.IntHolder;
+
+public class Client03a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ Thread.sleep(Delays.recoveryDelay());
+
+ boolean correct = true;
+
+ IntHolder valueHolder = new IntHolder();
+ service.get(valueHolder); // non-tx
+
+ correct = correct && (valueHolder.value == 1);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client03a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client03a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Clients/Client03b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Clients/Client03b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Clients/Client03b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,131 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery11Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client03b.java,v 1.2 2003/06/26 11:43:49 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client03b.java,v 1.2 2003/06/26 11:43:49 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery11.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client03b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service.set(0);
+
+ OTS.current().commit(true);
+
+ OTS.current().begin();
+
+ service.set(1);
+ service.setEndCrashAbstractRecordAction(CrashBehavior.CrashBehaviorCrashInCommit);
+
+ correct = correct && service.is_correct(); // checks the BasicAction was added ok
+
+ try
+ {
+ OTS.current().commit(true);
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ //System.err.println ("Client03b.main : caught expected HeuristicHazard");
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client03b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client03b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Clients/Client04a.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Clients/Client04a.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Clients/Client04a.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,115 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery11Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client04a.java,v 1.2 2003/06/26 11:43:49 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client04a.java,v 1.2 2003/06/26 11:43:49 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery11.*;
+import org.jboss.jbossts.qa.CrashRecovery11Utils.Delays;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.IntHolder;
+
+public class Client04a
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ AfterCrashService service = AfterCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ Thread.sleep(Delays.recoveryDelay());
+
+ boolean correct = true;
+
+ IntHolder valueHolder = new IntHolder();
+ service.get(valueHolder); // non-tx
+
+ correct = correct && (valueHolder.value == 0);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client04a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client04a.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Clients/Client04b.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Clients/Client04b.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Clients/Client04b.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,131 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CrashRecovery11Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client04b.java,v 1.2 2003/06/26 11:43:49 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client04b.java,v 1.2 2003/06/26 11:43:49 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery11.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client04b
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ BeforeCrashService service = BeforeCrashServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service.set(0);
+
+ OTS.current().commit(true);
+
+ OTS.current().begin();
+
+ service.set(1);
+ service.setStartCrashAbstractRecordAction(CrashBehavior.CrashBehaviorCrashInPrepare);
+
+ correct = correct && service.is_correct(); // checks basic action was added correctly
+
+ try
+ {
+ OTS.current().commit(true);
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ //System.err.println ("Client04b.main : caught expected HeuristicHazard");
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client04b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client04b.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Impls/EndCrashAbstractRecordImpl.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Impls/EndCrashAbstractRecordImpl.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Impls/EndCrashAbstractRecordImpl.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,149 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: EndCrashAbstractRecordImpl.java,v 1.2 2003/06/26 11:43:50 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.CrashRecovery11Impls;
+
+import com.arjuna.ats.arjuna.ObjectType;
+import com.arjuna.ats.arjuna.common.Uid;
+import com.arjuna.ats.arjuna.coordinator.AbstractRecord;
+import com.arjuna.ats.arjuna.coordinator.RecordType;
+import com.arjuna.ats.arjuna.coordinator.TwoPhaseOutcome;
+
+public class EndCrashAbstractRecordImpl extends AbstractRecord
+{
+ public static final int NO_CRASH = 0;
+ public static final int CRASH_IN_PREPARE = 1;
+ public static final int CRASH_IN_COMMIT = 2;
+ public static final int CRASH_IN_ABORT = 3;
+
+ public EndCrashAbstractRecordImpl(int crashBehavior)
+ {
+ //
+ // to get the appropriate ordering it is necessary to
+ // fabricate a suitable objectUid
+ //
+ super(new Uid("7FFFFFFF:0:0:0"), "EndCrashAbstractRecord", ObjectType.NEITHER);
+
+ _crashBehavior = crashBehavior;
+ }
+
+ public int typeIs()
+ {
+ return RecordType.USER_DEF_LAST9;
+ }
+
+ public Object value()
+ {
+ return null;
+ }
+
+ public void setValue(Object object)
+ {
+ }
+
+ public int nestedAbort()
+ {
+ return TwoPhaseOutcome.FINISH_OK;
+ }
+
+ public int nestedCommit()
+ {
+ return TwoPhaseOutcome.FINISH_OK;
+ }
+
+ public int nestedPrepare()
+ {
+ return TwoPhaseOutcome.PREPARE_OK;
+ }
+
+ public int topLevelAbort()
+ {
+ if (_crashBehavior == CRASH_IN_ABORT)
+ {
+ System.out.println("Passed");
+ System.exit(0);
+ }
+
+ return TwoPhaseOutcome.FINISH_OK;
+ }
+
+ public int topLevelCommit()
+ {
+ if (_crashBehavior == CRASH_IN_COMMIT)
+ {
+ System.out.println("Passed");
+ System.exit(0);
+ }
+
+ return TwoPhaseOutcome.FINISH_OK;
+ }
+
+ public int topLevelPrepare()
+ {
+ if (_crashBehavior == CRASH_IN_PREPARE)
+ {
+ System.out.println("Passed");
+ System.exit(0);
+ }
+
+ return TwoPhaseOutcome.PREPARE_OK;
+ }
+
+ public void alter(AbstractRecord abstractRecord)
+ {
+ }
+
+ public void merge(AbstractRecord abstractRecord)
+ {
+ }
+
+ public boolean shouldAdd(AbstractRecord abstractRecord)
+ {
+ return false;
+ }
+
+ public boolean shouldAlter(AbstractRecord abstractRecord)
+ {
+ return false;
+ }
+
+ public boolean shouldMerge(AbstractRecord abstractRecord)
+ {
+ return false;
+ }
+
+ public boolean shouldReplace(AbstractRecord abstractRecord)
+ {
+ return false;
+ }
+
+ private int _crashBehavior = NO_CRASH;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Impls/JDBCServiceImpl01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Impls/JDBCServiceImpl01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Impls/JDBCServiceImpl01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,280 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: JDBCServiceImpl01.java,v 1.2 2003/06/26 11:43:50 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.CrashRecovery11Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: JDBCServiceImpl01.java,v 1.2 2003/06/26 11:43:50 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: JDBCServiceImpl01.java,v 1.2 2003/06/26 11:43:50 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.arjuna.coordinator.AddOutcome;
+import com.arjuna.ats.arjuna.coordinator.BasicAction;
+import org.jboss.jbossts.qa.CrashRecovery11.*;
+import org.omg.CORBA.IntHolder;
+
+import java.sql.*;
+import java.util.Properties;
+
+public class JDBCServiceImpl01 implements BeforeCrashServiceOperations
+{
+ public JDBCServiceImpl01(String rowName, String databaseURL, String databaseUser, String databasePassword, String databaseDynamicClass)
+ throws InvocationException
+ {
+ _dbUser = databaseUser;
+ try
+ {
+ _rowName = rowName;
+
+ if (databaseDynamicClass != null)
+ {
+ Properties databaseProperties = new Properties();
+
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.userName, databaseUser);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.password, databasePassword);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.dynamicClass, databaseDynamicClass);
+
+ _connection = DriverManager.getConnection(databaseURL, databaseProperties);
+ }
+ else
+ {
+ _connection = DriverManager.getConnection(databaseURL, databaseUser, databasePassword);
+ }
+
+ Statement statement = _connection.createStatement();
+
+ statement.executeUpdate("INSERT INTO " + _dbUser + "_Service VALUES (\'" + _rowName + "\' , \'0\')");
+
+ statement.close();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCServiceImpl01.JDBCServiceImpl01: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public void finalize()
+ throws Throwable
+ {
+ try
+ {
+ if (_connection != null)
+ {
+ _connection.close();
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCServiceImpl01.finalize: " + exception);
+ throw exception;
+ }
+ }
+
+ public void set(int value)
+ throws InvocationException
+ {
+ try
+ {
+ try
+ {
+ Statement statement = _connection.createStatement();
+
+ statement.executeUpdate("UPDATE " + _dbUser + "_Service SET Value = \'" + value + "\' WHERE Name = \'" + _rowName + "\'");
+
+ statement.close();
+ }
+ catch (SQLException sqlException)
+ {
+ System.err.println("JDBCServiceImpl01.set: " + sqlException);
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ _isCorrect = false;
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ _isCorrect = false;
+ System.err.println("JDBCServiceImpl01.set: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public void get(IntHolder value)
+ throws InvocationException
+ {
+ try
+ {
+ try
+ {
+ Statement statement = _connection.createStatement();
+
+ ResultSet resultSet = statement.executeQuery("SELECT Value FROM " + _dbUser + "_Service WHERE Name = \'" + _rowName + "\'");
+ resultSet.next();
+ value.value = resultSet.getInt("Value");
+ if (resultSet.next())
+ {
+ throw new Exception();
+ }
+
+ resultSet.close();
+ statement.close();
+ }
+ catch (SQLException sqlException)
+ {
+ System.err.println("JDBCServiceImpl01.get: " + sqlException);
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ _isCorrect = false;
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ _isCorrect = false;
+ System.err.println("JDBCServiceImpl01.select: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+
+ public void setStartCrashAbstractRecordAction(CrashBehavior action)
+ throws InvocationException
+ {
+ try
+ {
+ try
+ {
+ if (action == CrashBehavior.CrashBehaviorCrashInCommit)
+ {
+ _isCorrect = _isCorrect && (BasicAction.Current().add(new StartCrashAbstractRecordImpl(StartCrashAbstractRecordImpl.CRASH_IN_COMMIT)) == AddOutcome.AR_ADDED);
+ }
+ else if (action == CrashBehavior.CrashBehaviorCrashInPrepare)
+ {
+ _isCorrect = _isCorrect && (BasicAction.Current().add(new StartCrashAbstractRecordImpl(StartCrashAbstractRecordImpl.CRASH_IN_PREPARE)) == AddOutcome.AR_ADDED);
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCServiceImpl01.setStartCrashAbstractRecordAction: " + exception);
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ _isCorrect = false;
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ _isCorrect = false;
+ System.err.println("JDBCServiceImpl01.setStartCrashAbstractRecordAction: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public void setEndCrashAbstractRecordAction(CrashBehavior action)
+ throws InvocationException
+ {
+ try
+ {
+ try
+ {
+ if (action == CrashBehavior.CrashBehaviorCrashInCommit)
+ {
+ _isCorrect = _isCorrect && (BasicAction.Current().add(new EndCrashAbstractRecordImpl(EndCrashAbstractRecordImpl.CRASH_IN_COMMIT)) == AddOutcome.AR_ADDED);
+ }
+ else if (action == CrashBehavior.CrashBehaviorCrashInPrepare)
+ {
+ _isCorrect = _isCorrect && (BasicAction.Current().add(new EndCrashAbstractRecordImpl(EndCrashAbstractRecordImpl.CRASH_IN_PREPARE)) == AddOutcome.AR_ADDED);
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCServiceImpl01.setEndCrashAbstractRecordAction: " + exception);
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ _isCorrect = false;
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ _isCorrect = false;
+ System.err.println("JDBCServiceImpl01.setEndCrashAbstractRecordAction: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public boolean is_correct()
+ {
+ return _isCorrect;
+ }
+
+ private String _rowName;
+ private Connection _connection;
+ private boolean _isCorrect = true;
+ private String _dbUser;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Impls/JDBCServiceImpl02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Impls/JDBCServiceImpl02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Impls/JDBCServiceImpl02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,167 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: JDBCServiceImpl02.java,v 1.2 2003/06/26 11:43:50 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.CrashRecovery11Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: JDBCServiceImpl02.java,v 1.2 2003/06/26 11:43:50 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: JDBCServiceImpl02.java,v 1.2 2003/06/26 11:43:50 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery11.*;
+import org.omg.CORBA.IntHolder;
+
+import java.sql.*;
+import java.util.Properties;
+
+public class JDBCServiceImpl02 implements AfterCrashServiceOperations
+{
+ public JDBCServiceImpl02(String rowName, String databaseURL, String databaseUser, String databasePassword, String databaseDynamicClass)
+ throws InvocationException
+ {
+ _dbUser = databaseUser;
+ try
+ {
+ _rowName = rowName;
+
+ if (databaseDynamicClass != null)
+ {
+ Properties databaseProperties = new Properties();
+
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.userName, databaseUser);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.password, databasePassword);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.dynamicClass, databaseDynamicClass);
+
+ _connection = DriverManager.getConnection(databaseURL, databaseProperties);
+ }
+ else
+ {
+ _connection = DriverManager.getConnection(databaseURL, databaseUser, databasePassword);
+ }
+
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCServiceImpl02.JDBCServiceImpl02: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public void finalize()
+ throws Throwable
+ {
+ try
+ {
+ if (_connection != null)
+ {
+ _connection.close();
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCServiceImpl02.finalize: " + exception);
+ throw exception;
+ }
+ }
+
+ public void get(IntHolder value)
+ throws InvocationException
+ {
+ try
+ {
+ Statement statement = _connection.createStatement();
+/*
+ ResultSet resultSet = statement.executeQuery("SELECT Value FROM " + _dbUser +"_Service WHERE Name = \'" + _rowName + "\'");
+ resultSet.next();
+ value.value = resultSet.getInt("Value");
+ if (resultSet.next())
+ throw new Exception();
+*/
+
+ System.err.println("JDBCServiceImpl02.get: " + "SELECT Value FROM " + _dbUser + "_Service WHERE Name = \'" + _rowName + "\'");
+
+ ResultSet resultSet = statement.executeQuery("SELECT Value FROM " + _dbUser + "_Service WHERE Name = \'" + _rowName + "\'");
+
+ ResultSetMetaData resultSetMetaData = resultSet.getMetaData();
+
+ String columnTypeName = resultSetMetaData.getColumnTypeName(1);
+ System.err.println("JDBCServiceImpl02.get: columnTypeName 1: " + columnTypeName);
+
+ resultSet.next();
+ value.value = resultSet.getInt("Value");
+
+ System.err.println("JDBCServiceImpl02.select: value " + value.value);
+
+ if (resultSet.next())
+ {
+ System.err.println("JDBCServiceImpl02.select: must have got another row");
+ value.value = resultSet.getInt("Value");
+ System.err.println("JDBCServiceImpl02.select: value " + value.value);
+ throw new Exception();
+ }
+
+ resultSet.close();
+ statement.close();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCServiceImpl02.select: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ private String _rowName;
+ private Connection _connection;
+ private String _dbUser;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Impls/StartCrashAbstractRecordImpl.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Impls/StartCrashAbstractRecordImpl.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Impls/StartCrashAbstractRecordImpl.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,150 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: StartCrashAbstractRecordImpl.java,v 1.2 2003/06/26 11:43:50 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.CrashRecovery11Impls;
+
+import com.arjuna.ats.arjuna.ObjectType;
+import com.arjuna.ats.arjuna.common.Uid;
+import com.arjuna.ats.arjuna.coordinator.AbstractRecord;
+import com.arjuna.ats.arjuna.coordinator.RecordType;
+import com.arjuna.ats.arjuna.coordinator.TwoPhaseOutcome;
+
+public class StartCrashAbstractRecordImpl extends AbstractRecord
+{
+ public static final int NO_CRASH = 0;
+ public static final int CRASH_IN_PREPARE = 1;
+ public static final int CRASH_IN_COMMIT = 2;
+ public static final int CRASH_IN_ABORT = 3;
+
+ public StartCrashAbstractRecordImpl(int crashBehavior)
+ {
+ //
+ // to get the appropriate ordering it is necessary to
+ // fabricate a suitable objectUid
+ //
+ super(new Uid("-7FFFFFFF:0:0:0"), "StartCrashAbstractRecord", ObjectType.NEITHER);
+
+ _crashBehavior = crashBehavior;
+ }
+
+ public int typeIs()
+ {
+ return RecordType.USER_DEF_FIRST0;
+ }
+
+ public Object value()
+ {
+ return null;
+ }
+
+ public void setValue(Object object)
+ {
+ }
+
+ public int nestedAbort()
+ {
+ return TwoPhaseOutcome.FINISH_OK;
+ }
+
+ public int nestedCommit()
+ {
+ return TwoPhaseOutcome.FINISH_OK;
+ }
+
+ public int nestedPrepare()
+ {
+ return TwoPhaseOutcome.PREPARE_OK;
+ }
+
+ public int topLevelAbort()
+ {
+ if (_crashBehavior == CRASH_IN_ABORT)
+ {
+ System.out.println("Passed");
+ System.exit(0);
+ }
+
+ return TwoPhaseOutcome.FINISH_OK;
+ }
+
+ public int topLevelCommit()
+ {
+
+ if (_crashBehavior == CRASH_IN_COMMIT)
+ {
+ System.out.println("Passed");
+ System.exit(0);
+ }
+
+ return TwoPhaseOutcome.FINISH_OK;
+ }
+
+ public int topLevelPrepare()
+ {
+ if (_crashBehavior == CRASH_IN_PREPARE)
+ {
+ System.out.println("Passed");
+ System.exit(0);
+ }
+
+ return TwoPhaseOutcome.PREPARE_OK;
+ }
+
+ public void alter(AbstractRecord abstractRecord)
+ {
+ }
+
+ public void merge(AbstractRecord abstractRecord)
+ {
+ }
+
+ public boolean shouldAdd(AbstractRecord abstractRecord)
+ {
+ return false;
+ }
+
+ public boolean shouldAlter(AbstractRecord abstractRecord)
+ {
+ return false;
+ }
+
+ public boolean shouldMerge(AbstractRecord abstractRecord)
+ {
+ return false;
+ }
+
+ public boolean shouldReplace(AbstractRecord abstractRecord)
+ {
+ return false;
+ }
+
+ private int _crashBehavior = NO_CRASH;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Servers/JDBCServer01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Servers/JDBCServer01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Servers/JDBCServer01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,110 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.CrashRecovery11Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: JDBCServer01.java,v 1.2 2003/06/26 11:43:50 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: JDBCServer01.java,v 1.2 2003/06/26 11:43:50 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery11.*;
+import org.jboss.jbossts.qa.CrashRecovery11Impls.JDBCServiceImpl01;
+import org.jboss.jbossts.qa.Utils.JDBCProfileStore;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class JDBCServer01
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String profileName = args[args.length - 3];
+
+ int numberOfDrivers = JDBCProfileStore.numberOfDrivers(profileName);
+ for (int index = 0; index < numberOfDrivers; index++)
+ {
+ String driver = JDBCProfileStore.driver(profileName, index);
+
+ Class.forName(driver);
+ }
+
+ String databaseURL = JDBCProfileStore.databaseURL(profileName);
+ String databaseUser = JDBCProfileStore.databaseUser(profileName);
+ String databasePassword = JDBCProfileStore.databasePassword(profileName);
+ String databaseDynamicClass = JDBCProfileStore.databaseDynamicClass(profileName);
+
+ JDBCServiceImpl01 jdbcServiceImpl = new JDBCServiceImpl01(args[args.length - 2], databaseURL, databaseUser, databasePassword, databaseDynamicClass);
+ BeforeCrashServicePOATie servant = new BeforeCrashServicePOATie(jdbcServiceImpl);
+
+ OAInterface.objectIsReady(servant);
+ BeforeCrashService service = BeforeCrashServiceHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(service));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCServer01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Servers/JDBCServer02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Servers/JDBCServer02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Servers/JDBCServer02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,110 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.CrashRecovery11Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: JDBCServer02.java,v 1.2 2003/06/26 11:43:50 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: JDBCServer02.java,v 1.2 2003/06/26 11:43:50 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery11.*;
+import org.jboss.jbossts.qa.CrashRecovery11Impls.JDBCServiceImpl02;
+import org.jboss.jbossts.qa.Utils.JDBCProfileStore;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class JDBCServer02
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String profileName = args[args.length - 3];
+
+ int numberOfDrivers = JDBCProfileStore.numberOfDrivers(profileName);
+ for (int index = 0; index < numberOfDrivers; index++)
+ {
+ String driver = JDBCProfileStore.driver(profileName, index);
+
+ Class.forName(driver);
+ }
+
+ String databaseURL = JDBCProfileStore.databaseURL(profileName);
+ String databaseUser = JDBCProfileStore.databaseUser(profileName);
+ String databasePassword = JDBCProfileStore.databasePassword(profileName);
+ String databaseDynamicClass = JDBCProfileStore.databaseDynamicClass(profileName);
+
+ JDBCServiceImpl02 jdbcServiceImpl = new JDBCServiceImpl02(args[args.length - 2], databaseURL, databaseUser, databasePassword, databaseDynamicClass);
+ AfterCrashServicePOATie servant = new AfterCrashServicePOATie(jdbcServiceImpl);
+
+ OAInterface.objectIsReady(servant);
+ AfterCrashService service = AfterCrashServiceHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(service));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCServer02.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Servers/JDBCServer03.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Servers/JDBCServer03.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Servers/JDBCServer03.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,117 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.CrashRecovery11Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: JDBCServer03.java,v 1.2 2003/06/26 11:43:50 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: JDBCServer03.java,v 1.2 2003/06/26 11:43:50 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery11.*;
+import org.jboss.jbossts.qa.CrashRecovery11Impls.JDBCServiceImpl01;
+import org.jboss.jbossts.qa.Utils.JDBCProfileStore;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class JDBCServer03
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String profileName = args[args.length - 5];
+
+ int numberOfDrivers = JDBCProfileStore.numberOfDrivers(profileName);
+ for (int index = 0; index < numberOfDrivers; index++)
+ {
+ String driver = JDBCProfileStore.driver(profileName, index);
+
+ Class.forName(driver);
+ }
+
+ String databaseURL = JDBCProfileStore.databaseURL(profileName);
+ String databaseUser = JDBCProfileStore.databaseUser(profileName);
+ String databasePassword = JDBCProfileStore.databasePassword(profileName);
+ String databaseDynamicClass = JDBCProfileStore.databaseDynamicClass(profileName);
+
+ JDBCServiceImpl01 jdbcServiceImpl1 = new JDBCServiceImpl01(args[args.length - 4], databaseURL, databaseUser, databasePassword, databaseDynamicClass);
+ JDBCServiceImpl01 jdbcServiceImpl2 = new JDBCServiceImpl01(args[args.length - 3], databaseURL, databaseUser, databasePassword, databaseDynamicClass);
+
+ BeforeCrashServicePOATie servant1 = new BeforeCrashServicePOATie(jdbcServiceImpl1);
+ BeforeCrashServicePOATie servant2 = new BeforeCrashServicePOATie(jdbcServiceImpl2);
+
+ OAInterface.objectIsReady(servant1);
+ OAInterface.objectIsReady(servant2);
+ BeforeCrashService service1 = BeforeCrashServiceHelper.narrow(OAInterface.corbaReference(servant1));
+ BeforeCrashService service2 = BeforeCrashServiceHelper.narrow(OAInterface.corbaReference(servant2));
+
+
+ ServerIORStore.storeIOR(args[args.length - 2], ORBInterface.orb().object_to_string(service1));
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(service2));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCServer03.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Servers/JDBCServer04.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Servers/JDBCServer04.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Servers/JDBCServer04.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,116 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.CrashRecovery11Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: JDBCServer04.java,v 1.2 2003/06/26 11:43:50 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: JDBCServer04.java,v 1.2 2003/06/26 11:43:50 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery11.*;
+import org.jboss.jbossts.qa.CrashRecovery11Impls.JDBCServiceImpl02;
+import org.jboss.jbossts.qa.Utils.JDBCProfileStore;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class JDBCServer04
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String profileName = args[args.length - 5];
+
+ int numberOfDrivers = JDBCProfileStore.numberOfDrivers(profileName);
+ for (int index = 0; index < numberOfDrivers; index++)
+ {
+ String driver = JDBCProfileStore.driver(profileName, index);
+
+ Class.forName(driver);
+ }
+
+ String databaseURL = JDBCProfileStore.databaseURL(profileName);
+ String databaseUser = JDBCProfileStore.databaseUser(profileName);
+ String databasePassword = JDBCProfileStore.databasePassword(profileName);
+ String databaseDynamicClass = JDBCProfileStore.databaseDynamicClass(profileName);
+
+ JDBCServiceImpl02 jdbcServiceImpl1 = new JDBCServiceImpl02(args[args.length - 4], databaseURL, databaseUser, databasePassword, databaseDynamicClass);
+ JDBCServiceImpl02 jdbcServiceImpl2 = new JDBCServiceImpl02(args[args.length - 3], databaseURL, databaseUser, databasePassword, databaseDynamicClass);
+
+ AfterCrashServicePOATie servant1 = new AfterCrashServicePOATie(jdbcServiceImpl1);
+ AfterCrashServicePOATie servant2 = new AfterCrashServicePOATie(jdbcServiceImpl2);
+
+ OAInterface.objectIsReady(servant1);
+ OAInterface.objectIsReady(servant2);
+ AfterCrashService service1 = AfterCrashServiceHelper.narrow(OAInterface.corbaReference(servant1));
+ AfterCrashService service2 = AfterCrashServiceHelper.narrow(OAInterface.corbaReference(servant2));
+
+ ServerIORStore.storeIOR(args[args.length - 2], ORBInterface.orb().object_to_string(service1));
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(service2));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCServer04.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Setups/Setup01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Setups/Setup01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Setups/Setup01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,135 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: Setup01.java,v 1.2 2003/06/26 11:43:51 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.CrashRecovery11Setups;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Setup01.java,v 1.2 2003/06/26 11:43:51 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Setup01.java,v 1.2 2003/06/26 11:43:51 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.CrashRecovery11.*;
+import org.jboss.jbossts.qa.Utils.JDBCProfileStore;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+
+import java.sql.Connection;
+import java.sql.DriverManager;
+import java.sql.Statement;
+import java.util.Properties;
+
+public class Setup01
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String profileName = args[args.length - 1];
+
+ int numberOfDrivers = JDBCProfileStore.numberOfDrivers(profileName);
+ for (int index = 0; index < numberOfDrivers; index++)
+ {
+ String driver = JDBCProfileStore.driver(profileName, index);
+
+ Class.forName(driver);
+ }
+
+ String databaseURL = JDBCProfileStore.databaseURL(profileName);
+ String databaseUser = JDBCProfileStore.databaseUser(profileName);
+ String databasePassword = JDBCProfileStore.databasePassword(profileName);
+ String databaseDynamicClass = JDBCProfileStore.databaseDynamicClass(profileName);
+
+ Connection connection;
+ if (databaseDynamicClass != null)
+ {
+ Properties databaseProperties = new Properties();
+
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.userName, databaseUser);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.password, databasePassword);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.dynamicClass, databaseDynamicClass);
+
+ connection = DriverManager.getConnection(databaseURL, databaseProperties);
+ }
+ else
+ {
+ connection = DriverManager.getConnection(databaseURL, databaseUser, databasePassword);
+ }
+
+ Statement statement = connection.createStatement();
+
+ statement.executeUpdate("CREATE TABLE " + databaseUser + "_Service (Name VARCHAR(64), Value NUMERIC)");
+
+ statement.close();
+ connection.close();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Setup01.main: " + exception);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Setup01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Utils/Delays.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Utils/Delays.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery11Utils/Delays.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,62 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: Delays.java,v 1.2 2003/06/26 11:43:51 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.CrashRecovery11Utils;
+
+import com.arjuna.ats.arjuna.common.Environment;
+import com.arjuna.ats.arjuna.common.arjPropertyManager;
+
+public class Delays
+{
+ public static int recoveryDelay()
+ {
+ //
+ // get from the propertyManager
+ //
+ String backoffPeriodString = arjPropertyManager.propertyManager.getProperty(Environment.RECOVERY_BACKOFF_PERIOD);
+ String recoveryPeriodString = arjPropertyManager.propertyManager.getProperty(Environment.PERIODIC_RECOVERY_PERIOD);
+
+ try
+ {
+ Integer recoveryPeriodInteger = new Integer(recoveryPeriodString);
+ int _recoveryPeriod = recoveryPeriodInteger.intValue();
+
+ Integer backoffPeriodInteger = new Integer(backoffPeriodString);
+ int _backoffPeriod = backoffPeriodInteger.intValue();
+
+ return (_backoffPeriod + _recoveryPeriod + (5 * 1000) /*5 secs for processing*/);
+ }
+ catch (NumberFormatException e)
+ {
+ return 30 * 1000;
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery12Clients/Client01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery12Clients/Client01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery12Clients/Client01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,112 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+/*
+ * Copyright (C) 2004,
+ *
+ * Arjuna Technologies Limited,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client01.java,v 1.4 2004/07/30 15:19:44 jcoleman Exp $
+ */
+
+package org.jboss.jbossts.qa.CrashRecovery12Clients;
+
+import com.arjuna.ats.internal.jta.transaction.jts.TransactionImple;
+import com.arjuna.ats.jta.TransactionManager;
+import com.arjuna.orbportability.OA;
+import com.arjuna.orbportability.ORB;
+import com.arjuna.orbportability.RootOA;
+import org.jboss.jbossts.qa.CrashRecovery12Resources.Resource01;
+import org.jboss.jbossts.qa.CrashRecovery12Resources.Resource02;
+
+import javax.transaction.UserTransaction;
+
+public class Client01
+{
+ public static String resultsFile = "Client01.log";
+
+ public static void main(String[] args)
+ {
+ int crashIn = Resource01.NOCRASH;
+ ;
+
+ if (args.length >= 1)
+ {
+ if (args[0].startsWith("p") || args[0].startsWith("P"))
+ {
+ crashIn = Resource01.PREPARE;
+ }
+ if (args[0].startsWith("c") || args[0].startsWith("C"))
+ {
+ crashIn = Resource01.COMMIT;
+ }
+ if (args[0].startsWith("r") || args[0].startsWith("R"))
+ {
+ crashIn = Resource01.ROLLBACK;
+ }
+ }
+ if (args.length >= 2)
+ {
+ resultsFile = args[1];
+ }
+
+ try
+ {
+ ORB myORB = ORB.getInstance("Client01");
+ RootOA myOA = OA.getRootOA(myORB);
+
+ myORB.initORB(args, null);
+ myOA.initOA();
+
+ }
+ catch (Exception ex)
+ {
+ ex.printStackTrace();
+ System.out.println("Failed");
+ }
+ try
+ {
+ UserTransaction ut = com.arjuna.ats.jta.UserTransaction.userTransaction();
+
+ ut.begin();
+
+ TransactionImple txImple = (TransactionImple) TransactionManager.transactionManager().getTransaction();
+
+ txImple.enlistResource(new Resource01(crashIn, resultsFile));
+ txImple.enlistResource(new Resource02());
+
+ ut.commit();
+ System.out.println("Passed");
+ }
+ catch (javax.transaction.RollbackException rbx)
+ {
+ System.out.println("Passed");
+ }
+ catch (Exception ex)
+ {
+ ex.printStackTrace();
+ System.out.println("Failed");
+ }
+
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery12Outcomes/Outcome01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery12Outcomes/Outcome01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery12Outcomes/Outcome01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,114 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+/*
+ * Copyright (C) 2004,
+ *
+ * Arjuna Technologies Limited,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Outcome01.java,v 1.3 2004/11/02 10:11:06 kconner Exp $
+ */
+
+package org.jboss.jbossts.qa.CrashRecovery12Outcomes;
+
+import org.jboss.jbossts.qa.CrashRecovery12Clients.Client01;
+
+import java.io.BufferedReader;
+import java.io.FileReader;
+
+public class Outcome01
+{
+ public static void main(String[] args)
+ {
+ int waitTime = 0;
+ String resultsFile = Client01.resultsFile;
+ boolean passed = false;
+ boolean recoveryPassedExpected = true;
+
+ switch (args.length)
+ {
+ case 3:
+ recoveryPassedExpected = "yes".equalsIgnoreCase(args[2]);
+ case 2:
+ resultsFile = args[1];
+ case 1:
+ try
+ {
+ waitTime = Integer.parseInt(args[0]);
+ }
+ catch (final NumberFormatException nfe)
+ {
+ System.err.println("Failed to parse waitTime: " + args[0]);
+ }
+ }
+
+ if (waitTime > 0)
+ {
+ System.err.println("Sleeping for " + waitTime + "ms");
+ try
+ {
+ Thread.sleep(waitTime);
+ }
+ catch (Exception ex)
+ {
+ System.err.println("Sleep interrupted");
+ ex.printStackTrace();
+ }
+ }
+
+ boolean foundRecoveryPassed = false;
+ boolean foundPassed = false;
+ try
+ {
+ FileReader fr = new FileReader(resultsFile);
+ BufferedReader br = new BufferedReader(fr);
+ String line;
+
+ while ((line = br.readLine()) != null)
+ {
+ System.err.println("Read: " + line);
+ if ("Passed".equals(line))
+ {
+ foundPassed = true;
+ }
+ if ("Recovery Passed".equals(line))
+ {
+ foundRecoveryPassed = true;
+ }
+ }
+ }
+ catch (Exception ex)
+ {
+ }
+
+ passed = recoveryPassedExpected ? foundRecoveryPassed : foundPassed;
+ if (passed)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery12Resources/Resource01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery12Resources/Resource01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery12Resources/Resource01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,284 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+/*
+ * Copyright (C) 2004,
+ *
+ * Arjuna Technologies Limited,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Resource01.java,v 1.1 2004/07/10 22:00:13 jcoleman Exp $
+ */
+
+package org.jboss.jbossts.qa.CrashRecovery12Resources;
+
+import javax.naming.NamingException;
+import javax.naming.Reference;
+import javax.naming.Referenceable;
+import javax.transaction.xa.XAException;
+import javax.transaction.xa.XAResource;
+import javax.transaction.xa.Xid;
+import java.io.FileWriter;
+import java.io.IOException;
+import java.io.PrintWriter;
+import java.io.Serializable;
+
+public class Resource01
+ implements XAResource, Referenceable, Serializable
+
+{
+ public static final int NOCRASH = 0;
+ public static final int PREPARE = 1;
+ public static final int COMMIT = 2;
+ public static final int ROLLBACK = 3;
+
+ public static final int NONE = 0;
+ public static final int OUT = 1;
+ public static final int ERR = 2;
+
+ private int crashIn;
+ private int recoverIn;
+ private boolean recovering = false;
+ ;
+ private String resultsFile;
+ private Xid _currentXid;
+ private Reference _reference;
+
+ public Resource01(int crash, String results)
+ {
+ crashIn = crash;
+ resultsFile = results;
+ myLog(ERR, "Resource01(" + crash + ", " + results + ")");
+ }
+
+ /**
+ * @param param1 <description>
+ * @param param2 <description>
+ * @throws javax.transaction.xa.XAException
+ * <description>
+ */
+ public void start(Xid xid, int flags) throws XAException
+ {
+ myLog(ERR, "start(" + xid + "," + flags + ")");
+ _currentXid = xid;
+ }
+
+ /**
+ * @param param1 <description>
+ * @param param2 <description>
+ * @throws javax.transaction.xa.XAException
+ * <description>
+ */
+ public void end(Xid xid, int flags) throws XAException
+ {
+ myLog(ERR, "end(" + xid + ", " + flags + ")");
+ _currentXid = null;
+ }
+
+ /**
+ * @param param1 <description>
+ * @return <description>
+ * @throws javax.transaction.xa.XAException
+ * <description>
+ */
+ public int prepare(Xid xid) throws XAException
+ {
+ myLog(ERR, "prepare(" + xid + ")");
+ if (crashIn == PREPARE)
+ {
+ myLog(ERR, "Crashing in prepare");
+ myLog(OUT, "Passed");
+ System.exit(0);
+ }
+ if (crashIn == ROLLBACK)
+ {
+ throw (new XAException(XAException.XA_RBROLLBACK));
+ }
+ /* Crash in commit, rollback or no crash. */
+ return XA_OK;
+ }
+
+ /**
+ * @param param1 <description>
+ * @param param2 <description>
+ * @throws javax.transaction.xa.XAException
+ * <description>
+ */
+ public void commit(Xid xid, boolean onePhase) throws XAException
+ {
+ myLog(ERR, "commit(" + xid + ", " + onePhase + ")");
+ if (crashIn == COMMIT)
+ {
+ myLog(ERR, "Crashing in commit");
+ myLog(OUT, "Passed");
+ System.exit(0);
+ }
+ if (recovering)
+ {
+ if (recoverIn == COMMIT)
+ {
+ myLog(ERR, "Recovery Passed");
+ }
+ else
+ {
+ myLog(ERR, "Recovery Failed");
+ }
+ }
+ }
+
+ /**
+ * @param param1 <description>
+ * @throws javax.transaction.xa.XAException
+ * <description>
+ */
+ public void rollback(Xid xid) throws XAException
+ {
+ myLog(ERR, "rollback(" + xid + ")");
+ if (crashIn == ROLLBACK)
+ {
+ myLog(ERR, "Crashing in rollback");
+ myLog(OUT, "Passed");
+ System.exit(0);
+ }
+ if (recovering)
+ {
+ if (recoverIn == PREPARE || recoverIn == ROLLBACK)
+ {
+ myLog(ERR, "Recovery Passed");
+ }
+ else
+ {
+ myLog(ERR, "Recovery Failed");
+ }
+ }
+ }
+
+ /**
+ * @param param1 <description>
+ * @throws javax.transaction.xa.XAException
+ * <description>
+ */
+ public void forget(Xid xid) throws XAException
+ {
+ myLog(ERR, "forget(" + xid + ")");
+ }
+
+ /**
+ * @param param1 <description>
+ * @return <description>
+ * @throws javax.transaction.xa.XAException
+ * <description>
+ */
+ public Xid[] recover(int flag) throws XAException
+ {
+ myLog(ERR, "recover(" + flag + ")");
+ return null;
+ }
+
+ /**
+ * @param param1 <description>
+ * @return <description>
+ * @throws javax.transaction.xa.XAException
+ * <description>
+ */
+ public boolean isSameRM(XAResource other) throws XAException
+ {
+ myLog(ERR, "isSameRM(" + other + ")");
+ return (false);
+ }
+
+ /**
+ * @return <description>
+ * @throws javax.transaction.xa.XAException
+ * <description>
+ */
+ public int getTransactionTimeout() throws XAException
+ {
+ myLog(ERR, "getTransactionTimeout()");
+ return 10;
+ }
+
+ /**
+ * @param param1 <description>
+ * @return <description>
+ * @throws javax.transaction.xa.XAException
+ * <description>
+ */
+ public boolean setTransactionTimeout(int seconds) throws XAException
+ {
+ myLog(ERR, "setTransactionTimeout(seconds)");
+ return true;
+ }
+
+ private void myLog(int where, String msg)
+ {
+ try
+ {
+ FileWriter fw = new FileWriter(resultsFile, true);
+ PrintWriter pw = new PrintWriter(fw);
+ pw.println(msg);
+ pw.flush();
+ pw.close();
+ fw.close();
+ if (where == OUT)
+ {
+ System.out.println(msg);
+ }
+ if (where == ERR)
+ {
+ System.err.println(msg);
+ }
+ }
+ catch (Throwable ex)
+ {
+ System.err.println("myLog() caught an exception");
+ ex.printStackTrace();
+ }
+ }
+
+ public void setReference(Reference _reference)
+ {
+ myLog(ERR, "setReference(" + _reference + ")");
+ this._reference = _reference;
+ }
+
+ public Reference getReference() throws NamingException
+ {
+ myLog(ERR, "getReference()");
+ return _reference;
+ }
+
+ private void writeObject(java.io.ObjectOutputStream out) throws IOException
+ {
+ myLog(ERR, "writeObject() (Serialise)");
+ out.writeInt(crashIn);
+ out.writeObject(resultsFile);
+ }
+
+ private void readObject(java.io.ObjectInputStream in) throws IOException, ClassNotFoundException
+ {
+ recoverIn = in.readInt();
+ resultsFile = (String) in.readObject();
+ recovering = true;
+ myLog(ERR, "readObject() (Deserialise)");
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery12Resources/Resource02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery12Resources/Resource02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery12Resources/Resource02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,190 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+/*
+ * Copyright (C) 2004,
+ *
+ * Arjuna Technologies Limited,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Resource02.java,v 1.1 2004/07/12 09:16:54 jcoleman Exp $
+ */
+
+package org.jboss.jbossts.qa.CrashRecovery12Resources;
+
+import javax.naming.NamingException;
+import javax.naming.Reference;
+import javax.naming.Referenceable;
+import javax.transaction.xa.XAException;
+import javax.transaction.xa.XAResource;
+import javax.transaction.xa.Xid;
+import java.io.IOException;
+import java.io.Serializable;
+
+public class Resource02
+ implements XAResource, Referenceable, Serializable
+
+{
+ private Xid _currentXid;
+ private Reference _reference;
+
+ public Resource02()
+ {
+ System.err.println("Resource02()");
+ }
+
+ /**
+ * @param param1 <description>
+ * @param param2 <description>
+ * @throws javax.transaction.xa.XAException
+ * <description>
+ */
+ public void start(Xid xid, int flags) throws XAException
+ {
+ System.err.println("start(" + xid + "," + flags + ")");
+ _currentXid = xid;
+ }
+
+ /**
+ * @param param1 <description>
+ * @param param2 <description>
+ * @throws javax.transaction.xa.XAException
+ * <description>
+ */
+ public void end(Xid xid, int flags) throws XAException
+ {
+ System.err.println("end(" + xid + ", " + flags + ")");
+ _currentXid = null;
+ }
+
+ /**
+ * @param param1 <description>
+ * @return <description>
+ * @throws javax.transaction.xa.XAException
+ * <description>
+ */
+ public int prepare(Xid xid) throws XAException
+ {
+ System.err.println("prepare(" + xid + ")");
+ return XA_OK;
+ }
+
+ /**
+ * @param param1 <description>
+ * @param param2 <description>
+ * @throws javax.transaction.xa.XAException
+ * <description>
+ */
+ public void commit(Xid xid, boolean onePhase) throws XAException
+ {
+ System.err.println("commit(" + xid + ", " + onePhase + ")");
+ }
+
+ /**
+ * @param param1 <description>
+ * @throws javax.transaction.xa.XAException
+ * <description>
+ */
+ public void rollback(Xid xid) throws XAException
+ {
+ System.err.println("rollback(" + xid + ")");
+ }
+
+ /**
+ * @param param1 <description>
+ * @throws javax.transaction.xa.XAException
+ * <description>
+ */
+ public void forget(Xid xid) throws XAException
+ {
+ System.err.println("forget(" + xid + ")");
+ }
+
+ /**
+ * @param param1 <description>
+ * @return <description>
+ * @throws javax.transaction.xa.XAException
+ * <description>
+ */
+ public Xid[] recover(int flag) throws XAException
+ {
+ System.err.println("recover(" + flag + ")");
+ return null;
+ }
+
+ /**
+ * @param param1 <description>
+ * @return <description>
+ * @throws javax.transaction.xa.XAException
+ * <description>
+ */
+ public boolean isSameRM(XAResource other) throws XAException
+ {
+ System.err.println("isSameRM(" + other + ")");
+ return (false);
+ }
+
+ /**
+ * @return <description>
+ * @throws javax.transaction.xa.XAException
+ * <description>
+ */
+ public int getTransactionTimeout() throws XAException
+ {
+ System.err.println("getTransactionTimeout()");
+ return 10;
+ }
+
+ /**
+ * @param param1 <description>
+ * @return <description>
+ * @throws javax.transaction.xa.XAException
+ * <description>
+ */
+ public boolean setTransactionTimeout(int seconds) throws XAException
+ {
+ System.err.println("setTransactionTimeout(seconds)");
+ return true;
+ }
+
+ public void setReference(Reference _reference)
+ {
+ System.err.println("setReference(" + _reference + ")");
+ this._reference = _reference;
+ }
+
+ public Reference getReference() throws NamingException
+ {
+ System.err.println("getReference()");
+ return _reference;
+ }
+
+ private void writeObject(java.io.ObjectOutputStream out) throws IOException
+ {
+ System.err.println("writeObject() (Serialise)");
+ }
+
+ private void readObject(java.io.ObjectInputStream in) throws IOException, ClassNotFoundException
+ {
+ System.err.println("readObject() (Deserialise)");
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery12Setups/Setup01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery12Setups/Setup01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery12Setups/Setup01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,73 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+/*
+ * Copyright (C) 2004,
+ *
+ * Arjuna Technologies Limited,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Setup01.java,v 1.1 2004/07/11 06:13:54 jcoleman Exp $
+ */
+
+package org.jboss.jbossts.qa.CrashRecovery12Setups;
+
+import org.jboss.jbossts.qa.CrashRecovery12Clients.Client01;
+
+import java.io.File;
+
+public class Setup01
+{
+ public static void main(String[] args)
+ {
+ String resultsFile = Client01.resultsFile;
+ boolean passed = false;
+
+ if (args.length >= 1)
+ {
+ resultsFile = args[0];
+ }
+
+ try
+ {
+ File f = new File(resultsFile);
+ f.delete();
+ if (!f.exists())
+ {
+ passed = true;
+ }
+ }
+ catch (Exception ex)
+ {
+ ex.printStackTrace();
+ }
+ if (passed)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery13Clients/Test01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery13Clients/Test01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery13Clients/Test01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,58 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+/*
+ * Copyright (C) 2004,
+ *
+ * Arjuna Technologies Ltd,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test01.java,v 1.1 2004/09/20 15:25:17 nmcl Exp $
+ */
+
+package org.jboss.jbossts.qa.CrashRecovery13Clients;
+
+import com.arjuna.ats.arjuna.recovery.RecoveryManager;
+
+public class Test01
+{
+ public static void main(String[] args)
+ {
+ System.setProperty("com.arjuna.ats.jta.xaRecoveryNode", "1");
+ System.setProperty("XAResourceRecovery1", "com.hp.mwtests.ts.jta.recovery.DummyXARecoveryResource");
+
+ try
+ {
+ RecoveryManager manager = RecoveryManager.manager(RecoveryManager.DIRECT_MANAGEMENT);
+
+ manager.scan();
+ manager.scan();
+
+ System.out.println("Passed.");
+ }
+ catch (Exception ex)
+ {
+ System.out.println("Failed.");
+ }
+ }
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery13Clients/Test02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery13Clients/Test02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery13Clients/Test02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,75 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+/*
+ * Copyright (C) 2004,
+ *
+ * Arjuna Technologies Ltd,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test02.java,v 1.1 2004/09/20 15:25:17 nmcl Exp $
+ */
+
+package org.jboss.jbossts.qa.CrashRecovery13Clients;
+
+import com.arjuna.ats.arjuna.common.Uid;
+import com.arjuna.ats.internal.jta.utils.XAUtils;
+import com.arjuna.ats.jta.xa.XidImple;
+
+import java.util.Vector;
+
+public class Test02
+{
+ public static void main(String[] args)
+ {
+ Vector xaRecoveryNodes = new Vector();
+ boolean passed = false;
+ Uid bogusNodeName = new Uid();
+
+ xaRecoveryNodes.add(bogusNodeName.stringForm());
+
+ System.err.println("Bogus XA node name: " + bogusNodeName);
+
+ XidImple xid = new XidImple(new Uid());
+ String nodeName = XAUtils.getXANodeName(xid);
+
+ // should fail.
+
+ System.err.println("XA node name: " + nodeName);
+ System.err.println("Xid to recover: " + xid);
+
+ if (!xaRecoveryNodes.contains(nodeName))
+ {
+ passed = true;
+ }
+
+ if (passed)
+ {
+ System.err.println("Passed.");
+ }
+ else
+ {
+ System.err.println("Failed.");
+ }
+ }
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery13Clients/Test03.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery13Clients/Test03.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery13Clients/Test03.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,86 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+/*
+ * Copyright (C) 2004,
+ *
+ * Arjuna Technologies Ltd,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test03.java,v 1.1 2004/10/13 15:45:47 nmcl Exp $
+ */
+
+package org.jboss.jbossts.qa.CrashRecovery13Clients;
+
+import com.arjuna.ats.internal.jts.ORBManager;
+import com.arjuna.orbportability.OA;
+import com.arjuna.orbportability.ORB;
+import com.arjuna.orbportability.RootOA;
+import org.jboss.jbossts.qa.CrashRecovery13Impls.ExampleXAResource;
+
+public class Test03
+{
+ public static void main(String[] args) throws Exception
+ {
+ System.setProperty("XAConnectionRecovery1", "ExampleXAConnectionRecovery");
+
+ ORB myORB = null;
+ RootOA myOA = null;
+
+ try
+ {
+ myORB = ORB.getInstance("test");
+ myOA = OA.getRootOA(myORB);
+
+ myORB.initORB(args, null);
+ myOA.initOA();
+
+ ORBManager.setORB(myORB);
+ ORBManager.setPOA(myOA);
+ }
+ catch (Exception e)
+ {
+ System.err.println("Initialisation failed: " + e);
+
+ System.exit(0);
+ }
+
+ com.arjuna.ats.internal.arjuna.recovery.RecoveryManagerImple rm = new com.arjuna.ats.internal.arjuna.recovery.RecoveryManagerImple(true);
+
+ try
+ {
+ Thread.sleep(140000);
+ }
+ catch (Exception ex)
+ {
+ }
+
+ if (ExampleXAResource.passed)
+ {
+ System.out.println("Passed.");
+ }
+ else
+ {
+ System.out.println("Failed.");
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery13Impls/DummyXARecoveryResource.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery13Impls/DummyXARecoveryResource.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery13Impls/DummyXARecoveryResource.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,85 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+/*
+ * Copyright (C) 2004,
+ *
+ * Arjuna Technologies Ltd,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: DummyXARecoveryResource.java,v 1.1 2004/09/20 15:25:18 nmcl Exp $
+ */
+
+package org.jboss.jbossts.qa.CrashRecovery13Impls;
+
+import com.arjuna.ats.jta.recovery.XAResourceRecovery;
+
+import javax.transaction.xa.XAResource;
+import java.sql.SQLException;
+
+public class DummyXARecoveryResource implements XAResourceRecovery
+{
+
+ public XAResource getXAResource() throws SQLException
+ {
+ count++;
+
+ return new RecoveryXAResource();
+ }
+
+ /**
+ * Initialise with all properties required to create the resource(s).
+ *
+ * @param String p An arbitrary string from which initialization data
+ * is obtained.
+ * @return <code>true</code> if initialization happened successfully,
+ * <code>false</code> otherwise.
+ */
+
+ public boolean initialise(String p) throws SQLException
+ {
+ return true;
+ }
+
+ /**
+ * Iterate through all of the resources this instance provides
+ * access to.
+ *
+ * @return <code>true</code> if this instance can provide more
+ * resources, <code>false</code> otherwise.
+ */
+
+ public boolean hasMoreResources()
+ {
+ if (count <= 1)
+ {
+ return true;
+ }
+ else
+ {
+ return false;
+ }
+ }
+
+ private int count = 0;
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery13Impls/ExampleXAConnection.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery13Impls/ExampleXAConnection.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery13Impls/ExampleXAConnection.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,65 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+/*
+ * Copyright (C) 2004,
+ *
+ * Arjuna Technologies Ltd,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ExampleXAConnection.java,v 1.1 2004/10/13 15:45:47 nmcl Exp $
+ */
+
+package org.jboss.jbossts.qa.CrashRecovery13Impls;
+
+import javax.sql.ConnectionEventListener;
+import javax.sql.XAConnection;
+import javax.transaction.xa.XAResource;
+import java.sql.Connection;
+import java.sql.SQLException;
+
+public class ExampleXAConnection implements XAConnection
+{
+ public XAResource getXAResource() throws SQLException
+ {
+ return new ExampleXAResource();
+ }
+
+ public void addConnectionEventListener(ConnectionEventListener l)
+ {
+ }
+
+ public void close() throws SQLException
+ {
+ }
+
+ public Connection getConnection() throws SQLException
+ {
+ return null;
+ }
+
+ public void removeConnectionEventListener(ConnectionEventListener l)
+ {
+ }
+
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery13Impls/ExampleXAConnectionRecovery.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery13Impls/ExampleXAConnectionRecovery.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery13Impls/ExampleXAConnectionRecovery.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,89 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+/*
+ * Copyright (C) 2004,
+ *
+ * Arjuna Technologies Ltd,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ExampleXAConnectionRecovery.java,v 1.1 2004/10/13 15:45:47 nmcl Exp $
+ */
+
+package org.jboss.jbossts.qa.CrashRecovery13Impls;
+
+import com.arjuna.ats.jta.recovery.XAConnectionRecovery;
+
+import javax.sql.XAConnection;
+import java.sql.SQLException;
+
+public class ExampleXAConnectionRecovery implements XAConnectionRecovery
+{
+
+ public XAConnection getConnection() throws SQLException
+ {
+ count = 1;
+
+ return new ExampleXAConnection();
+ }
+
+ /**
+ * Initialise with all properties required to create the resource(s).
+ *
+ * @param String p An arbitrary string from which initialization data
+ * is obtained.
+ * @return <code>true</code> if initialization happened successfully,
+ * <code>false</code> otherwise.
+ */
+
+ public boolean initialise(String p) throws SQLException
+ {
+ return true;
+ }
+
+ /**
+ * Iterate through all of the resources this instance provides
+ * access to.
+ *
+ * @return <code>true</code> if this instance can provide more
+ * resources, <code>false</code> otherwise.
+ */
+
+ public boolean hasMoreConnections()
+ {
+ boolean toReturn = false;
+
+ if (count != 1)
+ {
+ toReturn = true;
+ }
+
+ // reset for next recovery scan
+
+ count = 0;
+
+ return toReturn;
+ }
+
+ private int count = 0;
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery13Impls/ExampleXAResource.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery13Impls/ExampleXAResource.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery13Impls/ExampleXAResource.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,260 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+/*
+ * Copyright (C) 2004,
+ *
+ * Arjuna Technologies Ltd,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ExampleXAResource.java,v 1.1 2004/10/13 15:45:48 nmcl Exp $
+ */
+
+package org.jboss.jbossts.qa.CrashRecovery13Impls;
+
+import com.arjuna.ats.arjuna.AtomicAction;
+import com.arjuna.ats.jta.xa.XidImple;
+
+import javax.naming.NamingException;
+import javax.naming.Reference;
+import javax.naming.Referenceable;
+import javax.transaction.xa.XAException;
+import javax.transaction.xa.XAResource;
+import javax.transaction.xa.Xid;
+import java.io.IOException;
+import java.io.Serializable;
+
+public class ExampleXAResource
+ implements XAResource, Referenceable, Serializable
+{
+ private final static long _sleepTime = 20000;
+ private Xid _currentXid;
+ private Reference _reference;
+
+ public ExampleXAResource()
+ {
+ myLog("ExampleXAResource (Constructor)");
+
+ }
+
+ /**
+ * @param param1 <description>
+ * @param param2 <description>
+ * @throws javax.transaction.xa.XAException
+ * <description>
+ */
+ public void start(Xid xid, int flags) throws XAException
+ {
+ myLog("start");
+ _currentXid = xid;
+ }
+
+ /**
+ * @param param1 <description>
+ * @param param2 <description>
+ * @throws javax.transaction.xa.XAException
+ * <description>
+ */
+ public void end(Xid xid, int flags) throws XAException
+ {
+ myLog("end");
+ _currentXid = null;
+ }
+
+ /**
+ * @param param1 <description>
+ * @param param2 <description>
+ * @throws javax.transaction.xa.XAException
+ * <description>
+ */
+ public void commit(Xid xid, boolean onePhase) throws XAException
+ {
+ myLog("commit,xid=" + xid + ",onePhase=" + onePhase);
+ mySleep(_sleepTime);
+ }
+
+ /**
+ * @param param1 <description>
+ * @return <description>
+ * @throws javax.transaction.xa.XAException
+ * <description>
+ */
+ public int prepare(Xid xid) throws XAException
+ {
+ myLog("prepare");
+ int i = 2;
+ if (i == 1)
+ {
+ throw (new XAException(XAException.XA_RBROLLBACK));
+ }
+
+ return XA_OK;
+ }
+
+ /**
+ * @param param1 <description>
+ * @throws javax.transaction.xa.XAException
+ * <description>
+ */
+ public void rollback(Xid xid) throws XAException
+ {
+ if (xid.equals(toRecover))
+ {
+ passed = true;
+ }
+
+ myLog("rollback");
+ }
+
+ /**
+ * @param param1 <description>
+ * @throws javax.transaction.xa.XAException
+ * <description>
+ */
+ public void forget(Xid xid) throws XAException
+ {
+ myLog("forget");
+ }
+
+ /**
+ * @param param1 <description>
+ * @return <description>
+ * @throws javax.transaction.xa.XAException
+ * <description>
+ */
+ public Xid[] recover(int flag) throws XAException
+ {
+ myLog("recover");
+
+ Xid[] xids = new Xid[2];
+
+ if (ExampleXAResource.toRecover == null)
+ {
+ AtomicAction a = new AtomicAction();
+
+ ExampleXAResource.toRecover = new XidImple(new AtomicAction());
+ }
+
+ xids[0] = ExampleXAResource.toRecover;
+ xids[1] = new XidImple(new AtomicAction());
+
+ return xids;
+ }
+
+ /**
+ * @param param1 <description>
+ * @return <description>
+ * @throws javax.transaction.xa.XAException
+ * <description>
+ */
+ public boolean isSameRM(XAResource other) throws XAException
+ {
+ myLog("isSameRM");
+ return (false);
+ }
+
+ /**
+ * @return <description>
+ * @throws javax.transaction.xa.XAException
+ * <description>
+ */
+ public int getTransactionTimeout() throws XAException
+ {
+ myLog("getTransactionTimeout");
+ return 10;
+ }
+
+ /**
+ * @param param1 <description>
+ * @return <description>
+ * @throws javax.transaction.xa.XAException
+ * <description>
+ */
+ public boolean setTransactionTimeout(int seconds) throws XAException
+ {
+ myLog("setTransactionTimeout");
+ return true;
+ }
+
+ private void myLog(String msg)
+ {
+ /*
+ try
+ {
+ String fileName = "ExampleXAResource.log";
+ FileWriter fw = new FileWriter(fileName, true);
+ PrintWriter pw = new PrintWriter(fw);
+ pw.println(msg);
+ pw.flush();
+ pw.close();
+ fw.close();
+ System.out.println("ExampleResource: "+msg);
+ }
+ catch (Throwable ex)
+ {
+ System.out.println("Caught an exception");
+ ex.printStackTrace();
+ }
+ */
+
+ }
+
+ private void mySleep(long millis)
+ {
+ myLog("Sleeping " + millis + " milliseconds");
+ try
+ {
+ Thread.sleep(millis);
+ }
+ catch (Exception ex)
+ {
+ }
+ myLog("Sleep complete");
+ }
+
+ public void setReference(Reference _reference)
+ {
+ myLog("setReference, _reference=" + _reference);
+ this._reference = _reference;
+ }
+
+ public Reference getReference() throws NamingException
+ {
+ myLog("getReference");
+ return _reference;
+ }
+
+ private void writeObject(java.io.ObjectOutputStream out) throws IOException
+ {
+ myLog("writeObject (Serialized)");
+ }
+
+ private void readObject(java.io.ObjectInputStream in) throws IOException, ClassNotFoundException
+ {
+ myLog("readObject (Deserialized");
+ }
+
+ public static boolean passed = false;
+
+ private static Xid toRecover = null;
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery13Impls/RecoveryXAResource.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery13Impls/RecoveryXAResource.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CrashRecovery13Impls/RecoveryXAResource.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,116 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+/*
+ * Copyright (C) 2004,
+ *
+ * Arjuna Technologies Ltd,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: RecoveryXAResource.java,v 1.1 2004/09/20 15:25:18 nmcl Exp $
+ */
+
+package org.jboss.jbossts.qa.CrashRecovery13Impls;
+
+import com.arjuna.ats.arjuna.AtomicAction;
+import com.arjuna.ats.arjuna.common.Uid;
+import com.arjuna.ats.jta.xa.XidImple;
+
+import javax.transaction.xa.XAException;
+import javax.transaction.xa.XAResource;
+import javax.transaction.xa.Xid;
+
+public class RecoveryXAResource implements XAResource
+{
+
+ public RecoveryXAResource()
+ {
+ if (xids == null)
+ {
+ xids = new Xid[2];
+
+ AtomicAction a = new AtomicAction();
+
+ xids[0] = new XidImple(a);
+
+ byte[] c = com.arjuna.ats.arjuna.coordinator.TxControl.getXANodeName();
+
+ byte[] b = new byte[1];
+
+ b[0] = 'c';
+
+ com.arjuna.ats.arjuna.coordinator.TxControl.setXANodeName(b);
+
+ xids[1] = new XidImple(new Uid());
+
+ com.arjuna.ats.arjuna.coordinator.TxControl.setXANodeName(c);
+ }
+ }
+
+ public void commit(Xid xid, boolean onePhase) throws XAException
+ {
+ }
+
+ public void end(Xid xid, int flags) throws XAException
+ {
+ }
+
+ public void forget(Xid xid) throws XAException
+ {
+ }
+
+ public int getTransactionTimeout() throws XAException
+ {
+ return 0;
+ }
+
+ public int prepare(Xid xid) throws XAException
+ {
+ return XAResource.XA_OK;
+ }
+
+ public Xid[] recover(int flag) throws XAException
+ {
+ return xids;
+ }
+
+ public void rollback(Xid xid) throws XAException
+ {
+ }
+
+ public boolean setTransactionTimeout(int seconds) throws XAException
+ {
+ return true;
+ }
+
+ public void start(Xid xid, int flags) throws XAException
+ {
+ }
+
+ public boolean isSameRM(XAResource xares) throws XAException
+ {
+ return (xares == this);
+ }
+
+ private static Xid[] xids = null;
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,115 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CurrentTests01;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test01.java,v 1.2 2003/06/26 11:43:51 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test01.java,v 1.2 2003/06/26 11:43:51 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.omg.CosTransactions.Current;
+import org.omg.CosTransactions.NoTransaction;
+
+public class Test01
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ boolean correct = true;
+
+ Current current = OTS.get_current();
+
+ try
+ {
+ current.commit(true);
+ correct = false;
+ }
+ catch (NoTransaction noTransaction)
+ {
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Test01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Test01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,115 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CurrentTests01;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test02.java,v 1.2 2003/06/26 11:43:52 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test02.java,v 1.2 2003/06/26 11:43:52 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.omg.CosTransactions.Current;
+import org.omg.CosTransactions.NoTransaction;
+
+public class Test02
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ boolean correct = true;
+
+ Current current = OTS.get_current();
+
+ try
+ {
+ current.commit(false);
+ correct = false;
+ }
+ catch (NoTransaction noTransaction)
+ {
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Test02.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Test02.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test03.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test03.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test03.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,115 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CurrentTests01;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test03.java,v 1.2 2003/06/26 11:43:52 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test03.java,v 1.2 2003/06/26 11:43:52 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.omg.CosTransactions.Current;
+import org.omg.CosTransactions.NoTransaction;
+
+public class Test03
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ boolean correct = true;
+
+ Current current = OTS.get_current();
+
+ try
+ {
+ current.rollback();
+ correct = false;
+ }
+ catch (NoTransaction noTransaction)
+ {
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Test03.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Test03.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test04.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test04.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test04.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,115 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CurrentTests01;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test04.java,v 1.2 2003/06/26 11:43:52 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test04.java,v 1.2 2003/06/26 11:43:52 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.omg.CosTransactions.Current;
+import org.omg.CosTransactions.NoTransaction;
+
+public class Test04
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ boolean correct = true;
+
+ Current current = OTS.get_current();
+
+ try
+ {
+ current.rollback_only();
+ correct = false;
+ }
+ catch (NoTransaction noTransaction)
+ {
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Test04.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Test04.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test05.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test05.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test05.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,118 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CurrentTests01;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test05.java,v 1.2 2003/06/26 11:43:52 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test05.java,v 1.2 2003/06/26 11:43:52 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.omg.CosTransactions.Current;
+import org.omg.CosTransactions.NoTransaction;
+
+public class Test05
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ boolean correct = true;
+
+ Current current = OTS.get_current();
+
+ current.begin();
+ current.commit(true);
+
+ try
+ {
+ current.commit(true);
+ correct = false;
+ }
+ catch (NoTransaction noTransaction)
+ {
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Test05.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Test05.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test06.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test06.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test06.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,118 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CurrentTests01;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test06.java,v 1.2 2003/06/26 11:43:52 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test06.java,v 1.2 2003/06/26 11:43:52 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.omg.CosTransactions.Current;
+import org.omg.CosTransactions.NoTransaction;
+
+public class Test06
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ boolean correct = true;
+
+ Current current = OTS.get_current();
+
+ current.begin();
+ current.commit(true);
+
+ try
+ {
+ current.commit(false);
+ correct = false;
+ }
+ catch (NoTransaction noTransaction)
+ {
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Test06.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Test06.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test07.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test07.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test07.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,118 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CurrentTests01;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test07.java,v 1.2 2003/06/26 11:43:52 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test07.java,v 1.2 2003/06/26 11:43:52 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.omg.CosTransactions.Current;
+import org.omg.CosTransactions.NoTransaction;
+
+public class Test07
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ boolean correct = true;
+
+ Current current = OTS.get_current();
+
+ current.begin();
+ current.commit(true);
+
+ try
+ {
+ current.rollback();
+ correct = false;
+ }
+ catch (NoTransaction noTransaction)
+ {
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Test07.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Test07.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test08.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test08.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test08.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,118 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CurrentTests01;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test08.java,v 1.2 2003/06/26 11:43:52 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test08.java,v 1.2 2003/06/26 11:43:52 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.omg.CosTransactions.Current;
+import org.omg.CosTransactions.NoTransaction;
+
+public class Test08
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ boolean correct = true;
+
+ Current current = OTS.get_current();
+
+ current.begin();
+ current.commit(true);
+
+ try
+ {
+ current.rollback_only();
+ correct = false;
+ }
+ catch (NoTransaction noTransaction)
+ {
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Test08.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Test08.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test09.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test09.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test09.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,118 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CurrentTests01;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test09.java,v 1.2 2003/06/26 11:43:52 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test09.java,v 1.2 2003/06/26 11:43:52 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.omg.CosTransactions.Current;
+import org.omg.CosTransactions.NoTransaction;
+
+public class Test09
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ boolean correct = true;
+
+ Current current = OTS.get_current();
+
+ current.begin();
+ current.commit(false);
+
+ try
+ {
+ current.commit(true);
+ correct = false;
+ }
+ catch (NoTransaction noTransaction)
+ {
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Test09.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Test09.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test10.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test10.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test10.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,118 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CurrentTests01;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test10.java,v 1.2 2003/06/26 11:43:52 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test10.java,v 1.2 2003/06/26 11:43:52 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.omg.CosTransactions.Current;
+import org.omg.CosTransactions.NoTransaction;
+
+public class Test10
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ boolean correct = true;
+
+ Current current = OTS.get_current();
+
+ current.begin();
+ current.commit(false);
+
+ try
+ {
+ current.commit(false);
+ correct = false;
+ }
+ catch (NoTransaction noTransaction)
+ {
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Test10.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Test10.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test11.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test11.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test11.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,118 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CurrentTests01;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test11.java,v 1.2 2003/06/26 11:43:52 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test11.java,v 1.2 2003/06/26 11:43:52 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.omg.CosTransactions.Current;
+import org.omg.CosTransactions.NoTransaction;
+
+public class Test11
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ boolean correct = true;
+
+ Current current = OTS.get_current();
+
+ current.begin();
+ current.commit(false);
+
+ try
+ {
+ current.rollback();
+ correct = false;
+ }
+ catch (NoTransaction noTransaction)
+ {
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Test11.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Test11.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test12.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test12.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test12.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,118 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CurrentTests01;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test12.java,v 1.2 2003/06/26 11:43:52 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test12.java,v 1.2 2003/06/26 11:43:52 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.omg.CosTransactions.Current;
+import org.omg.CosTransactions.NoTransaction;
+
+public class Test12
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ boolean correct = true;
+
+ Current current = OTS.get_current();
+
+ current.begin();
+ current.commit(false);
+
+ try
+ {
+ current.rollback_only();
+ correct = false;
+ }
+ catch (NoTransaction noTransaction)
+ {
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Test12.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Test12.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test13.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test13.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test13.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,118 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CurrentTests01;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test13.java,v 1.2 2003/06/26 11:43:52 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test13.java,v 1.2 2003/06/26 11:43:52 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.omg.CosTransactions.Current;
+import org.omg.CosTransactions.NoTransaction;
+
+public class Test13
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ boolean correct = true;
+
+ Current current = OTS.get_current();
+
+ current.begin();
+ current.rollback();
+
+ try
+ {
+ current.commit(true);
+ correct = false;
+ }
+ catch (NoTransaction noTransaction)
+ {
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Test13.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Test13.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test14.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test14.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test14.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,118 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CurrentTests01;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test14.java,v 1.2 2003/06/26 11:43:52 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test14.java,v 1.2 2003/06/26 11:43:52 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.omg.CosTransactions.Current;
+import org.omg.CosTransactions.NoTransaction;
+
+public class Test14
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ boolean correct = true;
+
+ Current current = OTS.get_current();
+
+ current.begin();
+ current.rollback();
+
+ try
+ {
+ current.commit(false);
+ correct = false;
+ }
+ catch (NoTransaction noTransaction)
+ {
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Test14.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Test14.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test15.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test15.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test15.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,118 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CurrentTests01;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test15.java,v 1.2 2003/06/26 11:43:52 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test15.java,v 1.2 2003/06/26 11:43:52 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.omg.CosTransactions.Current;
+import org.omg.CosTransactions.NoTransaction;
+
+public class Test15
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ boolean correct = true;
+
+ Current current = OTS.get_current();
+
+ current.begin();
+ current.rollback();
+
+ try
+ {
+ current.rollback();
+ correct = false;
+ }
+ catch (NoTransaction noTransaction)
+ {
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Test15.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Test15.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test16.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test16.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test16.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,118 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CurrentTests01;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test16.java,v 1.2 2003/06/26 11:43:52 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test16.java,v 1.2 2003/06/26 11:43:52 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.omg.CosTransactions.Current;
+import org.omg.CosTransactions.NoTransaction;
+
+public class Test16
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ boolean correct = true;
+
+ Current current = OTS.get_current();
+
+ current.begin();
+ current.rollback();
+
+ try
+ {
+ current.rollback_only();
+ correct = false;
+ }
+ catch (NoTransaction noTransaction)
+ {
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Test16.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Test16.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test17.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test17.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test17.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,123 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CurrentTests01;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test17.java,v 1.2 2003/06/26 11:43:52 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test17.java,v 1.2 2003/06/26 11:43:52 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.omg.CosTransactions.Current;
+
+public class Test17
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ boolean correct = true;
+
+ int numberOfTransactionNames = 1000;
+
+ Current current = OTS.get_current();
+
+ String[] transactionNames = new String[numberOfTransactionNames];
+ for (int index = 0; index < numberOfTransactionNames; index++)
+ {
+ current.begin();
+ transactionNames[index] = current.get_transaction_name();
+ current.commit(true);
+ }
+
+ for (int index1 = 0; index1 < numberOfTransactionNames - 1; index1++)
+ {
+ for (int index2 = index1 + 1; index2 < numberOfTransactionNames; index2++)
+ {
+ correct = correct && (!transactionNames[index1].equals(transactionNames[index2]));
+ }
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Test17.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Test17.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test18.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test18.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test18.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,123 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CurrentTests01;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test18.java,v 1.2 2003/06/26 11:43:52 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test18.java,v 1.2 2003/06/26 11:43:52 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.omg.CosTransactions.Current;
+
+public class Test18
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ boolean correct = true;
+
+ int numberOfTransactionNames = 1000;
+
+ Current current = OTS.get_current();
+
+ String[] transactionNames = new String[numberOfTransactionNames];
+ for (int index = 0; index < numberOfTransactionNames; index++)
+ {
+ current.begin();
+ transactionNames[index] = current.get_transaction_name();
+ current.commit(false);
+ }
+
+ for (int index1 = 0; index1 < numberOfTransactionNames - 1; index1++)
+ {
+ for (int index2 = index1 + 1; index2 < numberOfTransactionNames; index2++)
+ {
+ correct = correct && (!transactionNames[index1].equals(transactionNames[index2]));
+ }
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Test18.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Test18.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test19.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test19.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test19.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,123 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CurrentTests01;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test19.java,v 1.2 2003/06/26 11:43:52 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test19.java,v 1.2 2003/06/26 11:43:52 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.omg.CosTransactions.Current;
+
+public class Test19
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ boolean correct = true;
+
+ int numberOfTransactionNames = 1000;
+
+ Current current = OTS.get_current();
+
+ String[] transactionNames = new String[numberOfTransactionNames];
+ for (int index = 0; index < numberOfTransactionNames; index++)
+ {
+ current.begin();
+ transactionNames[index] = current.get_transaction_name();
+ current.rollback();
+ }
+
+ for (int index1 = 0; index1 < numberOfTransactionNames - 1; index1++)
+ {
+ for (int index2 = index1 + 1; index2 < numberOfTransactionNames; index2++)
+ {
+ correct = correct && (!transactionNames[index1].equals(transactionNames[index2]));
+ }
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Test19.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Test19.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test20.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test20.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test20.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,124 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CurrentTests01;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test20.java,v 1.2 2003/06/26 11:43:52 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test20.java,v 1.2 2003/06/26 11:43:52 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.omg.CosTransactions.Control;
+import org.omg.CosTransactions.Current;
+
+public class Test20
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ boolean correct = true;
+
+ int numberOfControls = 1000;
+
+ Current current = OTS.get_current();
+
+ String[] transactionNames = new String[numberOfControls];
+ Control[] controls = new Control[numberOfControls];
+ for (int index = 0; index < numberOfControls; index++)
+ {
+ current.begin();
+ transactionNames[index] = current.get_transaction_name();
+ controls[index] = current.suspend();
+ }
+
+ for (int index = 0; index < numberOfControls; index++)
+ {
+ current.resume(controls[index]);
+ correct = correct && transactionNames[index].equals(current.get_transaction_name());
+ current.commit(true);
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Test20.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Test20.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test21.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test21.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test21.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,110 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CurrentTests01;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test21.java,v 1.2 2003/06/26 11:43:52 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test21.java,v 1.2 2003/06/26 11:43:52 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.omg.CosTransactions.Control;
+import org.omg.CosTransactions.Current;
+
+public class Test21
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ boolean correct = true;
+
+ Current current = OTS.get_current();
+
+ Control control = current.suspend();
+
+ correct = (control == null);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Test21.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Test21.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test22.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test22.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test22.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,113 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CurrentTests01;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test22.java,v 1.2 2003/06/26 11:43:53 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test22.java,v 1.2 2003/06/26 11:43:53 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.omg.CosTransactions.Control;
+import org.omg.CosTransactions.Current;
+
+public class Test22
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ boolean correct = true;
+
+ Current current = OTS.get_current();
+
+ current.begin();
+ current.commit(true);
+
+ Control control = current.suspend();
+
+ correct = (control == null);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Test22.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Test22.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test23.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test23.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test23.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,113 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CurrentTests01;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test23.java,v 1.2 2003/06/26 11:43:53 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test23.java,v 1.2 2003/06/26 11:43:53 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.omg.CosTransactions.Control;
+import org.omg.CosTransactions.Current;
+
+public class Test23
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ boolean correct = true;
+
+ Current current = OTS.get_current();
+
+ current.begin();
+ current.commit(false);
+
+ Control control = current.suspend();
+
+ correct = (control == null);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Test23.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Test23.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test24.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test24.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test24.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,113 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CurrentTests01;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test24.java,v 1.2 2003/06/26 11:43:53 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test24.java,v 1.2 2003/06/26 11:43:53 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.omg.CosTransactions.Control;
+import org.omg.CosTransactions.Current;
+
+public class Test24
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ boolean correct = true;
+
+ Current current = OTS.get_current();
+
+ current.begin();
+ current.rollback();
+
+ Control control = current.suspend();
+
+ correct = (control == null);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Test24.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Test24.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test25.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test25.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test25.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,115 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CurrentTests01;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test25.java,v 1.2 2003/06/26 11:43:53 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test25.java,v 1.2 2003/06/26 11:43:53 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.omg.CosTransactions.Current;
+import org.omg.CosTransactions.InvalidControl;
+
+public class Test25
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ boolean correct = true;
+
+ Current current = OTS.get_current();
+
+ try
+ {
+ current.resume(null);
+ }
+ catch (InvalidControl invalidControl)
+ {
+ correct = false;
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Test25.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Test25.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test26.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test26.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test26.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,121 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CurrentTests01;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test26.java,v 1.3 2003/07/14 11:51:15 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test26.java,v 1.3 2003/07/14 11:51:15 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.omg.CosTransactions.Control;
+import org.omg.CosTransactions.Current;
+import org.omg.CosTransactions.InvalidControl;
+
+public class Test26
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ boolean correct = true;
+
+ Current current = OTS.get_current();
+
+ current.begin();
+ Control control = current.get_control();
+ current.commit(true);
+
+ try
+ {
+ current.resume(control);
+ }
+ catch (InvalidControl invalidControl)
+ {
+ System.err.println("Failed to resume committed transaction!");
+ correct = false;
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Test26.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Test26.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test27.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test27.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test27.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,121 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CurrentTests01;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test27.java,v 1.3 2003/07/14 11:51:15 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test27.java,v 1.3 2003/07/14 11:51:15 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.omg.CosTransactions.Control;
+import org.omg.CosTransactions.Current;
+import org.omg.CosTransactions.InvalidControl;
+
+public class Test27
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ boolean correct = true;
+
+ Current current = OTS.get_current();
+
+ current.begin();
+ Control control = current.get_control();
+ current.commit(false);
+
+ try
+ {
+ current.resume(control);
+ }
+ catch (InvalidControl invalidControl)
+ {
+ System.err.println("Failed to resume committed transaction!");
+ correct = false;
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Test27.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Testt27.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test28.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test28.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test28.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,121 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CurrentTests01;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test28.java,v 1.3 2003/07/14 11:51:15 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test28.java,v 1.3 2003/07/14 11:51:15 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.omg.CosTransactions.Control;
+import org.omg.CosTransactions.Current;
+import org.omg.CosTransactions.InvalidControl;
+
+public class Test28
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ boolean correct = true;
+
+ Current current = OTS.get_current();
+
+ current.begin();
+ Control control = current.get_control();
+ current.rollback();
+
+ try
+ {
+ current.resume(control);
+ }
+ catch (InvalidControl invalidControl)
+ {
+ System.err.println("Failed to resume rolled-back transaction!");
+ correct = false;
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Test28.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Test28.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test29.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test29.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test29.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,108 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CurrentTests01;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test29.java,v 1.2 2003/06/26 11:43:53 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test29.java,v 1.2 2003/06/26 11:43:53 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.omg.CosTransactions.Current;
+import org.omg.CosTransactions.Status;
+
+public class Test29
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ boolean correct = true;
+
+ Current current = OTS.get_current();
+
+ correct = (current.get_status() == Status.StatusNoTransaction);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Test29.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Test29.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test30.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test30.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test30.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,111 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CurrentTests01;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test30.java,v 1.2 2003/06/26 11:43:53 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test30.java,v 1.2 2003/06/26 11:43:53 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.omg.CosTransactions.Current;
+import org.omg.CosTransactions.Status;
+
+public class Test30
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ boolean correct = true;
+
+ Current current = OTS.get_current();
+
+ current.begin();
+ current.commit(true);
+
+ correct = (current.get_status() == Status.StatusNoTransaction);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Test30.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Test30.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test31.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test31.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test31.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,111 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CurrentTests01;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test31.java,v 1.2 2003/06/26 11:43:53 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test31.java,v 1.2 2003/06/26 11:43:53 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.omg.CosTransactions.Current;
+import org.omg.CosTransactions.Status;
+
+public class Test31
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ boolean correct = true;
+
+ Current current = OTS.get_current();
+
+ current.begin();
+ current.commit(false);
+
+ correct = (current.get_status() == Status.StatusNoTransaction);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Test31.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Test31.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test32.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test32.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test32.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,111 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CurrentTests01;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test32.java,v 1.2 2003/06/26 11:43:53 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test32.java,v 1.2 2003/06/26 11:43:53 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.omg.CosTransactions.Current;
+import org.omg.CosTransactions.Status;
+
+public class Test32
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ boolean correct = true;
+
+ Current current = OTS.get_current();
+
+ current.begin();
+ current.rollback();
+
+ correct = (current.get_status() == Status.StatusNoTransaction);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Test32.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Test32.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test33.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test33.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test33.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,110 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CurrentTests01;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test33.java,v 1.2 2003/06/26 11:43:53 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test33.java,v 1.2 2003/06/26 11:43:53 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.omg.CosTransactions.Current;
+import org.omg.CosTransactions.Status;
+
+public class Test33
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ boolean correct = true;
+
+ Current current = OTS.get_current();
+
+ current.begin();
+ correct = (current.get_status() == Status.StatusActive);
+ current.commit(true);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Test33.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Test33.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test34.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test34.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test34.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,111 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CurrentTests01;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test34.java,v 1.2 2003/06/26 11:43:53 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test34.java,v 1.2 2003/06/26 11:43:53 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.omg.CosTransactions.Current;
+import org.omg.CosTransactions.Status;
+
+public class Test34
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ boolean correct = true;
+
+ Current current = OTS.get_current();
+
+ current.begin();
+ current.rollback_only();
+ correct = (current.get_status() == Status.StatusMarkedRollback);
+ current.rollback();
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Test34.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Test34.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test35.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test35.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test35.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,218 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 2001,
+//
+// Hewlett-Packard Company,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CurrentTests01;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test35.java,v 1.3 2004/11/02 11:55:39 kconner Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test35.java,v 1.3 2004/11/02 11:55:39 kconner Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.omg.CORBA.INVALID_TRANSACTION;
+
+public class Test35
+{
+ public static void main(String[] args)
+ {
+ boolean correct = true;
+ int interPhaseSleepPeriod;
+
+ if (args.length != 0)
+ {
+ interPhaseSleepPeriod = Integer.parseInt(args[args.length - 1]);
+ interPhaseSleepPeriod = interPhaseSleepPeriod * 1000;
+ }
+ else
+ {
+ interPhaseSleepPeriod = 0;
+ }
+
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ System.err.println("Purpose of test: This test has been introduced to ensure that setting a transaction\n" +
+ "timeout of 0 (zero) seconds will remove any existing timeout. The test operates\n" +
+ "in two phases;\n\n" +
+ "In the first phase, a transaction timeout of 4 secs is set. A transaction is then\n" +
+ "started, the thread then immediately goes to sleep for 8 seconds. When the thread\n" +
+ "wakes, an attempt is made to commit the transaction. An exception (INVALID_TRANSACTION)\n" +
+ "is expected to be thrown at this point as the transaction should have timed out and\n" +
+ "been rolled back.\n\n" +
+ "In the second phase, a transaction timeout of 0 secs is set. A transaction is then\n" +
+ "started, the thread then immediately goes to sleep for 12 seconds. When the thread\n" +
+ "wakes up, an attempt is again made to commit the transaction. This time the commit\n" +
+ "should work and the test will thus be regarded as having passed. If instead an\n" +
+ "exception is thrown because the transaction has timed out, this would indicate that\n" +
+ "setting the timeout to 0 did not remove the previous timeout and the test should\n" +
+ "therefore be regarded as having failed.\n\n" +
+ "An additional pause may be specified in between the above two phases to allow a\n" +
+ "manual check to see whether the TX_REAPER_THREAD is thrashing the CPU, as it\n" +
+ "has done in the past. To activate this interphase pause, you simply need to pass\n" +
+ "an integer as a parameter to the test. The test will then pause for this amount\n" +
+ "of seconds between phases one and two.\n\n");
+
+ org.omg.CosTransactions.Current current = OTS.get_current();
+
+ System.err.println("Client: Initiating phase one");
+
+ System.err.println("Client: Setting 4 second timeout");
+ current.set_timeout(4);
+
+ System.err.println("Client: Starting transaction then sleeping for 12 seconds");
+ current.begin();
+ Thread.sleep(12000);
+
+ try
+ {
+
+ System.err.println("Client: Trying commit (expect INVALID_TRANSACTION exception)...");
+ current.commit(true);
+ System.err.println("Client: Commit OK - Warning: Expected INVALID_TRANSACTION exception to be thrown");
+ System.err.println("Client: Test should fail");
+ correct = false;
+ }
+ catch (INVALID_TRANSACTION invalidTransaction)
+ {
+ System.err.println("Client: Caught INVALID_TRANSACTION exception");
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client: Caught unexpected exception: " + exception);
+ exception.printStackTrace(System.err);
+ correct = false;
+ }
+
+ if (correct)
+ {
+
+ if (interPhaseSleepPeriod != 0)
+ {
+ try
+ {
+ System.err.println("Client: Inter-phase sleep period of " + (interPhaseSleepPeriod / 1000) + " seconds");
+ Thread.sleep(interPhaseSleepPeriod);
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client: Caught unexpected exception: " + exception);
+ exception.printStackTrace(System.err);
+ correct = false;
+ }
+ }
+
+ if (correct)
+ {
+
+ System.err.println("Client: Initiating phase two");
+
+ System.err.println("Client: Setting 0 second timeout");
+ current.set_timeout(0);
+
+ System.err.println("Client: Starting transaction then sleeping for 8 seconds");
+ current.begin();
+ Thread.sleep(8000);
+
+ try
+ {
+ System.err.println("Client: Trying commit (expect 'Commit OK')...");
+ current.commit(true);
+ System.err.println("Client: Commit OK");
+ System.err.println("Client: Test should pass");
+ }
+ catch (INVALID_TRANSACTION invalidTransaction)
+ {
+ System.err.println("Client: Caught INVALID_TRANSACTION exception - Warning: Expected Commit OK");
+ System.err.println("Client: Test should fail");
+ correct = false;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client: Caught unexpected exception: " + exception);
+ exception.printStackTrace(System.err);
+ correct = false;
+ }
+ }
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client: Caught unexpected exception: " + exception);
+ exception.printStackTrace(System.err);
+ correct = false;
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client: Caught unexpected exception: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test36.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test36.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/CurrentTests01/Test36.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,162 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.CurrentTests01;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test36.java,v 1.2 2003/06/26 11:43:53 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test36.java,v 1.2 2003/06/26 11:43:53 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.omg.CosTransactions.Current;
+import org.omg.CosTransactions.NoTransaction;
+
+/**
+ * Test to see if stop start of orb causes any problems
+ */
+public class Test36
+{
+ public static void main(String[] args)
+ {
+ boolean correct = true;
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ Current current = OTS.get_current();
+
+ try
+ {
+ current.commit(true);
+ correct = false;
+ }
+ catch (NoTransaction noTransaction)
+ {
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Test036.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Test036.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ //now do the test again and see what happens
+
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ Current current = OTS.get_current();
+
+ try
+ {
+ current.commit(true);
+ correct = false;
+ }
+ catch (NoTransaction noTransaction)
+ {
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Test036.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Test01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/EnlistDelistEnlist01Cleanups/Cleanup01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/EnlistDelistEnlist01Cleanups/Cleanup01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/EnlistDelistEnlist01Cleanups/Cleanup01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,134 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: Cleanup01.java,v 1.2 2003/06/26 11:43:55 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.EnlistDelistEnlist01Cleanups;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Cleanup01.java,v 1.2 2003/06/26 11:43:55 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Cleanup01.java,v 1.2 2003/06/26 11:43:55 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Utils.JDBCProfileStore;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+
+import java.sql.Connection;
+import java.sql.DriverManager;
+import java.sql.Statement;
+import java.util.Properties;
+
+public class Cleanup01
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String profileName = args[args.length - 1];
+
+ int numberOfDrivers = JDBCProfileStore.numberOfDrivers(profileName);
+ for (int index = 0; index < numberOfDrivers; index++)
+ {
+ String driver = JDBCProfileStore.driver(profileName, index);
+
+ Class.forName(driver);
+ }
+
+ String databaseURL = JDBCProfileStore.databaseURL(profileName);
+ String databaseUser = JDBCProfileStore.databaseUser(profileName);
+ String databasePassword = JDBCProfileStore.databasePassword(profileName);
+ String databaseDynamicClass = JDBCProfileStore.databaseDynamicClass(profileName);
+
+ Connection connection;
+ if (databaseDynamicClass != null)
+ {
+ Properties databaseProperties = new Properties();
+
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.userName, databaseUser);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.password, databasePassword);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.dynamicClass, databaseDynamicClass);
+
+ connection = DriverManager.getConnection(databaseURL, databaseProperties);
+ }
+ else
+ {
+ connection = DriverManager.getConnection(databaseURL, databaseUser, databasePassword);
+ }
+
+ Statement statement = connection.createStatement();
+
+ statement.executeUpdate("DROP TABLE " + databaseUser + "_InfoTable");
+
+ statement.close();
+ connection.close();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Cleanup01.main: " + exception);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Cleanup01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/EnlistDelistEnlist01Clients/Client01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/EnlistDelistEnlist01Clients/Client01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/EnlistDelistEnlist01Clients/Client01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,109 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.EnlistDelistEnlist01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client01.java,v 1.2 2003/06/26 11:43:55 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client01.java,v 1.2 2003/06/26 11:43:55 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.EnlistDelistEnlist01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client01
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ boolean correct = true;
+
+ service.begin_begin();
+ correct = service.isCorrect();
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/EnlistDelistEnlist01Clients/Client02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/EnlistDelistEnlist01Clients/Client02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/EnlistDelistEnlist01Clients/Client02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,109 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.EnlistDelistEnlist01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client02.java,v 1.2 2003/06/26 11:43:56 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client02.java,v 1.2 2003/06/26 11:43:56 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.EnlistDelistEnlist01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client02
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ boolean correct = true;
+
+ service.begin_enlist_delist_enlist_commit();
+ correct = service.isCorrect();
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client02.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client02.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/EnlistDelistEnlist01Clients/Client03.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/EnlistDelistEnlist01Clients/Client03.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/EnlistDelistEnlist01Clients/Client03.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,109 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.EnlistDelistEnlist01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client03.java,v 1.2 2003/06/26 11:43:56 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client03.java,v 1.2 2003/06/26 11:43:56 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.EnlistDelistEnlist01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client03
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ boolean correct = true;
+
+ service.begin_enlist_delist_close_commit();
+ correct = service.isCorrect();
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client02.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client02.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/EnlistDelistEnlist01Clients/Client04.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/EnlistDelistEnlist01Clients/Client04.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/EnlistDelistEnlist01Clients/Client04.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,109 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.EnlistDelistEnlist01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client04.java,v 1.2 2003/06/26 11:43:56 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client04.java,v 1.2 2003/06/26 11:43:56 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.EnlistDelistEnlist01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client04
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ boolean correct = true;
+
+ service.begin_enlist_enlist_delist_commit();
+ correct = service.isCorrect();
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client04.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client04.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/EnlistDelistEnlist01Impls/EnlistDelistEnlistImpl01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/EnlistDelistEnlist01Impls/EnlistDelistEnlistImpl01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/EnlistDelistEnlist01Impls/EnlistDelistEnlistImpl01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,318 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: EnlistDelistEnlistImpl01.java,v 1.4 2004/02/24 11:06:08 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.EnlistDelistEnlist01Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: EnlistDelistEnlistImpl01.java,v 1.4 2004/02/24 11:06:08 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: EnlistDelistEnlistImpl01.java,v 1.4 2004/02/24 11:06:08 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.EnlistDelistEnlist01.*;
+
+import javax.naming.InitialContext;
+import javax.sql.XAConnection;
+import javax.sql.XADataSource;
+import javax.transaction.NotSupportedException;
+import javax.transaction.Transaction;
+import javax.transaction.xa.XAResource;
+import java.sql.Connection;
+import java.util.Hashtable;
+
+public class EnlistDelistEnlistImpl01 implements ServiceOperations
+{
+ private boolean _isCorrect = true;
+ private XADataSource _xaDataSource = null;
+
+ private String _databaseUser;
+ private String _databasePassword;
+
+ public EnlistDelistEnlistImpl01(String binding, String databaseUser, String databasePassword)
+ throws InvocationException
+ {
+ _databaseUser = databaseUser;
+ _databasePassword = databasePassword;
+
+ try
+ {
+ Hashtable env = new Hashtable();
+ String initialCtx = System.getProperty("Context.INITIAL_CONTEXT_FACTORY");
+ String bindingsLocation = System.getProperty("Context.PROVIDER_URL");
+
+ if (bindingsLocation != null)
+ {
+ env.put(javax.naming.Context.PROVIDER_URL, bindingsLocation);
+ }
+
+ env.put(javax.naming.Context.INITIAL_CONTEXT_FACTORY, initialCtx);
+ javax.naming.Context ctx = new InitialContext(env);
+ _xaDataSource = (XADataSource) ctx.lookup(binding);
+ }
+ catch (Exception exception)
+ {
+ System.err.println("EnlistDelistEnlist01.constructor: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public void finalize()
+ throws Throwable
+ {
+ try
+ {
+ // close XADataSource ?
+ }
+ catch (Exception exception)
+ {
+ System.err.println("EnlistDelistEnlist01.finalize: " + exception);
+ throw exception;
+ }
+ }
+
+ public boolean isCorrect()
+ throws InvocationException
+ {
+ return _isCorrect;
+ }
+
+ public void begin_begin()
+ throws InvocationException
+ {
+ boolean correct = true;
+
+ try
+ {
+ XAConnection xaConnection = _xaDataSource.getXAConnection(_databaseUser, _databasePassword);
+
+ XAResource xaResource = xaConnection.getXAResource();
+
+ javax.transaction.TransactionManager tm = com.arjuna.ats.jta.TransactionManager.transactionManager();
+
+ tm.begin();
+
+ Transaction transaction = tm.getTransaction();
+
+ correct = correct && transaction.enlistResource(xaResource);
+
+ if (correct)
+ {
+ try
+ {
+ tm.begin();
+ correct = false;
+ }
+ catch (NotSupportedException notSupportedException)
+ {
+ // correct behaviour for nested XA transaction
+ }
+ }
+
+ tm.rollback();
+ }
+ catch (Exception e)
+ {
+ e.printStackTrace();
+ correct = false;
+ }
+
+ _isCorrect = _isCorrect && correct;
+ return;
+ }
+
+ public void begin_enlist_delist_enlist_commit()
+ throws InvocationException
+ {
+ boolean correct = true;
+
+ try
+ {
+ XAConnection xaConnection = _xaDataSource.getXAConnection(_databaseUser, _databasePassword);
+
+ XAResource xaResource = xaConnection.getXAResource();
+
+ javax.transaction.TransactionManager tm = com.arjuna.ats.jta.TransactionManager.transactionManager();
+
+ tm.begin();
+
+ Transaction transaction = tm.getTransaction();
+
+ correct = correct && transaction.enlistResource(xaResource);
+
+ if (correct)
+ {
+ correct = correct && transaction.delistResource(xaResource, XAResource.TMSUCCESS);
+ }
+
+ if (correct)
+ {
+ correct = correct && transaction.enlistResource(xaResource);
+ }
+
+ if (correct)
+ {
+ tm.commit();
+ }
+ else
+ {
+ tm.rollback();
+ }
+ }
+ catch (Exception e)
+ {
+ e.printStackTrace();
+ correct = false;
+ }
+
+ _isCorrect = _isCorrect && correct;
+ return;
+ }
+
+ public void begin_enlist_delist_close_commit()
+ throws InvocationException
+ {
+ boolean correct = true;
+
+ try
+ {
+ XAConnection xaConnection = _xaDataSource.getXAConnection(_databaseUser, _databasePassword);
+
+ XAResource xaResource = xaConnection.getXAResource();
+ Connection conn = xaConnection.getConnection();
+
+ javax.transaction.TransactionManager tm = com.arjuna.ats.jta.TransactionManager.transactionManager();
+
+ tm.begin();
+
+ Transaction transaction = tm.getTransaction();
+
+ correct = correct && transaction.enlistResource(xaResource);
+
+ if (correct)
+ {
+ correct = correct && transaction.delistResource(xaResource, XAResource.TMSUCCESS);
+ }
+
+ if (correct)
+ {
+ conn.close();
+ }
+
+ if (correct)
+ {
+ tm.commit();
+ }
+ else
+ {
+ tm.rollback();
+ }
+ }
+ catch (Exception e)
+ {
+ e.printStackTrace();
+ correct = false;
+ }
+
+ _isCorrect = _isCorrect && correct;
+ return;
+ }
+
+ public void begin_enlist_enlist_delist_commit()
+ throws InvocationException
+ {
+ boolean correct = true;
+
+ try
+ {
+ XAConnection xaConnection = _xaDataSource.getXAConnection(_databaseUser, _databasePassword);
+
+ XAResource xaResource = xaConnection.getXAResource();
+ Connection conn = xaConnection.getConnection();
+
+ javax.transaction.TransactionManager tm = com.arjuna.ats.jta.TransactionManager.transactionManager();
+
+ tm.begin();
+
+ Transaction transaction = tm.getTransaction();
+
+ correct = correct && transaction.enlistResource(xaResource);
+
+ if (correct)
+ {
+ correct = correct && transaction.enlistResource(xaResource);
+ }
+
+ if (correct)
+ {
+ correct = correct && transaction.delistResource(xaResource, XAResource.TMSUCCESS);
+ }
+
+ if (correct)
+ {
+ tm.commit();
+ }
+ else
+ {
+ tm.rollback();
+ }
+ }
+ catch (Exception e)
+ {
+ e.printStackTrace();
+ correct = false;
+ }
+
+ _isCorrect = _isCorrect && correct;
+ return;
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/EnlistDelistEnlist01Servers/Server01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/EnlistDelistEnlist01Servers/Server01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/EnlistDelistEnlist01Servers/Server01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,107 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.EnlistDelistEnlist01Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server01.java,v 1.2 2003/06/26 11:43:56 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server01.java,v 1.2 2003/06/26 11:43:56 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.EnlistDelistEnlist01.*;
+import org.jboss.jbossts.qa.EnlistDelistEnlist01Impls.EnlistDelistEnlistImpl01;
+import org.jboss.jbossts.qa.Utils.JDBCProfileStore;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+
+public class Server01
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String profileName = args[args.length - 2];
+
+ //
+ // from the JNDI profile...
+ //
+ String binding = JDBCProfileStore.binding(profileName);
+
+ //
+ // ..and from the JDBC equivalent
+ //
+ String databaseUser = JDBCProfileStore.databaseUser(profileName);
+ String databasePassword = JDBCProfileStore.databasePassword(profileName);
+
+ EnlistDelistEnlistImpl01 enlistDelistEnlistImpl = new EnlistDelistEnlistImpl01(binding, databaseUser, databasePassword);
+ ServicePOATie servant = new ServicePOATie(enlistDelistEnlistImpl);
+
+ OAInterface.objectIsReady(servant);
+ Service enlistDelistEnlist = ServiceHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(enlistDelistEnlist));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server01.main: " + exception);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/EnlistDelistEnlist01Setups/Setup01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/EnlistDelistEnlist01Setups/Setup01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/EnlistDelistEnlist01Setups/Setup01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,135 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: Setup01.java,v 1.2 2003/06/26 11:43:57 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.EnlistDelistEnlist01Setups;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Setup01.java,v 1.2 2003/06/26 11:43:57 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Setup01.java,v 1.2 2003/06/26 11:43:57 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Utils.JDBCProfileStore;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+
+import java.sql.Connection;
+import java.sql.DriverManager;
+import java.sql.Statement;
+import java.util.Properties;
+
+public class Setup01
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String profileName = args[args.length - 1];
+
+ int numberOfDrivers = JDBCProfileStore.numberOfDrivers(profileName);
+ for (int index = 0; index < numberOfDrivers; index++)
+ {
+ String driver = JDBCProfileStore.driver(profileName, index);
+
+ Class.forName(driver);
+ }
+
+ String databaseURL = JDBCProfileStore.databaseURL(profileName);
+ String databaseUser = JDBCProfileStore.databaseUser(profileName);
+ String databasePassword = JDBCProfileStore.databasePassword(profileName);
+ String databaseDynamicClass = JDBCProfileStore.databaseDynamicClass(profileName);
+
+ Connection connection;
+
+ if (databaseDynamicClass != null)
+ {
+ Properties databaseProperties = new Properties();
+
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.userName, databaseUser);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.password, databasePassword);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.dynamicClass, databaseDynamicClass);
+
+ connection = DriverManager.getConnection(databaseURL, databaseProperties);
+ }
+ else
+ {
+ connection = DriverManager.getConnection(databaseURL, databaseUser, databasePassword);
+ }
+
+ Statement statement = connection.createStatement();
+
+ statement.executeUpdate("CREATE TABLE " + databaseUser + "_InfoTable (Name VARCHAR(64), Value VARCHAR(64))");
+
+ statement.close();
+ connection.close();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Setup01.main: " + exception);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Setup01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Cleanups/Cleanup01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Cleanups/Cleanup01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Cleanups/Cleanup01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: Cleanup01.java,v 1.3 2003/09/04 09:38:26 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.Hammer01Cleanups;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Cleanup01.java,v 1.3 2003/09/04 09:38:26 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Cleanup01.java,v 1.3 2003/09/04 09:38:26 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Hammer01.*;
+import org.jboss.jbossts.qa.Utils.JDBCProfileStore;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+
+import java.sql.Connection;
+import java.sql.DriverManager;
+import java.sql.Statement;
+import java.util.Properties;
+
+public class Cleanup01
+{
+ public static void main(String[] args)
+ {
+ boolean success = false;
+
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String profileName = args[args.length - 1];
+
+ int numberOfDrivers = JDBCProfileStore.numberOfDrivers(profileName);
+ for (int index = 0; index < numberOfDrivers; index++)
+ {
+ String driver = JDBCProfileStore.driver(profileName, index);
+
+ Class.forName(driver);
+ }
+
+ String databaseURL = JDBCProfileStore.databaseURL(profileName);
+ String databaseUser = JDBCProfileStore.databaseUser(profileName);
+ String databasePassword = JDBCProfileStore.databasePassword(profileName);
+ String databaseDynamicClass = JDBCProfileStore.databaseDynamicClass(profileName);
+
+ Connection connection;
+ if (databaseDynamicClass != null)
+ {
+ Properties databaseProperties = new Properties();
+
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.userName, databaseUser);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.password, databasePassword);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.dynamicClass, databaseDynamicClass);
+
+ connection = DriverManager.getConnection(databaseURL, databaseProperties);
+ }
+ else
+ {
+ connection = DriverManager.getConnection(databaseURL, databaseUser, databasePassword);
+ }
+
+ Statement statement = connection.createStatement();
+
+ statement.executeUpdate("DROP TABLE " + databaseUser + "_Matrix");
+
+ statement.close();
+ connection.close();
+
+ success = true;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Cleanup01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Cleanup01.main: " + exception);
+ exception.printStackTrace(System.err);
+
+ success = false;
+ }
+
+ System.out.println(success ? "Passed" : "Failed");
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Clients/Client01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Clients/Client01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Clients/Client01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,205 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.Hammer01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client01.java,v 1.2 2003/06/26 11:43:57 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client01.java,v 1.2 2003/06/26 11:43:57 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import org.jboss.jbossts.qa.Hammer01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.IntHolder;
+import org.omg.CosTransactions.Status;
+
+import java.util.Random;
+
+public class Client01
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String matrixIOR = ServerIORStore.loadIOR(args[args.length - 2]);
+
+ _matrix = MatrixHelper.narrow(ORBInterface.orb().string_to_object(matrixIOR));
+ _matrixWidth = _matrix.get_width();
+ _matrixHeight = _matrix.get_height();
+
+ int numberOfOperations = Integer.parseInt(args[args.length - 1]);
+
+ work(numberOfOperations);
+
+ System.out.println("Passed");
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+
+ private static void work(int numberOfOperations)
+ throws Exception
+ {
+ int count = 0;
+ for (int i = 0; i < numberOfOperations; i++)
+ {
+ if (operation())
+ {
+ count++;
+ }
+ }
+
+ System.err.println("Work: done " + count + " of " + numberOfOperations);
+ }
+
+ private static boolean operation()
+ throws Exception
+ {
+ boolean successful = false;
+
+ try
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ try
+ {
+ atomicTransaction.begin();
+
+ try
+ {
+ int x0 = Math.abs(_random.nextInt() % _matrixWidth);
+ int y0 = Math.abs(_random.nextInt() % _matrixHeight);
+ int x1 = Math.abs(_random.nextInt() % _matrixWidth);
+ int y1 = Math.abs(_random.nextInt() % _matrixHeight);
+
+ IntHolder srcValue = new IntHolder();
+ IntHolder dstValue = new IntHolder();
+
+ _matrix.get_value(x0, y0, srcValue);
+
+ if (srcValue.value == 1)
+ {
+ _matrix.get_value(x1, y1, dstValue);
+
+ if (dstValue.value == 0)
+ {
+ _matrix.set_value(x0, y0, 0);
+ _matrix.set_value(x1, y1, 1);
+
+ successful = true;
+ }
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ if (invocationException.myreason != Reason.ReasonConcurrencyControl)
+ {
+ throw invocationException;
+ }
+ }
+
+ if (successful)
+ {
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ atomicTransaction.rollback();
+ }
+ }
+ catch (Exception exception)
+ {
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ throw exception;
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client01.operation: " + exception);
+ exception.printStackTrace(System.err);
+ throw exception;
+ }
+
+ return successful;
+ }
+
+ private static Matrix _matrix = null;
+ private static int _matrixWidth = 0;
+ private static int _matrixHeight = 0;
+
+ private static Random _random = new Random();
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Clients/Client02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Clients/Client02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Clients/Client02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,200 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.Hammer01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client02.java,v 1.2 2003/06/26 11:43:57 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client02.java,v 1.2 2003/06/26 11:43:57 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import org.jboss.jbossts.qa.Hammer01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.IntHolder;
+import org.omg.CosTransactions.Status;
+
+import java.util.Random;
+
+public class Client02
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String matrixIOR = ServerIORStore.loadIOR(args[args.length - 2]);
+
+ _matrix = MatrixHelper.narrow(ORBInterface.orb().string_to_object(matrixIOR));
+ _matrixWidth = _matrix.get_width();
+ _matrixHeight = _matrix.get_height();
+
+ int numberOfOperations = Integer.parseInt(args[args.length - 1]);
+
+ work(numberOfOperations);
+
+ System.out.println("Passed");
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client02.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client02.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+
+ private static void work(int numberOfOperations)
+ throws Exception
+ {
+ int count = 0;
+ for (int i = 0; i < numberOfOperations; i++)
+ {
+ if (operation())
+ {
+ count++;
+ }
+ }
+
+ System.err.println("Work: done " + count + " of " + numberOfOperations);
+ }
+
+ private static boolean operation()
+ throws Exception
+ {
+ boolean successful = false;
+
+ try
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ try
+ {
+ atomicTransaction.begin();
+
+ try
+ {
+ int d = Math.abs(_random.nextInt() % 10) + 1;
+
+ int x0 = Math.abs(_random.nextInt() % _matrixWidth);
+ int y0 = Math.abs(_random.nextInt() % _matrixHeight);
+ int x1 = Math.abs(_random.nextInt() % _matrixWidth);
+ int y1 = Math.abs(_random.nextInt() % _matrixHeight);
+
+ IntHolder location0Value = new IntHolder();
+ IntHolder location1Value = new IntHolder();
+
+ _matrix.get_value(x0, y0, location0Value);
+ _matrix.get_value(x1, y1, location1Value);
+
+ _matrix.set_value(x0, y0, location1Value.value + d);
+ _matrix.set_value(x1, y1, location0Value.value - d);
+
+ successful = (x0 != x1) || (y0 != y1);
+ }
+ catch (InvocationException invocationException)
+ {
+ if (invocationException.myreason != Reason.ReasonConcurrencyControl)
+ {
+ throw invocationException;
+ }
+ }
+
+ if (successful)
+ {
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ atomicTransaction.rollback();
+ }
+ }
+ catch (Exception exception)
+ {
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ throw exception;
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client02.operation: " + exception);
+ exception.printStackTrace(System.err);
+ throw exception;
+ }
+
+ return successful;
+ }
+
+ private static Matrix _matrix = null;
+ private static int _matrixWidth = 0;
+ private static int _matrixHeight = 0;
+
+ private static Random _random = new Random();
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Clients/Client03.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Clients/Client03.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Clients/Client03.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,238 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.Hammer01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client03.java,v 1.2 2003/06/26 11:43:57 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client03.java,v 1.2 2003/06/26 11:43:57 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import org.jboss.jbossts.qa.Hammer01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.IntHolder;
+import org.omg.CosTransactions.Status;
+
+import java.util.Random;
+
+public class Client03
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String matrixIOR = ServerIORStore.loadIOR(args[args.length - 3]);
+
+ _matrix = MatrixHelper.narrow(ORBInterface.orb().string_to_object(matrixIOR));
+ _matrixWidth = _matrix.get_width();
+ _matrixHeight = _matrix.get_height();
+
+ int numberOfWorkers = Integer.parseInt(args[args.length - 2]);
+ int numberOfOperations = Integer.parseInt(args[args.length - 1]);
+
+ Worker[] workers = new Worker[numberOfWorkers];
+
+ for (int index = 0; index < workers.length; index++)
+ {
+ workers[index] = new Worker(numberOfOperations);
+ }
+
+ for (int index = 0; index < workers.length; index++)
+ {
+ workers[index].start();
+ }
+
+ for (int index = 0; index < workers.length; index++)
+ {
+ workers[index].join();
+ }
+
+ System.out.println("Passed");
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client03.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client03.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+
+ private static class Worker extends Thread
+ {
+ public Worker(int numberOfOperations)
+ {
+ _numberOfOperations = numberOfOperations;
+ }
+
+ public void run()
+ {
+ try
+ {
+ int count = 0;
+ for (int i = 0; i < _numberOfOperations; i++)
+ {
+ if (operation())
+ {
+ count++;
+ }
+ }
+
+ System.err.println("Work: done " + count + " of " + _numberOfOperations);
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client03.Worker.run: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+
+ private static boolean operation()
+ throws Exception
+ {
+ boolean successful = false;
+
+ try
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ try
+ {
+ atomicTransaction.begin();
+
+ try
+ {
+ int x0 = Math.abs(_random.nextInt() % _matrixWidth);
+ int y0 = Math.abs(_random.nextInt() % _matrixHeight);
+ int x1 = Math.abs(_random.nextInt() % _matrixWidth);
+ int y1 = Math.abs(_random.nextInt() % _matrixHeight);
+
+ IntHolder srcValue = new IntHolder();
+ IntHolder dstValue = new IntHolder();
+
+ _matrix.get_value(x0, y0, srcValue);
+
+ if (srcValue.value == 1)
+ {
+ _matrix.get_value(x1, y1, dstValue);
+
+ if (dstValue.value == 0)
+ {
+ _matrix.set_value(x0, y0, 0);
+ _matrix.set_value(x1, y1, 1);
+
+ successful = true;
+ }
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ if (invocationException.myreason != Reason.ReasonConcurrencyControl)
+ {
+ throw invocationException;
+ }
+ }
+
+ if (successful)
+ {
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ atomicTransaction.rollback();
+ }
+ }
+ catch (Exception exception)
+ {
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ throw exception;
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client03.Worker.operation: " + exception);
+ exception.printStackTrace(System.err);
+ throw exception;
+ }
+
+ return successful;
+ }
+
+ private int _numberOfOperations;
+ }
+
+ private static Matrix _matrix = null;
+ private static int _matrixWidth = 0;
+ private static int _matrixHeight = 0;
+
+ private static Random _random = new Random();
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Clients/Client04.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Clients/Client04.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Clients/Client04.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,233 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.Hammer01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client04.java,v 1.2 2003/06/26 11:43:57 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client04.java,v 1.2 2003/06/26 11:43:57 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import org.jboss.jbossts.qa.Hammer01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.IntHolder;
+import org.omg.CosTransactions.Status;
+
+import java.util.Random;
+
+public class Client04
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String matrixIOR = ServerIORStore.loadIOR(args[args.length - 3]);
+
+ _matrix = MatrixHelper.narrow(ORBInterface.orb().string_to_object(matrixIOR));
+ _matrixWidth = _matrix.get_width();
+ _matrixHeight = _matrix.get_height();
+
+ int numberOfWorkers = Integer.parseInt(args[args.length - 2]);
+ int numberOfOperations = Integer.parseInt(args[args.length - 1]);
+
+ Worker[] workers = new Worker[numberOfWorkers];
+
+ for (int index = 0; index < workers.length; index++)
+ {
+ workers[index] = new Worker(numberOfOperations);
+ }
+
+ for (int index = 0; index < workers.length; index++)
+ {
+ workers[index].start();
+ }
+
+ for (int index = 0; index < workers.length; index++)
+ {
+ workers[index].join();
+ }
+
+ System.out.println("Passed");
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client04.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client04.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+
+ private static class Worker extends Thread
+ {
+ public Worker(int numberOfOperations)
+ {
+ _numberOfOperations = numberOfOperations;
+ }
+
+ public void run()
+ {
+ try
+ {
+ int count = 0;
+ for (int i = 0; i < _numberOfOperations; i++)
+ {
+ if (operation())
+ {
+ count++;
+ }
+ }
+
+ System.err.println("Work: done " + count + " of " + _numberOfOperations);
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client04.Worker.run: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+
+ private static boolean operation()
+ throws Exception
+ {
+ boolean successful = false;
+
+ try
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ try
+ {
+ atomicTransaction.begin();
+
+ try
+ {
+ int d = Math.abs(_random.nextInt() % 10) + 1;
+
+ int x0 = Math.abs(_random.nextInt() % _matrixWidth);
+ int y0 = Math.abs(_random.nextInt() % _matrixHeight);
+ int x1 = Math.abs(_random.nextInt() % _matrixWidth);
+ int y1 = Math.abs(_random.nextInt() % _matrixHeight);
+
+ IntHolder location0Value = new IntHolder();
+ IntHolder location1Value = new IntHolder();
+
+ _matrix.get_value(x0, y0, location0Value);
+ _matrix.get_value(x1, y1, location1Value);
+
+ _matrix.set_value(x0, y0, location1Value.value + d);
+ _matrix.set_value(x1, y1, location0Value.value - d);
+
+ successful = (x0 != x1) || (y0 != y1);
+ }
+ catch (InvocationException invocationException)
+ {
+ if (invocationException.myreason != Reason.ReasonConcurrencyControl)
+ {
+ throw invocationException;
+ }
+ }
+
+ if (successful)
+ {
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ atomicTransaction.rollback();
+ }
+ }
+ catch (Exception exception)
+ {
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ throw exception;
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client04.Worker.operation: " + exception);
+ exception.printStackTrace(System.err);
+ throw exception;
+ }
+
+ return successful;
+ }
+
+ private int _numberOfOperations;
+ }
+
+ private static Matrix _matrix = null;
+ private static int _matrixWidth = 0;
+ private static int _matrixHeight = 0;
+
+ private static Random _random = new Random();
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Impls/AITMatrixImpl01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Impls/AITMatrixImpl01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Impls/AITMatrixImpl01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,336 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: AITMatrixImpl01.java,v 1.2 2003/06/26 11:43:58 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.Hammer01Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AITMatrixImpl01.java,v 1.2 2003/06/26 11:43:58 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AITMatrixImpl01.java,v 1.2 2003/06/26 11:43:58 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.arjuna.ObjectType;
+import com.arjuna.ats.arjuna.common.Uid;
+import com.arjuna.ats.arjuna.state.InputObjectState;
+import com.arjuna.ats.arjuna.state.OutputObjectState;
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import com.arjuna.ats.txoj.Lock;
+import com.arjuna.ats.txoj.LockManager;
+import com.arjuna.ats.txoj.LockMode;
+import com.arjuna.ats.txoj.LockResult;
+import org.jboss.jbossts.qa.Hammer01.*;
+import org.omg.CORBA.IntHolder;
+import org.omg.CosTransactions.Status;
+
+public class AITMatrixImpl01 extends LockManager implements MatrixOperations
+{
+ public AITMatrixImpl01(int width, int height)
+ throws InvocationException
+ {
+ super(ObjectType.ANDPERSISTENT);
+
+ _width = width;
+ _height = height;
+
+ _values = new int[_width][];
+ for (int x = 0; x < _width; x++)
+ {
+ _values[x] = new int[_height];
+ }
+
+ for (int x = 0; x < _width; x++)
+ {
+ for (int y = 0; y < _height; y++)
+ {
+ if (y < (_height / 2))
+ {
+ _values[x][y] = 0;
+ }
+ else
+ {
+ _values[x][y] = 1;
+ }
+ }
+ }
+ try
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ if (setlock(new Lock(LockMode.WRITE), 0) == LockResult.GRANTED)
+ {
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ System.err.println("AITMatrixImpl01.AITMatrixImpl01: failed to get lock");
+ atomicTransaction.rollback();
+
+ throw new InvocationException(Reason.ReasonConcurrencyControl);
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITMatrixImpl01.AITMatrixImpl01: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+
+ public AITMatrixImpl01(int width, int height, Uid uid)
+ throws InvocationException
+ {
+ super(uid);
+
+ _width = width;
+ _height = height;
+
+ _values = new int[_width][];
+ for (int x = 0; x < _width; x++)
+ {
+ _values[x] = new int[_height];
+ }
+ }
+
+ public void finalize()
+ throws Throwable
+ {
+ try
+ {
+ super.terminate();
+ super.finalize();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITMatrixImpl01.finalize: " + exception);
+ throw exception;
+ }
+ }
+
+ public int get_width()
+ throws InvocationException
+ {
+ return _width;
+ }
+
+ public int get_height()
+ throws InvocationException
+ {
+ return _height;
+ }
+
+ public void get_value(int x, int y, IntHolder value)
+ throws InvocationException
+ {
+ if ((x < 0) || (x >= _width) || (y < 0) || (y >= _height))
+ {
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+
+ try
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ try
+ {
+ atomicTransaction.begin();
+
+ if (setlock(new Lock(LockMode.READ), 0) == LockResult.GRANTED)
+ {
+ value.value = _values[x][y];
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ atomicTransaction.rollback();
+
+ throw new InvocationException(Reason.ReasonConcurrencyControl);
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITMatrixImpl01.get_value: " + exception);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITMatrixImpl01.get_value: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+
+ public void set_value(int x, int y, int value)
+ throws InvocationException
+ {
+ if ((x < 0) || (x >= _width) || (y < 0) || (y >= _height))
+ {
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+
+ try
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ try
+ {
+ atomicTransaction.begin();
+
+ if (setlock(new Lock(LockMode.WRITE), 0) == LockResult.GRANTED)
+ {
+ _values[x][y] = value;
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ atomicTransaction.rollback();
+
+ throw new InvocationException(Reason.ReasonConcurrencyControl);
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITMatrixImpl01.set_value: " + exception);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITMatrixImpl01.set_value: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+
+ public boolean save_state(OutputObjectState objectState, int objectType)
+ {
+ super.save_state(objectState, objectType);
+ try
+ {
+ for (int x = 0; x < _width; x++)
+ {
+ for (int y = 0; y < _height; y++)
+ {
+ objectState.packInt(_values[x][y]);
+ }
+ }
+
+ return true;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITMatrixImpl01.save_state: " + exception);
+ return false;
+ }
+ }
+
+ public boolean restore_state(InputObjectState objectState, int objectType)
+ {
+ super.restore_state(objectState, objectType);
+ try
+ {
+ for (int x = 0; x < _width; x++)
+ {
+ for (int y = 0; y < _height; y++)
+ {
+ _values[x][y] = objectState.unpackInt();
+ }
+ }
+
+ return true;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITMatrixImpl01.restore_state: " + exception);
+ return false;
+ }
+ }
+
+ public String type()
+ {
+ return "/StateManager/LockManager/AITMatrixImpl01";
+ }
+
+ private int _width;
+ private int _height;
+ private int[][] _values = null;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Impls/AITMatrixImpl02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Impls/AITMatrixImpl02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Impls/AITMatrixImpl02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,287 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: AITMatrixImpl02.java,v 1.2 2003/06/26 11:43:58 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.Hammer01Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AITMatrixImpl02.java,v 1.2 2003/06/26 11:43:58 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AITMatrixImpl02.java,v 1.2 2003/06/26 11:43:58 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.arjuna.ObjectType;
+import com.arjuna.ats.arjuna.common.Uid;
+import com.arjuna.ats.arjuna.state.InputObjectState;
+import com.arjuna.ats.arjuna.state.OutputObjectState;
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import com.arjuna.ats.txoj.Lock;
+import com.arjuna.ats.txoj.LockManager;
+import com.arjuna.ats.txoj.LockMode;
+import com.arjuna.ats.txoj.LockResult;
+import org.jboss.jbossts.qa.Hammer01.*;
+import org.omg.CORBA.IntHolder;
+
+public class AITMatrixImpl02 extends LockManager implements MatrixOperations
+{
+ public AITMatrixImpl02(int width, int height)
+ throws InvocationException
+ {
+ super(ObjectType.ANDPERSISTENT);
+
+ _width = width;
+ _height = height;
+
+ _values = new int[_width][];
+ for (int x = 0; x < _width; x++)
+ {
+ _values[x] = new int[_height];
+ }
+
+ for (int x = 0; x < _width; x++)
+ {
+ for (int y = 0; y < _height; y++)
+ {
+ if (y < (_height / 2))
+ {
+ _values[x][y] = 0;
+ }
+ else
+ {
+ _values[x][y] = 1;
+ }
+ }
+ }
+ try
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ if (setlock(new Lock(LockMode.WRITE), 0) == LockResult.GRANTED)
+ {
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ System.err.println("AITMatrixImpl02.AITMatrixImpl02: failed to get lock");
+ atomicTransaction.rollback();
+
+ throw new InvocationException(Reason.ReasonConcurrencyControl);
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITMatrixImpl02.AITMatrixImpl02: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+
+ public AITMatrixImpl02(int width, int height, Uid uid)
+ throws InvocationException
+ {
+ super(uid);
+
+ _width = width;
+ _height = height;
+
+ _values = new int[_width][];
+ for (int x = 0; x < _width; x++)
+ {
+ _values[x] = new int[_height];
+ }
+ }
+
+ public void finalize()
+ throws Throwable
+ {
+ try
+ {
+ super.terminate();
+ super.finalize();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITMatrixImpl02.finalize: " + exception);
+ throw exception;
+ }
+ }
+
+ public int get_width()
+ throws InvocationException
+ {
+ return _width;
+ }
+
+ public int get_height()
+ throws InvocationException
+ {
+ return _height;
+ }
+
+ public void get_value(int x, int y, IntHolder value)
+ throws InvocationException
+ {
+ if ((x < 0) || (x >= _width) || (y < 0) || (y >= _height))
+ {
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+
+ try
+ {
+ if (setlock(new Lock(LockMode.READ), 0) == LockResult.GRANTED)
+ {
+ value.value = _values[x][y];
+ }
+ else
+ {
+ throw new InvocationException(Reason.ReasonConcurrencyControl);
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITMatrixImpl02.get_value: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+
+ public void set_value(int x, int y, int value)
+ throws InvocationException
+ {
+ if ((x < 0) || (x >= _width) || (y < 0) || (y >= _height))
+ {
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+
+ try
+ {
+ if (setlock(new Lock(LockMode.WRITE), 0) == LockResult.GRANTED)
+ {
+ _values[x][y] = value;
+ }
+ else
+ {
+ throw new InvocationException(Reason.ReasonConcurrencyControl);
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITMatrixImpl02.set_value: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+
+ public boolean save_state(OutputObjectState objectState, int objectType)
+ {
+ super.save_state(objectState, objectType);
+ try
+ {
+ for (int x = 0; x < _width; x++)
+ {
+ for (int y = 0; y < _height; y++)
+ {
+ objectState.packInt(_values[x][y]);
+ }
+ }
+
+ return true;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITMatrixImpl02.save_state: " + exception);
+ return false;
+ }
+ }
+
+ public boolean restore_state(InputObjectState objectState, int objectType)
+ {
+ super.restore_state(objectState, objectType);
+ try
+ {
+ for (int x = 0; x < _width; x++)
+ {
+ for (int y = 0; y < _height; y++)
+ {
+ _values[x][y] = objectState.unpackInt();
+ }
+ }
+
+ return true;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITMatrixImpl02.restore_state: " + exception);
+ return false;
+ }
+ }
+
+ public String type()
+ {
+ return "/StateManager/LockManager/AITMatrixImpl02";
+ }
+
+ private int _width;
+ private int _height;
+ private int[][] _values = null;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Impls/AITMatrixImpl03.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Impls/AITMatrixImpl03.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Impls/AITMatrixImpl03.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,601 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: AITMatrixImpl03.java,v 1.2 2003/06/26 11:43:58 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.Hammer01Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AITMatrixImpl03.java,v 1.2 2003/06/26 11:43:58 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AITMatrixImpl03.java,v 1.2 2003/06/26 11:43:58 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.arjuna.ObjectType;
+import com.arjuna.ats.arjuna.common.Uid;
+import com.arjuna.ats.arjuna.state.InputObjectState;
+import com.arjuna.ats.arjuna.state.OutputObjectState;
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import com.arjuna.ats.txoj.Lock;
+import com.arjuna.ats.txoj.LockManager;
+import com.arjuna.ats.txoj.LockMode;
+import com.arjuna.ats.txoj.LockResult;
+import org.jboss.jbossts.qa.Hammer01.*;
+import org.omg.CORBA.IntHolder;
+import org.omg.CosTransactions.Status;
+
+import java.util.Hashtable;
+
+public class AITMatrixImpl03 extends LockManager implements MatrixOperations
+{
+ public AITMatrixImpl03(int width, int height)
+ throws InvocationException
+ {
+ super(ObjectType.ANDPERSISTENT);
+
+ _width = width;
+ _height = height;
+
+ _values = new Element[_width][];
+ for (int x = 0; x < _width; x++)
+ {
+ _values[x] = new Element[_height];
+ }
+
+ for (int x = 0; x < _width; x++)
+ {
+ for (int y = 0; y < _height; y++)
+ {
+ if (y < (_height / 2))
+ {
+ _values[x][y] = Element.create(0);
+ }
+ else
+ {
+ _values[x][y] = Element.create(1);
+ }
+ }
+ }
+ try
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ if (setlock(new Lock(LockMode.WRITE), 0) == LockResult.GRANTED)
+ {
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ System.err.println("AITMatrixImpl03.AITMatrixImpl03: failed to get lock");
+ atomicTransaction.rollback();
+
+ throw new InvocationException(Reason.ReasonConcurrencyControl);
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITMatrixImpl03.AITMatrixImpl03: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+
+ public AITMatrixImpl03(int width, int height, Uid uid)
+ throws InvocationException
+ {
+ super(uid);
+
+ _width = width;
+ _height = height;
+
+ _values = new Element[_width][];
+ for (int x = 0; x < _width; x++)
+ {
+ _values[x] = new Element[_height];
+ }
+ }
+
+ public void finalize()
+ throws Throwable
+ {
+ try
+ {
+ super.terminate();
+ super.finalize();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITMatrixImpl03.finalize: " + exception);
+ throw exception;
+ }
+ }
+
+ public int get_width()
+ throws InvocationException
+ {
+ return _width;
+ }
+
+ public int get_height()
+ throws InvocationException
+ {
+ return _height;
+ }
+
+ public void get_value(int x, int y, IntHolder value)
+ throws InvocationException
+ {
+ if ((x < 0) || (x >= _width) || (y < 0) || (y >= _height))
+ {
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+
+ try
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ try
+ {
+ atomicTransaction.begin();
+
+ if (setlock(new Lock(LockMode.READ), 0) == LockResult.GRANTED)
+ {
+ try
+ {
+ _values[x][y].get_value(value);
+
+ atomicTransaction.commit(true);
+ }
+ catch (InvocationException invocationException)
+ {
+ atomicTransaction.rollback();
+
+ throw invocationException;
+ }
+ }
+ else
+ {
+ atomicTransaction.rollback();
+
+ throw new InvocationException(Reason.ReasonConcurrencyControl);
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITMatrixImpl03.get_value: " + exception);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITMatrixImpl03.get_value: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+
+ public void set_value(int x, int y, int value)
+ throws InvocationException
+ {
+ if ((x < 0) || (x >= _width) || (y < 0) || (y >= _height))
+ {
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+
+ try
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ try
+ {
+ atomicTransaction.begin();
+
+ if (setlock(new Lock(LockMode.READ), 0) == LockResult.GRANTED)
+ {
+ try
+ {
+ _values[x][y].set_value(value);
+
+ atomicTransaction.commit(true);
+ }
+ catch (InvocationException invocationException)
+ {
+ atomicTransaction.rollback();
+
+ throw invocationException;
+ }
+ }
+ else
+ {
+ atomicTransaction.rollback();
+
+ throw new InvocationException(Reason.ReasonConcurrencyControl);
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITMatrixImpl03.set_value: " + exception);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITMatrixImpl03.set_value: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+
+ public boolean save_state(OutputObjectState objectState, int objectType)
+ {
+ super.save_state(objectState, objectType);
+ try
+ {
+ for (int x = 0; x < _width; x++)
+ {
+ for (int y = 0; y < _height; y++)
+ {
+ _values[x][y].get_uid().pack(objectState);
+ }
+ }
+
+ return true;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITMatrixImpl03.save_state: " + exception);
+ return false;
+ }
+ }
+
+ public boolean restore_state(InputObjectState objectState, int objectType)
+ {
+ super.restore_state(objectState, objectType);
+ try
+ {
+ for (int x = 0; x < _width; x++)
+ {
+ for (int y = 0; y < _height; y++)
+ {
+ Uid uid = new Uid();
+
+ uid.unpack(objectState);
+ _values[x][y] = Element.obtain(uid);
+ }
+ }
+
+ return true;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITMatrixImpl03.restore_state: " + exception);
+ return false;
+ }
+ }
+
+ public String type()
+ {
+ return "/StateManager/LockManager/AITMatrixImpl03";
+ }
+
+ private static class Element extends LockManager
+ {
+ private Element(int value)
+ throws InvocationException
+ {
+ super(ObjectType.ANDPERSISTENT);
+
+ _value = value;
+
+ try
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ if (setlock(new Lock(LockMode.WRITE), 0) == LockResult.GRANTED)
+ {
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ System.err.println("Element.Element: failed to get lock");
+ atomicTransaction.rollback();
+
+ throw new InvocationException(Reason.ReasonConcurrencyControl);
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Element.Element: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+
+ private Element(Uid uid)
+ throws InvocationException
+ {
+ super(uid);
+ }
+
+ public void finalize()
+ throws Throwable
+ {
+ try
+ {
+ super.terminate();
+ super.finalize();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Element.finalize: " + exception);
+ throw exception;
+ }
+ }
+
+ public void get_value(IntHolder value)
+ throws InvocationException
+ {
+ try
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ try
+ {
+ atomicTransaction.begin();
+
+ if (setlock(new Lock(LockMode.READ), 0) == LockResult.GRANTED)
+ {
+ value.value = _value;
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ atomicTransaction.rollback();
+
+ throw new InvocationException(Reason.ReasonConcurrencyControl);
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Element.get_value: " + exception);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Element.get_value: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+
+ public void set_value(int value)
+ throws InvocationException
+ {
+ try
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ try
+ {
+ atomicTransaction.begin();
+
+ if (setlock(new Lock(LockMode.WRITE), 0) == LockResult.GRANTED)
+ {
+ _value = value;
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ atomicTransaction.rollback();
+
+ throw new InvocationException(Reason.ReasonConcurrencyControl);
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Element.set_value: " + exception);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Element.set_value: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+
+ public static Element create(int value)
+ {
+ Element element;
+
+ try
+ {
+ element = new Element(value);
+
+ _all.put(element.get_uid(), element);
+ }
+ catch (Exception exception)
+ {
+ element = null;
+ }
+
+ return element;
+ }
+
+ public static Element obtain(Uid uid)
+ {
+ Element element;
+
+ element = (Element) _all.get(uid);
+
+ if (element == null)
+ {
+ try
+ {
+ element = new Element(uid);
+ }
+ catch (Exception exception)
+ {
+ element = null;
+ }
+
+ _all.put(uid, element);
+ }
+
+ return element;
+ }
+
+ public boolean save_state(OutputObjectState objectState, int objectType)
+ {
+ super.save_state(objectState, objectType);
+ try
+ {
+ objectState.packInt(_value);
+
+ return true;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Element.save_state: " + exception);
+ return false;
+ }
+ }
+
+ public boolean restore_state(InputObjectState objectState, int objectType)
+ {
+ super.restore_state(objectState, objectType);
+ try
+ {
+ _value = objectState.unpackInt();
+
+ return true;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Element.restore_state: " + exception);
+ return false;
+ }
+ }
+
+ public String type()
+ {
+ return "/StateManager/LockManager/AITMatrixImpl03_Element";
+ }
+
+ private int _value;
+
+ private static Hashtable _all = new Hashtable();
+ }
+
+ private int _width;
+ private int _height;
+ private Element[][] _values;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Impls/AITMatrixImpl04.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Impls/AITMatrixImpl04.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Impls/AITMatrixImpl04.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,484 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: AITMatrixImpl04.java,v 1.2 2003/06/26 11:43:58 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.Hammer01Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AITMatrixImpl04.java,v 1.2 2003/06/26 11:43:58 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AITMatrixImpl04.java,v 1.2 2003/06/26 11:43:58 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.arjuna.ObjectType;
+import com.arjuna.ats.arjuna.common.Uid;
+import com.arjuna.ats.arjuna.state.InputObjectState;
+import com.arjuna.ats.arjuna.state.OutputObjectState;
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import com.arjuna.ats.txoj.Lock;
+import com.arjuna.ats.txoj.LockManager;
+import com.arjuna.ats.txoj.LockMode;
+import com.arjuna.ats.txoj.LockResult;
+import org.jboss.jbossts.qa.Hammer01.*;
+import org.omg.CORBA.IntHolder;
+
+import java.util.Hashtable;
+
+public class AITMatrixImpl04 extends LockManager implements MatrixOperations
+{
+ public AITMatrixImpl04(int width, int height)
+ throws InvocationException
+ {
+ super(ObjectType.ANDPERSISTENT);
+
+ _width = width;
+ _height = height;
+
+ _values = new Element[_width][];
+ for (int x = 0; x < _width; x++)
+ {
+ _values[x] = new Element[_height];
+ }
+
+ for (int x = 0; x < _width; x++)
+ {
+ for (int y = 0; y < _height; y++)
+ {
+ if (y < (_height / 2))
+ {
+ _values[x][y] = Element.create(0);
+ }
+ else
+ {
+ _values[x][y] = Element.create(1);
+ }
+ }
+ }
+ try
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ if (setlock(new Lock(LockMode.WRITE), 0) == LockResult.GRANTED)
+ {
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ System.err.println("AITMatrixImpl04.AITMatrixImpl04: failed to get lock");
+ atomicTransaction.rollback();
+
+ throw new InvocationException(Reason.ReasonConcurrencyControl);
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITMatrixImpl04.AITMatrixImpl04: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+
+ public AITMatrixImpl04(int width, int height, Uid uid)
+ throws InvocationException
+ {
+ super(uid);
+
+ _width = width;
+ _height = height;
+
+ _values = new Element[_width][];
+ for (int x = 0; x < _width; x++)
+ {
+ _values[x] = new Element[_height];
+ }
+ }
+
+ public void finalize()
+ throws Throwable
+ {
+ try
+ {
+ super.terminate();
+ super.finalize();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITMatrixImpl04.finalize: " + exception);
+ throw exception;
+ }
+ }
+
+ public int get_width()
+ throws InvocationException
+ {
+ return _width;
+ }
+
+ public int get_height()
+ throws InvocationException
+ {
+ return _height;
+ }
+
+ public void get_value(int x, int y, IntHolder value)
+ throws InvocationException
+ {
+ if ((x < 0) || (x >= _width) || (y < 0) || (y >= _height))
+ {
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+
+ try
+ {
+ if (setlock(new Lock(LockMode.READ), 0) == LockResult.GRANTED)
+ {
+ _values[x][y].get_value(value);
+ }
+ else
+ {
+ throw new InvocationException(Reason.ReasonConcurrencyControl);
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITMatrixImpl04.get_value: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+
+ public void set_value(int x, int y, int value)
+ throws InvocationException
+ {
+ if ((x < 0) || (x >= _width) || (y < 0) || (y >= _height))
+ {
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+
+ try
+ {
+ if (setlock(new Lock(LockMode.READ), 0) == LockResult.GRANTED)
+ {
+ _values[x][y].set_value(value);
+ }
+ else
+ {
+ throw new InvocationException(Reason.ReasonConcurrencyControl);
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITMatrixImpl04.set_value: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+
+ public boolean save_state(OutputObjectState objectState, int objectType)
+ {
+ super.save_state(objectState, objectType);
+ try
+ {
+ for (int x = 0; x < _width; x++)
+ {
+ for (int y = 0; y < _height; y++)
+ {
+ _values[x][y].get_uid().pack(objectState);
+ }
+ }
+
+ return true;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITMatrixImpl04.save_state: " + exception);
+ return false;
+ }
+ }
+
+ public boolean restore_state(InputObjectState objectState, int objectType)
+ {
+ super.restore_state(objectState, objectType);
+ try
+ {
+ for (int x = 0; x < _width; x++)
+ {
+ for (int y = 0; y < _height; y++)
+ {
+ Uid uid = new Uid();
+
+ uid.unpack(objectState);
+ _values[x][y] = Element.obtain(uid);
+ }
+ }
+
+ return true;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITMatrixImpl04.restore_state: " + exception);
+ return false;
+ }
+ }
+
+ public String type()
+ {
+ return "/StateManager/LockManager/AITMatrixImpl04";
+ }
+
+ private static class Element extends LockManager
+ {
+ private Element(int value)
+ throws InvocationException
+ {
+ super(ObjectType.ANDPERSISTENT);
+
+ _value = value;
+
+ try
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ if (setlock(new Lock(LockMode.WRITE), 0) == LockResult.GRANTED)
+ {
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ System.err.println("Element.Element: failed to get lock");
+ atomicTransaction.rollback();
+
+ throw new InvocationException(Reason.ReasonConcurrencyControl);
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Element.Element: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+
+ private Element(Uid uid)
+ throws InvocationException
+ {
+ super(uid);
+ }
+
+ public void finalize()
+ throws Throwable
+ {
+ try
+ {
+ super.terminate();
+ super.finalize();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Element.finalize: " + exception);
+ throw exception;
+ }
+ }
+
+ public void get_value(IntHolder value)
+ throws InvocationException
+ {
+ try
+ {
+ if (setlock(new Lock(LockMode.READ), 0) == LockResult.GRANTED)
+ {
+ value.value = _value;
+ }
+ else
+ {
+ throw new InvocationException(Reason.ReasonConcurrencyControl);
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Element.get_value: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+
+ public void set_value(int value)
+ throws InvocationException
+ {
+ try
+ {
+ if (setlock(new Lock(LockMode.WRITE), 0) == LockResult.GRANTED)
+ {
+ _value = value;
+ }
+ else
+ {
+ throw new InvocationException(Reason.ReasonConcurrencyControl);
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Element.set_value: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+
+ public static Element create(int value)
+ {
+ Element element;
+
+ try
+ {
+ element = new Element(value);
+
+ _all.put(element.get_uid(), element);
+ }
+ catch (Exception exception)
+ {
+ element = null;
+ }
+
+ return element;
+ }
+
+ public static Element obtain(Uid uid)
+ {
+ Element element;
+
+ element = (Element) _all.get(uid);
+
+ if (element == null)
+ {
+ try
+ {
+ element = new Element(uid);
+ }
+ catch (Exception exception)
+ {
+ element = null;
+ }
+
+ _all.put(uid, element);
+ }
+
+ return element;
+ }
+
+ public boolean save_state(OutputObjectState objectState, int objectType)
+ {
+ super.save_state(objectState, objectType);
+ try
+ {
+ objectState.packInt(_value);
+
+ return true;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Element.save_state: " + exception);
+ return false;
+ }
+ }
+
+ public boolean restore_state(InputObjectState objectState, int objectType)
+ {
+ super.restore_state(objectState, objectType);
+ try
+ {
+ _value = objectState.unpackInt();
+
+ return true;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Element.restore_state: " + exception);
+ return false;
+ }
+ }
+
+ public String type()
+ {
+ return "/StateManager/LockManager/AITMatrixImpl04_Element";
+ }
+
+ private int _value;
+
+ private static Hashtable _all = new Hashtable();
+ }
+
+ private int _width;
+ private int _height;
+ private Element[][] _values;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Impls/JDBCMatrixImpl01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Impls/JDBCMatrixImpl01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Impls/JDBCMatrixImpl01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,240 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: JDBCMatrixImpl01.java,v 1.2 2003/06/26 11:43:58 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.Hammer01Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: JDBCMatrixImpl01.java,v 1.2 2003/06/26 11:43:58 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: JDBCMatrixImpl01.java,v 1.2 2003/06/26 11:43:58 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Hammer01.*;
+import org.omg.CORBA.IntHolder;
+
+import java.sql.Connection;
+import java.sql.DriverManager;
+import java.sql.ResultSet;
+import java.sql.Statement;
+import java.util.Properties;
+
+public class JDBCMatrixImpl01 implements MatrixOperations
+{
+ public JDBCMatrixImpl01(int width, int height, String databaseURL, String databaseUser, String databasePassword, String databaseDynamicClass)
+ throws InvocationException
+ {
+ _width = width;
+ _height = height;
+ _dbUser = databaseUser;
+
+ try
+ {
+ if (databaseDynamicClass != null)
+ {
+ Properties databaseProperties = new Properties();
+
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.userName, databaseUser);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.password, databasePassword);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.dynamicClass, databaseDynamicClass);
+
+ _connection = DriverManager.getConnection(databaseURL, databaseProperties);
+ }
+ else
+ {
+ _connection = DriverManager.getConnection(databaseURL, databaseUser, databasePassword);
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCMatrixImpl01.JDBCMatrixImpl01: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+
+ public void finalize()
+ throws Throwable
+ {
+ try
+ {
+ if (_connection != null)
+ {
+ ;
+ }
+ _connection.close();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCMatrixImpl01.finalize: " + exception);
+ throw exception;
+ }
+ }
+
+ public int get_width()
+ throws InvocationException
+ {
+ return _width;
+ }
+
+ public int get_height()
+ throws InvocationException
+ {
+ return _height;
+ }
+
+ public void get_value(int x, int y, IntHolder value)
+ throws InvocationException
+ {
+ if ((x < 0) || (x >= _width) || (y < 0) || (y >= _height))
+ {
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+
+ Statement statement = null;
+ ResultSet resultSet = null;
+
+ try
+ {
+ statement = _connection.createStatement();
+
+ resultSet = statement.executeQuery("SELECT Value FROM " + _dbUser + "_Matrix WHERE X = \'" + x + "\' AND Y = \'" + y + "\'");
+ resultSet.next();
+ value.value = resultSet.getInt("Value");
+ if (resultSet.next())
+ {
+ throw new Exception();
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCMatrixImpl01.get_value: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ finally
+ {
+ try
+ {
+ if (resultSet != null)
+ {
+ resultSet.close();
+ }
+
+ if (statement != null)
+ {
+ statement.close();
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCMatrixImpl01.get_value: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+ }
+
+ public void set_value(int x, int y, int value)
+ throws InvocationException
+ {
+ if ((x < 0) || (x >= _width) || (y < 0) || (y >= _height))
+ {
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+
+ Statement statement = null;
+
+ try
+ {
+ statement = _connection.createStatement();
+
+ statement.executeUpdate("UPDATE " + _dbUser + "_Matrix SET Value = \'" + value + "\' WHERE X = \'" + x + "\' AND Y = \'" + y + "\'");
+ }
+ catch (java.sql.SQLException sqlException)
+ {
+ System.err.println("JDBCMatrixImpl01.set_value: " + sqlException);
+
+ // Check error message to see if it is a "can't serialize access" message
+ String message = sqlException.getMessage();
+
+ if ((message != null) && (message.indexOf("can't serialize access") != -1))
+ {
+ throw new InvocationException(Reason.ReasonConcurrencyControl);
+ }
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCMatrixImpl01.set_value: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ finally
+ {
+ try
+ {
+ if (statement != null)
+ {
+ statement.close();
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCMatrixImpl01.get_value: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+ }
+
+ private int _width;
+ private int _height;
+
+ private Connection _connection;
+ private String _dbUser;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Impls/JDBCMatrixImpl02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Impls/JDBCMatrixImpl02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Impls/JDBCMatrixImpl02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,254 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: JDBCMatrixImpl02.java,v 1.2 2003/06/26 11:43:58 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.Hammer01Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: JDBCMatrixImpl02.java,v 1.2 2003/06/26 11:43:58 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: JDBCMatrixImpl02.java,v 1.2 2003/06/26 11:43:58 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Hammer01.*;
+import org.omg.CORBA.IntHolder;
+
+import java.sql.*;
+import java.util.Properties;
+
+public class JDBCMatrixImpl02 implements MatrixOperations
+{
+ public JDBCMatrixImpl02(int width, int height, String databaseURL, String databaseUser, String databasePassword, String databaseDynamicClass)
+ throws InvocationException
+ {
+ _width = width;
+ _height = height;
+ _databaseUser = databaseUser;
+
+ try
+ {
+ if (databaseDynamicClass != null)
+ {
+ _databaseURL = databaseURL;
+
+ _databaseProperties = new Properties();
+ _databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.userName, databaseUser);
+ _databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.password, databasePassword);
+ _databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.dynamicClass, databaseDynamicClass);
+ }
+ else
+ {
+ _databaseURL = databaseURL;
+ _databaseUser = databaseUser;
+ _databasePassword = databasePassword;
+ _databaseProperties = null;
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCMatrixImpl02.JDBCMatrixImpl02: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public int get_width()
+ throws InvocationException
+ {
+ return _width;
+ }
+
+ public int get_height()
+ throws InvocationException
+ {
+ return _height;
+ }
+
+ public void get_value(int x, int y, IntHolder value)
+ throws InvocationException
+ {
+ if ((x < 0) || (x >= _width) || (y < 0) || (y >= _height))
+ {
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+
+ Connection connection = null;
+ Statement statement = null;
+ ResultSet resultSet = null;
+
+ try
+ {
+ if (_databaseProperties != null)
+ {
+ connection = DriverManager.getConnection(_databaseURL, _databaseProperties);
+ }
+ else
+ {
+ connection = DriverManager.getConnection(_databaseURL, _databaseUser, _databasePassword);
+ }
+
+ statement = connection.createStatement();
+
+ resultSet = statement.executeQuery("SELECT Value FROM " + _databaseUser + "_Matrix WHERE X = \'" + x + "\' AND Y = \'" + y + "\'");
+ resultSet.next();
+ value.value = resultSet.getInt("Value");
+ if (resultSet.next())
+ {
+ throw new Exception();
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCMatrixImpl02.get_value: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ finally
+ {
+ try
+ {
+ if (resultSet != null)
+ {
+ resultSet.close();
+ }
+
+ if (statement != null)
+ {
+ statement.close();
+ }
+
+ if (connection != null)
+ {
+ connection.close();
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCMatrixImpl02.get_value: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+
+ }
+
+ public void set_value(int x, int y, int value)
+ throws InvocationException
+ {
+ if ((x < 0) || (x >= _width) || (y < 0) || (y >= _height))
+ {
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+
+ Connection connection = null;
+ Statement statement = null;
+
+ try
+ {
+ if (_databaseProperties != null)
+ {
+ connection = DriverManager.getConnection(_databaseURL, _databaseProperties);
+ }
+ else
+ {
+ connection = DriverManager.getConnection(_databaseURL, _databaseUser, _databasePassword);
+ }
+
+ statement = connection.createStatement();
+
+ statement.executeUpdate("UPDATE " + _databaseUser + "_Matrix SET Value = \'" + value + "\' WHERE X = \'" + x + "\' AND Y = \'" + y + "\'");
+ }
+ catch (SQLException sqlException)
+ {
+ System.err.println("JDBCMatrixImpl02.set_value: " + sqlException);
+
+ // Check error message to see if it is a "can't serialize access" message
+ String message = sqlException.getMessage();
+
+ if ((message != null) && (message.indexOf("can't serialize access") != -1))
+ {
+ throw new InvocationException(Reason.ReasonConcurrencyControl);
+ }
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCMatrixImpl02.set_value: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ finally
+ {
+ try
+ {
+ if (statement != null)
+ {
+ statement.close();
+ }
+
+ if (connection != null)
+ {
+ connection.close();
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCMatrixImpl02.set_value: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+ }
+
+ private int _width;
+ private int _height;
+
+ private String _databaseURL;
+ private String _databaseUser;
+ private String _databasePassword;
+ private Properties _databaseProperties;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Outcomes/Outcome01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Outcomes/Outcome01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Outcomes/Outcome01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,125 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.Hammer01Outcomes;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Outcome01.java,v 1.2 2003/06/26 11:43:59 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Outcome01.java,v 1.2 2003/06/26 11:43:59 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Hammer01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.IntHolder;
+
+public class Outcome01
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String matrixIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Matrix matrix = MatrixHelper.narrow(ORBInterface.orb().string_to_object(matrixIOR));
+
+ boolean correct = true;
+
+ int matrixWidth = matrix.get_width();
+ int matrixHeight = matrix.get_height();
+
+ int total = 0;
+ for (int x = 0; x < matrixWidth; x++)
+ {
+ for (int y = 0; y < matrixHeight; y++)
+ {
+ IntHolder value = new IntHolder();
+
+ matrix.get_value(x, y, value);
+
+ correct = correct && ((value.value == 0) || (value.value == 1));
+
+ total += value.value;
+ }
+ }
+
+ if (correct && (total == ((matrixWidth * matrixHeight) / 2)))
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Outcome01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Outcome01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Outcomes/Outcome02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Outcomes/Outcome02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Outcomes/Outcome02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,121 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.Hammer01Outcomes;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Outcome02.java,v 1.2 2003/06/26 11:43:59 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Outcome02.java,v 1.2 2003/06/26 11:43:59 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Hammer01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.IntHolder;
+
+public class Outcome02
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String matrixIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Matrix matrix = MatrixHelper.narrow(ORBInterface.orb().string_to_object(matrixIOR));
+
+ int matrixWidth = matrix.get_width();
+ int matrixHeight = matrix.get_height();
+
+ int total = 0;
+ for (int x = 0; x < matrixWidth; x++)
+ {
+ for (int y = 0; y < matrixHeight; y++)
+ {
+ IntHolder value = new IntHolder();
+
+ matrix.get_value(x, y, value);
+
+ total += value.value;
+ }
+ }
+
+ if (total == (matrixWidth * matrixHeight / 2))
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Outcome02.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Outcome02.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Servers/Server01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Servers/Server01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Servers/Server01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,93 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.Hammer01Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server01.java,v 1.2 2003/06/26 11:43:59 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server01.java,v 1.2 2003/06/26 11:43:59 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Hammer01.*;
+import org.jboss.jbossts.qa.Hammer01Impls.AITMatrixImpl01;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server01
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ AITMatrixImpl01 aitMatrixImpl = new AITMatrixImpl01(16, 16);
+ MatrixPOATie servant = new MatrixPOATie(aitMatrixImpl);
+
+ OAInterface.objectIsReady(servant);
+ Matrix aitMatrix = MatrixHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(aitMatrix));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server01.main: " + exception);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Servers/Server02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Servers/Server02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Servers/Server02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,93 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.Hammer01Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server02.java,v 1.2 2003/06/26 11:43:59 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server02.java,v 1.2 2003/06/26 11:43:59 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Hammer01.*;
+import org.jboss.jbossts.qa.Hammer01Impls.AITMatrixImpl02;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server02
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ AITMatrixImpl02 aitMatrixImpl = new AITMatrixImpl02(16, 16);
+ MatrixPOATie servant = new MatrixPOATie(aitMatrixImpl);
+
+ OAInterface.objectIsReady(servant);
+ Matrix aitMatrix = MatrixHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(aitMatrix));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server02.main: " + exception);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Servers/Server03.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Servers/Server03.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Servers/Server03.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,93 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.Hammer01Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server03.java,v 1.2 2003/06/26 11:43:59 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server03.java,v 1.2 2003/06/26 11:43:59 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Hammer01.*;
+import org.jboss.jbossts.qa.Hammer01Impls.AITMatrixImpl03;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server03
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ AITMatrixImpl03 aitMatrixImpl = new AITMatrixImpl03(16, 16);
+ MatrixPOATie servant = new MatrixPOATie(aitMatrixImpl);
+
+ OAInterface.objectIsReady(servant);
+ Matrix aitMatrix = MatrixHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(aitMatrix));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server03.main: " + exception);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Servers/Server04.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Servers/Server04.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Servers/Server04.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,93 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.Hammer01Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server04.java,v 1.2 2003/06/26 11:43:59 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server04.java,v 1.2 2003/06/26 11:43:59 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Hammer01.*;
+import org.jboss.jbossts.qa.Hammer01Impls.AITMatrixImpl04;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server04
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ AITMatrixImpl04 aitMatrixImpl = new AITMatrixImpl04(16, 16);
+ MatrixPOATie servant = new MatrixPOATie(aitMatrixImpl);
+
+ OAInterface.objectIsReady(servant);
+ Matrix aitMatrix = MatrixHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(aitMatrix));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server04.main: " + exception);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Servers/Server05.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Servers/Server05.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Servers/Server05.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,109 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.Hammer01Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server05.java,v 1.2 2003/06/26 11:43:59 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server05.java,v 1.2 2003/06/26 11:43:59 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Hammer01.*;
+import org.jboss.jbossts.qa.Hammer01Impls.JDBCMatrixImpl01;
+import org.jboss.jbossts.qa.Utils.JDBCProfileStore;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server05
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String profileName = args[args.length - 2];
+
+ int numberOfDrivers = JDBCProfileStore.numberOfDrivers(profileName);
+ for (int index = 0; index < numberOfDrivers; index++)
+ {
+ String driver = JDBCProfileStore.driver(profileName, index);
+
+ Class.forName(driver);
+ }
+
+ String databaseURL = JDBCProfileStore.databaseURL(profileName);
+ String databaseUser = JDBCProfileStore.databaseUser(profileName);
+ String databasePassword = JDBCProfileStore.databasePassword(profileName);
+ String databaseDynamicClass = JDBCProfileStore.databaseDynamicClass(profileName);
+
+ JDBCMatrixImpl01 jdbcMatrixImpl = new JDBCMatrixImpl01(16, 16, databaseURL, databaseUser, databasePassword, databaseDynamicClass);
+ MatrixPOATie servant = new MatrixPOATie(jdbcMatrixImpl);
+
+ OAInterface.objectIsReady(servant);
+ Matrix jdbcMatrix = MatrixHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(jdbcMatrix));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server05.main: " + exception);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Servers/Server06.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Servers/Server06.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Servers/Server06.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,109 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.Hammer01Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server06.java,v 1.2 2003/06/26 11:43:59 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server06.java,v 1.2 2003/06/26 11:43:59 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Hammer01.*;
+import org.jboss.jbossts.qa.Hammer01Impls.JDBCMatrixImpl02;
+import org.jboss.jbossts.qa.Utils.JDBCProfileStore;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server06
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String profileName = args[args.length - 2];
+
+ int numberOfDrivers = JDBCProfileStore.numberOfDrivers(profileName);
+ for (int index = 0; index < numberOfDrivers; index++)
+ {
+ String driver = JDBCProfileStore.driver(profileName, index);
+
+ Class.forName(driver);
+ }
+
+ String databaseURL = JDBCProfileStore.databaseURL(profileName);
+ String databaseUser = JDBCProfileStore.databaseUser(profileName);
+ String databasePassword = JDBCProfileStore.databasePassword(profileName);
+ String databaseDynamicClass = JDBCProfileStore.databaseDynamicClass(profileName);
+
+ JDBCMatrixImpl02 jdbcMatrixImpl = new JDBCMatrixImpl02(16, 16, databaseURL, databaseUser, databasePassword, databaseDynamicClass);
+ MatrixPOATie servant = new MatrixPOATie(jdbcMatrixImpl);
+
+ OAInterface.objectIsReady(servant);
+ Matrix jdbcMatrix = MatrixHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(jdbcMatrix));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server06.main: " + exception);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Setups/Setup01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Setups/Setup01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer01Setups/Setup01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,162 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: Setup01.java,v 1.3 2003/09/04 09:38:30 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.Hammer01Setups;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Setup01.java,v 1.3 2003/09/04 09:38:30 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Setup01.java,v 1.3 2003/09/04 09:38:30 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Hammer01.*;
+import org.jboss.jbossts.qa.Utils.JDBCProfileStore;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+
+import java.sql.Connection;
+import java.sql.DriverManager;
+import java.sql.Statement;
+import java.util.Properties;
+
+public class Setup01
+{
+ public static void main(String[] args)
+ {
+ boolean success = false;
+
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String profileName = args[args.length - 1];
+
+ int numberOfDrivers = JDBCProfileStore.numberOfDrivers(profileName);
+ for (int index = 0; index < numberOfDrivers; index++)
+ {
+ String driver = JDBCProfileStore.driver(profileName, index);
+
+ Class.forName(driver);
+ }
+
+ String databaseURL = JDBCProfileStore.databaseURL(profileName);
+ String databaseUser = JDBCProfileStore.databaseUser(profileName);
+ String databasePassword = JDBCProfileStore.databasePassword(profileName);
+ String databaseDynamicClass = JDBCProfileStore.databaseDynamicClass(profileName);
+
+ Connection connection;
+ if (databaseDynamicClass != null)
+ {
+ Properties databaseProperties = new Properties();
+
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.userName, databaseUser);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.password, databasePassword);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.dynamicClass, databaseDynamicClass);
+
+ connection = DriverManager.getConnection(databaseURL, databaseProperties);
+ }
+ else
+ {
+ connection = DriverManager.getConnection(databaseURL, databaseUser, databasePassword);
+ }
+
+ Statement statement = connection.createStatement();
+
+ statement.executeUpdate("CREATE TABLE " + databaseUser + "_Matrix (X INT, Y INT, Value INT)");
+
+ int width = 16;
+ int height = 16;
+
+ for (int x = 0; x < width; x++)
+ {
+ for (int y = 0; y < height; y++)
+ {
+ if (y < (height / 2))
+ {
+ statement.executeUpdate("INSERT INTO " + databaseUser + "_Matrix VALUES(\'" + x + "\', \'" + y + "\', \'0\')");
+ }
+ else
+ {
+ statement.executeUpdate("INSERT INTO " + databaseUser + "_Matrix VALUES(\'" + x + "\', \'" + y + "\', \'1\')");
+ }
+ }
+ }
+
+ statement.close();
+ connection.close();
+
+ success = true;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Setup01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Setup01.main: " + exception);
+ exception.printStackTrace(System.err);
+
+ success = false;
+ }
+
+ System.out.println(success ? "Passed" : "Failed");
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Cleanups/Cleanup01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Cleanups/Cleanup01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Cleanups/Cleanup01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: Cleanup01.java,v 1.3 2003/09/04 09:38:32 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.Hammer02Cleanups;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Cleanup01.java,v 1.3 2003/09/04 09:38:32 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Cleanup01.java,v 1.3 2003/09/04 09:38:32 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Hammer02.*;
+import org.jboss.jbossts.qa.Utils.JDBCProfileStore;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+
+import java.sql.Connection;
+import java.sql.DriverManager;
+import java.sql.Statement;
+import java.util.Properties;
+
+public class Cleanup01
+{
+ public static void main(String[] args)
+ {
+ boolean success = false;
+
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String profileName = args[args.length - 1];
+
+ int numberOfDrivers = JDBCProfileStore.numberOfDrivers(profileName);
+ for (int index = 0; index < numberOfDrivers; index++)
+ {
+ String driver = JDBCProfileStore.driver(profileName, index);
+
+ Class.forName(driver);
+ }
+
+ String databaseURL = JDBCProfileStore.databaseURL(profileName);
+ String databaseUser = JDBCProfileStore.databaseUser(profileName);
+ String databasePassword = JDBCProfileStore.databasePassword(profileName);
+ String databaseDynamicClass = JDBCProfileStore.databaseDynamicClass(profileName);
+
+ Connection connection;
+ if (databaseDynamicClass != null)
+ {
+ Properties databaseProperties = new Properties();
+
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.userName, databaseUser);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.password, databasePassword);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.dynamicClass, databaseDynamicClass);
+
+ connection = DriverManager.getConnection(databaseURL, databaseProperties);
+ }
+ else
+ {
+ connection = DriverManager.getConnection(databaseURL, databaseUser, databasePassword);
+ }
+
+ Statement statement = connection.createStatement();
+
+ statement.executeUpdate("DROP TABLE " + databaseUser + "_Matrix");
+
+ statement.close();
+ connection.close();
+
+ success = true;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Cleanup01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Cleanup01.main: " + exception);
+ exception.printStackTrace(System.err);
+
+ success = false;
+ }
+
+ System.out.println(success ? "Passed" : "Failed");
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Clients/Client01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Clients/Client01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Clients/Client01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,214 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.Hammer02Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client01.java,v 1.2 2003/06/26 11:44:00 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client01.java,v 1.2 2003/06/26 11:44:00 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import org.jboss.jbossts.qa.Hammer02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.IntHolder;
+import org.omg.CosTransactions.Control;
+import org.omg.CosTransactions.Status;
+
+import java.util.Random;
+
+public class Client01
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String matrixIOR = ServerIORStore.loadIOR(args[args.length - 3]);
+
+ _matrix = MatrixHelper.narrow(ORBInterface.orb().string_to_object(matrixIOR));
+ _matrixWidth = _matrix.get_width();
+ _matrixHeight = _matrix.get_height();
+
+ int numberOfOperations = Integer.parseInt(args[args.length - 2]);
+
+// Modified 17/01/01 K Jones: Third argument added to allow delay between operations.
+
+ int delayMillis = Integer.parseInt(args[args.length - 1]);
+
+ work(numberOfOperations, delayMillis);
+
+ System.out.println("Passed");
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+
+ private static void work(int numberOfOperations, int delayMillis)
+ throws Exception
+ {
+ int count = 0;
+ for (int i = 0; i < numberOfOperations; i++)
+ {
+ if (operation())
+ {
+ count++;
+ }
+ Thread.sleep(delayMillis);
+ }
+
+ System.err.println("Work: done " + count + " of " + numberOfOperations);
+ }
+
+ private static boolean operation()
+ throws Exception
+ {
+ boolean successful = false;
+
+ try
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ try
+ {
+ atomicTransaction.begin();
+
+ try
+ {
+ int x0 = Math.abs(_random.nextInt() % _matrixWidth);
+ int y0 = Math.abs(_random.nextInt() % _matrixHeight);
+ int x1 = Math.abs(_random.nextInt() % _matrixWidth);
+ int y1 = Math.abs(_random.nextInt() % _matrixHeight);
+
+ IntHolder srcValue = new IntHolder();
+ IntHolder dstValue = new IntHolder();
+
+ Control control = OTS.current().get_control();
+
+ _matrix.get_value(x0, y0, srcValue, control);
+
+ if (srcValue.value == 1)
+ {
+ _matrix.get_value(x1, y1, dstValue, control);
+
+ if (dstValue.value == 0)
+ {
+ _matrix.set_value(x0, y0, 0, control);
+ _matrix.set_value(x1, y1, 1, control);
+
+ successful = true;
+ }
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ if (invocationException.myreason != Reason.ReasonConcurrencyControl)
+ {
+ throw invocationException;
+ }
+ }
+
+ if (successful)
+ {
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ atomicTransaction.rollback();
+ }
+ }
+ catch (Exception exception)
+ {
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ throw exception;
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client01.operation: " + exception);
+ exception.printStackTrace(System.err);
+ throw exception;
+ }
+
+ return successful;
+ }
+
+ private static Matrix _matrix = null;
+ private static int _matrixWidth = 0;
+ private static int _matrixHeight = 0;
+
+ private static Random _random = new Random();
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Clients/Client02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Clients/Client02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Clients/Client02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,209 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.Hammer02Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client02.java,v 1.2 2003/06/26 11:44:00 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client02.java,v 1.2 2003/06/26 11:44:00 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import org.jboss.jbossts.qa.Hammer02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.IntHolder;
+import org.omg.CosTransactions.Control;
+import org.omg.CosTransactions.Status;
+
+import java.util.Random;
+
+public class Client02
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String matrixIOR = ServerIORStore.loadIOR(args[args.length - 3]);
+
+ _matrix = MatrixHelper.narrow(ORBInterface.orb().string_to_object(matrixIOR));
+ _matrixWidth = _matrix.get_width();
+ _matrixHeight = _matrix.get_height();
+
+ int numberOfOperations = Integer.parseInt(args[args.length - 2]);
+
+// Modified 17/01/01 K Jones: Third argument added to allow delay between operations.
+
+ int delayMillis = Integer.parseInt(args[args.length - 1]);
+
+ work(numberOfOperations, delayMillis);
+
+ System.out.println("Passed");
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client02.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client02.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+
+ private static void work(int numberOfOperations, int delayMillis)
+ throws Exception
+ {
+ int count = 0;
+ for (int i = 0; i < numberOfOperations; i++)
+ {
+ if (operation())
+ {
+ count++;
+ }
+ Thread.sleep(delayMillis);
+ }
+
+ System.err.println("Work: done " + count + " of " + numberOfOperations);
+ }
+
+ private static boolean operation()
+ throws Exception
+ {
+ boolean successful = false;
+
+ try
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ try
+ {
+ atomicTransaction.begin();
+
+ try
+ {
+ int d = Math.abs(_random.nextInt() % 10) + 1;
+
+ int x0 = Math.abs(_random.nextInt() % _matrixWidth);
+ int y0 = Math.abs(_random.nextInt() % _matrixHeight);
+ int x1 = Math.abs(_random.nextInt() % _matrixWidth);
+ int y1 = Math.abs(_random.nextInt() % _matrixHeight);
+
+ IntHolder location0Value = new IntHolder();
+ IntHolder location1Value = new IntHolder();
+
+ Control control = OTS.current().get_control();
+
+ _matrix.get_value(x0, y0, location0Value, control);
+ _matrix.get_value(x1, y1, location1Value, control);
+
+ _matrix.set_value(x0, y0, location1Value.value + d, control);
+ _matrix.set_value(x1, y1, location0Value.value - d, control);
+
+ successful = (x0 != x1) || (y0 != y1);
+ }
+ catch (InvocationException invocationException)
+ {
+ if (invocationException.myreason != Reason.ReasonConcurrencyControl)
+ {
+ throw invocationException;
+ }
+ }
+
+ if (successful)
+ {
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ atomicTransaction.rollback();
+ }
+ }
+ catch (Exception exception)
+ {
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ throw exception;
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client02.operation: " + exception);
+ exception.printStackTrace(System.err);
+ throw exception;
+ }
+
+ return successful;
+ }
+
+ private static Matrix _matrix = null;
+ private static int _matrixWidth = 0;
+ private static int _matrixHeight = 0;
+
+ private static Random _random = new Random();
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Clients/Client03.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Clients/Client03.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Clients/Client03.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,242 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.Hammer02Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client03.java,v 1.2 2003/06/26 11:44:00 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client03.java,v 1.2 2003/06/26 11:44:00 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import org.jboss.jbossts.qa.Hammer02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.IntHolder;
+import org.omg.CosTransactions.Control;
+import org.omg.CosTransactions.Status;
+
+import java.util.Random;
+
+public class Client03
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String matrixIOR = ServerIORStore.loadIOR(args[args.length - 3]);
+
+ _matrix = MatrixHelper.narrow(ORBInterface.orb().string_to_object(matrixIOR));
+ _matrixWidth = _matrix.get_width();
+ _matrixHeight = _matrix.get_height();
+
+ int numberOfWorkers = Integer.parseInt(args[args.length - 2]);
+ int numberOfOperations = Integer.parseInt(args[args.length - 1]);
+
+ Worker[] workers = new Worker[numberOfWorkers];
+
+ for (int index = 0; index < workers.length; index++)
+ {
+ workers[index] = new Worker(numberOfOperations);
+ }
+
+ for (int index = 0; index < workers.length; index++)
+ {
+ workers[index].start();
+ }
+
+ for (int index = 0; index < workers.length; index++)
+ {
+ workers[index].join();
+ }
+
+ System.out.println("Passed");
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client03.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client03.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+
+ private static class Worker extends Thread
+ {
+ public Worker(int numberOfOperations)
+ {
+ _numberOfOperations = numberOfOperations;
+ }
+
+ public void run()
+ {
+ try
+ {
+ int count = 0;
+ for (int i = 0; i < _numberOfOperations; i++)
+ {
+ if (operation())
+ {
+ count++;
+ }
+ }
+
+ System.err.println("Work: done " + count + " of " + _numberOfOperations);
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client03.Worker.run: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+
+ private static boolean operation()
+ throws Exception
+ {
+ boolean successful = false;
+
+ try
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ try
+ {
+ atomicTransaction.begin();
+
+ try
+ {
+ int x0 = Math.abs(_random.nextInt() % _matrixWidth);
+ int y0 = Math.abs(_random.nextInt() % _matrixHeight);
+ int x1 = Math.abs(_random.nextInt() % _matrixWidth);
+ int y1 = Math.abs(_random.nextInt() % _matrixHeight);
+
+ IntHolder srcValue = new IntHolder();
+ IntHolder dstValue = new IntHolder();
+
+ Control control = OTS.current().get_control();
+
+ _matrix.get_value(x0, y0, srcValue, control);
+
+ if (srcValue.value == 1)
+ {
+ _matrix.get_value(x1, y1, dstValue, control);
+
+ if (dstValue.value == 0)
+ {
+ _matrix.set_value(x0, y0, 0, control);
+ _matrix.set_value(x1, y1, 1, control);
+
+ successful = true;
+ }
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ if (invocationException.myreason != Reason.ReasonConcurrencyControl)
+ {
+ throw invocationException;
+ }
+ }
+
+ if (successful)
+ {
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ atomicTransaction.rollback();
+ }
+ }
+ catch (Exception exception)
+ {
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ throw exception;
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client03.Worker.operation: " + exception);
+ exception.printStackTrace(System.err);
+ throw exception;
+ }
+
+ return successful;
+ }
+
+ private int _numberOfOperations;
+ }
+
+ private static Matrix _matrix = null;
+ private static int _matrixWidth = 0;
+ private static int _matrixHeight = 0;
+
+ private static Random _random = new Random();
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Clients/Client04.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Clients/Client04.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Clients/Client04.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,237 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.Hammer02Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client04.java,v 1.2 2003/06/26 11:44:00 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client04.java,v 1.2 2003/06/26 11:44:00 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import org.jboss.jbossts.qa.Hammer02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.IntHolder;
+import org.omg.CosTransactions.Control;
+import org.omg.CosTransactions.Status;
+
+import java.util.Random;
+
+public class Client04
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String matrixIOR = ServerIORStore.loadIOR(args[args.length - 3]);
+
+ _matrix = MatrixHelper.narrow(ORBInterface.orb().string_to_object(matrixIOR));
+ _matrixWidth = _matrix.get_width();
+ _matrixHeight = _matrix.get_height();
+
+ int numberOfWorkers = Integer.parseInt(args[args.length - 2]);
+ int numberOfOperations = Integer.parseInt(args[args.length - 1]);
+
+ Worker[] workers = new Worker[numberOfWorkers];
+
+ for (int index = 0; index < workers.length; index++)
+ {
+ workers[index] = new Worker(numberOfOperations);
+ }
+
+ for (int index = 0; index < workers.length; index++)
+ {
+ workers[index].start();
+ }
+
+ for (int index = 0; index < workers.length; index++)
+ {
+ workers[index].join();
+ }
+
+ System.out.println("Passed");
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client04.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client04.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+
+ private static class Worker extends Thread
+ {
+ public Worker(int numberOfOperations)
+ {
+ _numberOfOperations = numberOfOperations;
+ }
+
+ public void run()
+ {
+ try
+ {
+ int count = 0;
+ for (int i = 0; i < _numberOfOperations; i++)
+ {
+ if (operation())
+ {
+ count++;
+ }
+ }
+
+ System.err.println("Work: done " + count + " of " + _numberOfOperations);
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client04.Worker.run: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+
+ private static boolean operation()
+ throws Exception
+ {
+ boolean successful = false;
+
+ try
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ try
+ {
+ atomicTransaction.begin();
+
+ try
+ {
+ int d = Math.abs(_random.nextInt() % 10) + 1;
+
+ int x0 = Math.abs(_random.nextInt() % _matrixWidth);
+ int y0 = Math.abs(_random.nextInt() % _matrixHeight);
+ int x1 = Math.abs(_random.nextInt() % _matrixWidth);
+ int y1 = Math.abs(_random.nextInt() % _matrixHeight);
+
+ IntHolder location0Value = new IntHolder();
+ IntHolder location1Value = new IntHolder();
+
+ Control control = OTS.current().get_control();
+
+ _matrix.get_value(x0, y0, location0Value, control);
+ _matrix.get_value(x1, y1, location1Value, control);
+
+ _matrix.set_value(x0, y0, location1Value.value + d, control);
+ _matrix.set_value(x1, y1, location0Value.value - d, control);
+
+ successful = (x0 != x1) || (y0 != y1);
+ }
+ catch (InvocationException invocationException)
+ {
+ if (invocationException.myreason != Reason.ReasonConcurrencyControl)
+ {
+ throw invocationException;
+ }
+ }
+
+ if (successful)
+ {
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ atomicTransaction.rollback();
+ }
+ }
+ catch (Exception exception)
+ {
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ throw exception;
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client04.Worker.operation: " + exception);
+ exception.printStackTrace(System.err);
+ throw exception;
+ }
+
+ return successful;
+ }
+
+ private int _numberOfOperations;
+ }
+
+ private static Matrix _matrix = null;
+ private static int _matrixWidth = 0;
+ private static int _matrixHeight = 0;
+
+ private static Random _random = new Random();
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Impls/AITMatrixImpl01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Impls/AITMatrixImpl01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Impls/AITMatrixImpl01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,381 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: AITMatrixImpl01.java,v 1.2 2003/06/26 11:44:01 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.Hammer02Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AITMatrixImpl01.java,v 1.2 2003/06/26 11:44:01 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AITMatrixImpl01.java,v 1.2 2003/06/26 11:44:01 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.arjuna.ObjectType;
+import com.arjuna.ats.arjuna.common.Uid;
+import com.arjuna.ats.arjuna.state.InputObjectState;
+import com.arjuna.ats.arjuna.state.OutputObjectState;
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import com.arjuna.ats.txoj.Lock;
+import com.arjuna.ats.txoj.LockManager;
+import com.arjuna.ats.txoj.LockMode;
+import com.arjuna.ats.txoj.LockResult;
+import org.jboss.jbossts.qa.Hammer02.*;
+import org.omg.CORBA.IntHolder;
+import org.omg.CosTransactions.Control;
+import org.omg.CosTransactions.Status;
+
+public class AITMatrixImpl01 extends LockManager implements MatrixOperations
+{
+ public AITMatrixImpl01(int width, int height)
+ throws InvocationException
+ {
+ super(ObjectType.ANDPERSISTENT);
+
+ _width = width;
+ _height = height;
+
+ _values = new int[_width][];
+ for (int x = 0; x < _width; x++)
+ {
+ _values[x] = new int[_height];
+ }
+
+ for (int x = 0; x < _width; x++)
+ {
+ for (int y = 0; y < _height; y++)
+ {
+ if (y < (_height / 2))
+ {
+ _values[x][y] = 0;
+ }
+ else
+ {
+ _values[x][y] = 1;
+ }
+ }
+ }
+ try
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ if (setlock(new Lock(LockMode.WRITE), 0) == LockResult.GRANTED)
+ {
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ System.err.println("AITMatrixImpl01.AITMatrixImpl01: failed to get lock");
+ atomicTransaction.rollback();
+
+ throw new InvocationException(Reason.ReasonConcurrencyControl);
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITMatrixImpl01.AITMatrixImpl01: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+
+ public AITMatrixImpl01(int width, int height, Uid uid)
+ throws InvocationException
+ {
+ super(uid);
+
+ _width = width;
+ _height = height;
+
+ _values = new int[_width][];
+ for (int x = 0; x < _width; x++)
+ {
+ _values[x] = new int[_height];
+ }
+ }
+
+ public void finalize()
+ throws Throwable
+ {
+ try
+ {
+ super.terminate();
+ super.finalize();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITMatrixImpl01.finalize: " + exception);
+ throw exception;
+ }
+ }
+
+ public int get_width()
+ throws InvocationException
+ {
+ return _width;
+ }
+
+ public int get_height()
+ throws InvocationException
+ {
+ return _height;
+ }
+
+ public void get_value(int x, int y, IntHolder value, Control ctrl)
+ throws InvocationException
+ {
+ if ((x < 0) || (x >= _width) || (y < 0) || (y >= _height))
+ {
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+
+ try
+ {
+ com.arjuna.ats.jts.ExplicitInterposition interposition = new com.arjuna.ats.jts.ExplicitInterposition();
+
+ interposition.registerTransaction(ctrl);
+
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ try
+ {
+ atomicTransaction.begin();
+
+ if (setlock(new Lock(LockMode.READ), 0) == LockResult.GRANTED)
+ {
+ value.value = _values[x][y];
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ atomicTransaction.rollback();
+
+ throw new InvocationException(Reason.ReasonConcurrencyControl);
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ interposition.unregisterTransaction();
+
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITMatrixImpl01.get_value: " + exception);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ interposition.unregisterTransaction();
+
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ catch (Error error)
+ {
+ System.err.println("AITMatrixImpl01.get_value: " + error);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ interposition.unregisterTransaction();
+
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+
+ interposition.unregisterTransaction();
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITMatrixImpl01.get_value: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+
+ public void set_value(int x, int y, int value, Control ctrl)
+ throws InvocationException
+ {
+ if ((x < 0) || (x >= _width) || (y < 0) || (y >= _height))
+ {
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+
+ try
+ {
+ com.arjuna.ats.jts.ExplicitInterposition interposition = new com.arjuna.ats.jts.ExplicitInterposition();
+
+ interposition.registerTransaction(ctrl);
+
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ try
+ {
+ atomicTransaction.begin();
+
+ if (setlock(new Lock(LockMode.WRITE), 0) == LockResult.GRANTED)
+ {
+ _values[x][y] = value;
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ atomicTransaction.rollback();
+
+ throw new InvocationException(Reason.ReasonConcurrencyControl);
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ interposition.unregisterTransaction();
+
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITMatrixImpl01.set_value: " + exception);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ interposition.unregisterTransaction();
+
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ catch (Error error)
+ {
+ System.err.println("AITMatrixImpl01.set_value: " + error);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ interposition.unregisterTransaction();
+
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+
+ interposition.unregisterTransaction();
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITMatrixImpl01.set_value: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+
+ public boolean save_state(OutputObjectState objectState, int objectType)
+ {
+ super.save_state(objectState, objectType);
+ try
+ {
+ for (int x = 0; x < _width; x++)
+ {
+ for (int y = 0; y < _height; y++)
+ {
+ objectState.packInt(_values[x][y]);
+ }
+ }
+
+ return true;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITMatrixImpl01.save_state: " + exception);
+ return false;
+ }
+ }
+
+ public boolean restore_state(InputObjectState objectState, int objectType)
+ {
+ super.restore_state(objectState, objectType);
+ try
+ {
+ for (int x = 0; x < _width; x++)
+ {
+ for (int y = 0; y < _height; y++)
+ {
+ _values[x][y] = objectState.unpackInt();
+ }
+ }
+
+ return true;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITMatrixImpl01.restore_state: " + exception);
+ return false;
+ }
+ }
+
+ public String type()
+ {
+ return "/StateManager/LockManager/AITMatrixImpl01";
+ }
+
+ private int _width;
+ private int _height;
+ private int[][] _values = null;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Impls/AITMatrixImpl02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Impls/AITMatrixImpl02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Impls/AITMatrixImpl02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,349 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: AITMatrixImpl02.java,v 1.2 2003/06/26 11:44:01 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.Hammer02Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AITMatrixImpl02.java,v 1.2 2003/06/26 11:44:01 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AITMatrixImpl02.java,v 1.2 2003/06/26 11:44:01 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.arjuna.ObjectType;
+import com.arjuna.ats.arjuna.common.Uid;
+import com.arjuna.ats.arjuna.state.InputObjectState;
+import com.arjuna.ats.arjuna.state.OutputObjectState;
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import com.arjuna.ats.txoj.Lock;
+import com.arjuna.ats.txoj.LockManager;
+import com.arjuna.ats.txoj.LockMode;
+import com.arjuna.ats.txoj.LockResult;
+import org.jboss.jbossts.qa.Hammer02.*;
+import org.omg.CORBA.IntHolder;
+import org.omg.CosTransactions.Control;
+
+public class AITMatrixImpl02 extends LockManager implements MatrixOperations
+{
+ public AITMatrixImpl02(int width, int height)
+ throws InvocationException
+ {
+ super(ObjectType.ANDPERSISTENT);
+
+ _width = width;
+ _height = height;
+
+ _values = new int[_width][];
+ for (int x = 0; x < _width; x++)
+ {
+ _values[x] = new int[_height];
+ }
+
+ for (int x = 0; x < _width; x++)
+ {
+ for (int y = 0; y < _height; y++)
+ {
+ if (y < (_height / 2))
+ {
+ _values[x][y] = 0;
+ }
+ else
+ {
+ _values[x][y] = 1;
+ }
+ }
+ }
+ try
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ if (setlock(new Lock(LockMode.WRITE), 0) == LockResult.GRANTED)
+ {
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ System.err.println("AITMatrixImpl02.AITMatrixImpl02: failed to get lock");
+ atomicTransaction.rollback();
+
+ throw new InvocationException(Reason.ReasonConcurrencyControl);
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITMatrixImpl02.AITMatrixImpl02: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+
+ public AITMatrixImpl02(int width, int height, Uid uid)
+ throws InvocationException
+ {
+ super(uid);
+
+ _width = width;
+ _height = height;
+
+ _values = new int[_width][];
+ for (int x = 0; x < _width; x++)
+ {
+ _values[x] = new int[_height];
+ }
+ }
+
+ public void finalize()
+ throws Throwable
+ {
+ try
+ {
+ super.terminate();
+ super.finalize();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITMatrixImpl02.finalize: " + exception);
+ throw exception;
+ }
+ }
+
+ public int get_width()
+ throws InvocationException
+ {
+ return _width;
+ }
+
+ public int get_height()
+ throws InvocationException
+ {
+ return _height;
+ }
+
+ public void get_value(int x, int y, IntHolder value, Control ctrl)
+ throws InvocationException
+ {
+ if ((x < 0) || (x >= _width) || (y < 0) || (y >= _height))
+ {
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+
+ try
+ {
+ com.arjuna.ats.jts.ExplicitInterposition interposition = new com.arjuna.ats.jts.ExplicitInterposition();
+
+ interposition.registerTransaction(ctrl);
+
+ try
+ {
+ if (setlock(new Lock(LockMode.READ), 0) == LockResult.GRANTED)
+ {
+ value.value = _values[x][y];
+ }
+ else
+ {
+// Modified 15/01/2001 K Jones: 'interposition.unregisterTransaction()' removed
+
+ throw new InvocationException(Reason.ReasonConcurrencyControl);
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ interposition.unregisterTransaction();
+
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+
+ System.err.println("AITMatrixImpl02.get_value: " + exception);
+
+ interposition.unregisterTransaction();
+ throw new InvocationException();
+ }
+ catch (Error error)
+ {
+ System.err.println("AITMatrixImpl02.get_value: " + error);
+
+ interposition.unregisterTransaction();
+ throw new InvocationException();
+ }
+
+ interposition.unregisterTransaction();
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITMatrixImpl02.get_value: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+
+ public void set_value(int x, int y, int value, Control ctrl)
+ throws InvocationException
+ {
+ if ((x < 0) || (x >= _width) || (y < 0) || (y >= _height))
+ {
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+
+ try
+ {
+ com.arjuna.ats.jts.ExplicitInterposition interposition = new com.arjuna.ats.jts.ExplicitInterposition();
+
+ interposition.registerTransaction(ctrl);
+ try
+ {
+ if (setlock(new Lock(LockMode.WRITE), 0) == LockResult.GRANTED)
+ {
+ _values[x][y] = value;
+ }
+ else
+ {
+// Modified 15/01/2001 K Jones: 'interposition.unregisterTransaction()' removed
+ throw new InvocationException(Reason.ReasonConcurrencyControl);
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ interposition.unregisterTransaction();
+
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITMatrixImpl02.set_value: " + exception);
+
+ interposition.unregisterTransaction();
+ throw new InvocationException();
+ }
+ catch (Error error)
+ {
+ System.err.println("AITMatrixImpl02.set_value: " + error);
+
+ interposition.unregisterTransaction();
+ throw new InvocationException();
+ }
+
+ interposition.unregisterTransaction();
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITMatrixImpl02.set_value: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+
+ public boolean save_state(OutputObjectState objectState, int objectType)
+ {
+ super.save_state(objectState, objectType);
+ try
+ {
+ for (int x = 0; x < _width; x++)
+ {
+ for (int y = 0; y < _height; y++)
+ {
+ objectState.packInt(_values[x][y]);
+ }
+ }
+
+ return true;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITMatrixImpl02.save_state: " + exception);
+ return false;
+ }
+ }
+
+ public boolean restore_state(InputObjectState objectState, int objectType)
+ {
+ super.restore_state(objectState, objectType);
+ try
+ {
+ for (int x = 0; x < _width; x++)
+ {
+ for (int y = 0; y < _height; y++)
+ {
+ _values[x][y] = objectState.unpackInt();
+ }
+ }
+
+ return true;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITMatrixImpl02.restore_state: " + exception);
+ return false;
+ }
+ }
+
+ public String type()
+ {
+ return "/StateManager/LockManager/AITMatrixImpl02";
+ }
+
+ private int _width;
+ private int _height;
+ private int[][] _values = null;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Impls/AITMatrixImpl03.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Impls/AITMatrixImpl03.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Impls/AITMatrixImpl03.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,646 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: AITMatrixImpl03.java,v 1.2 2003/06/26 11:44:01 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.Hammer02Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AITMatrixImpl03.java,v 1.2 2003/06/26 11:44:01 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AITMatrixImpl03.java,v 1.2 2003/06/26 11:44:01 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.arjuna.ObjectType;
+import com.arjuna.ats.arjuna.common.Uid;
+import com.arjuna.ats.arjuna.state.InputObjectState;
+import com.arjuna.ats.arjuna.state.OutputObjectState;
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import com.arjuna.ats.txoj.Lock;
+import com.arjuna.ats.txoj.LockManager;
+import com.arjuna.ats.txoj.LockMode;
+import com.arjuna.ats.txoj.LockResult;
+import org.jboss.jbossts.qa.Hammer02.*;
+import org.omg.CORBA.IntHolder;
+import org.omg.CosTransactions.Control;
+import org.omg.CosTransactions.Status;
+
+import java.util.Hashtable;
+
+public class AITMatrixImpl03 extends LockManager implements MatrixOperations
+{
+ public AITMatrixImpl03(int width, int height)
+ throws InvocationException
+ {
+ super(ObjectType.ANDPERSISTENT);
+
+ _width = width;
+ _height = height;
+
+ _values = new Element[_width][];
+ for (int x = 0; x < _width; x++)
+ {
+ _values[x] = new Element[_height];
+ }
+
+ for (int x = 0; x < _width; x++)
+ {
+ for (int y = 0; y < _height; y++)
+ {
+ if (y < (_height / 2))
+ {
+ _values[x][y] = Element.create(0);
+ }
+ else
+ {
+ _values[x][y] = Element.create(1);
+ }
+ }
+ }
+ try
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ if (setlock(new Lock(LockMode.WRITE), 0) == LockResult.GRANTED)
+ {
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ System.err.println("AITMatrixImpl03.AITMatrixImpl03: failed to get lock");
+ atomicTransaction.rollback();
+
+ throw new InvocationException(Reason.ReasonConcurrencyControl);
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITMatrixImpl03.AITMatrixImpl03: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+
+ public AITMatrixImpl03(int width, int height, Uid uid)
+ throws InvocationException
+ {
+ super(uid);
+
+ _width = width;
+ _height = height;
+
+ _values = new Element[_width][];
+ for (int x = 0; x < _width; x++)
+ {
+ _values[x] = new Element[_height];
+ }
+ }
+
+ public void finalize()
+ throws Throwable
+ {
+ try
+ {
+ super.terminate();
+ super.finalize();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITMatrixImpl03.finalize: " + exception);
+ throw exception;
+ }
+ }
+
+ public int get_width()
+ throws InvocationException
+ {
+ return _width;
+ }
+
+ public int get_height()
+ throws InvocationException
+ {
+ return _height;
+ }
+
+ public void get_value(int x, int y, IntHolder value, Control ctrl)
+ throws InvocationException
+ {
+ if ((x < 0) || (x >= _width) || (y < 0) || (y >= _height))
+ {
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+
+ try
+ {
+ com.arjuna.ats.jts.ExplicitInterposition interposition = new com.arjuna.ats.jts.ExplicitInterposition();
+
+ interposition.registerTransaction(ctrl);
+
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ try
+ {
+ atomicTransaction.begin();
+
+ if (setlock(new Lock(LockMode.READ), 0) == LockResult.GRANTED)
+ {
+ try
+ {
+ _values[x][y].get_value(value);
+
+ atomicTransaction.commit(true);
+ }
+ catch (InvocationException invocationException)
+ {
+ atomicTransaction.rollback();
+
+ throw invocationException;
+ }
+ }
+ else
+ {
+ atomicTransaction.rollback();
+
+ throw new InvocationException(Reason.ReasonConcurrencyControl);
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ interposition.unregisterTransaction();
+
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITMatrixImpl03.get_value: " + exception);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ interposition.unregisterTransaction();
+
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ catch (Error error)
+ {
+ System.err.println("AITMatrixImpl03.get_value: " + error);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ interposition.unregisterTransaction();
+
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+
+ interposition.unregisterTransaction();
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITMatrixImpl03.get_value: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+
+ public void set_value(int x, int y, int value, Control ctrl)
+ throws InvocationException
+ {
+ if ((x < 0) || (x >= _width) || (y < 0) || (y >= _height))
+ {
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+
+ try
+ {
+ com.arjuna.ats.jts.ExplicitInterposition interposition = new com.arjuna.ats.jts.ExplicitInterposition();
+
+ interposition.registerTransaction(ctrl);
+
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ try
+ {
+ atomicTransaction.begin();
+
+ if (setlock(new Lock(LockMode.READ), 0) == LockResult.GRANTED)
+ {
+ try
+ {
+ _values[x][y].set_value(value);
+
+ atomicTransaction.commit(true);
+ }
+ catch (InvocationException invocationException)
+ {
+ atomicTransaction.rollback();
+
+ throw invocationException;
+ }
+ }
+ else
+ {
+ atomicTransaction.rollback();
+
+ throw new InvocationException(Reason.ReasonConcurrencyControl);
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ interposition.unregisterTransaction();
+
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITMatrixImpl03.set_value: " + exception);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ interposition.unregisterTransaction();
+
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ catch (Error error)
+ {
+ System.err.println("AITMatrixImpl03.set_value: " + error);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ interposition.unregisterTransaction();
+
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+
+ interposition.unregisterTransaction();
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITMatrixImpl03.set_value: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+
+ public boolean save_state(OutputObjectState objectState, int objectType)
+ {
+ super.save_state(objectState, objectType);
+ try
+ {
+ for (int x = 0; x < _width; x++)
+ {
+ for (int y = 0; y < _height; y++)
+ {
+ _values[x][y].get_uid().pack(objectState);
+ }
+ }
+
+ return true;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITMatrixImpl03.save_state: " + exception);
+ return false;
+ }
+ }
+
+ public boolean restore_state(InputObjectState objectState, int objectType)
+ {
+ super.restore_state(objectState, objectType);
+ try
+ {
+ for (int x = 0; x < _width; x++)
+ {
+ for (int y = 0; y < _height; y++)
+ {
+ Uid uid = new Uid();
+
+ uid.unpack(objectState);
+ _values[x][y] = Element.obtain(uid);
+ }
+ }
+
+ return true;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITMatrixImpl03.restore_state: " + exception);
+ return false;
+ }
+ }
+
+ public String type()
+ {
+ return "/StateManager/LockManager/AITMatrixImpl03";
+ }
+
+ private static class Element extends LockManager
+ {
+ private Element(int value)
+ throws InvocationException
+ {
+ super(ObjectType.ANDPERSISTENT);
+
+ _value = value;
+
+ try
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ if (setlock(new Lock(LockMode.WRITE), 0) == LockResult.GRANTED)
+ {
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ System.err.println("Element.Element: failed to get lock");
+ atomicTransaction.rollback();
+
+ throw new InvocationException(Reason.ReasonConcurrencyControl);
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Element.Element: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+
+ private Element(Uid uid)
+ throws InvocationException
+ {
+ super(uid);
+ }
+
+ public void finalize()
+ throws Throwable
+ {
+ try
+ {
+ super.terminate();
+ super.finalize();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Element.finalize: " + exception);
+ throw exception;
+ }
+ }
+
+ public void get_value(IntHolder value)
+ throws InvocationException
+ {
+ try
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ try
+ {
+ atomicTransaction.begin();
+
+ if (setlock(new Lock(LockMode.READ), 0) == LockResult.GRANTED)
+ {
+ value.value = _value;
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ atomicTransaction.rollback();
+
+ throw new InvocationException(Reason.ReasonConcurrencyControl);
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Element.get_value: " + exception);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Element.get_value: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+
+ public void set_value(int value)
+ throws InvocationException
+ {
+ try
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ try
+ {
+ atomicTransaction.begin();
+
+ if (setlock(new Lock(LockMode.WRITE), 0) == LockResult.GRANTED)
+ {
+ _value = value;
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ atomicTransaction.rollback();
+
+ throw new InvocationException(Reason.ReasonConcurrencyControl);
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Element.set_value: " + exception);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Element.set_value: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+
+ public static Element create(int value)
+ {
+ Element element;
+
+ try
+ {
+ element = new Element(value);
+
+ _all.put(element.get_uid(), element);
+ }
+ catch (Exception exception)
+ {
+ element = null;
+ }
+
+ return element;
+ }
+
+ public static Element obtain(Uid uid)
+ {
+ Element element;
+
+ element = (Element) _all.get(uid);
+
+ if (element == null)
+ {
+ try
+ {
+ element = new Element(uid);
+ }
+ catch (Exception exception)
+ {
+ element = null;
+ }
+
+ _all.put(uid, element);
+ }
+
+ return element;
+ }
+
+ public boolean save_state(OutputObjectState objectState, int objectType)
+ {
+ super.save_state(objectState, objectType);
+ try
+ {
+ objectState.packInt(_value);
+
+ return true;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Element.save_state: " + exception);
+ return false;
+ }
+ }
+
+ public boolean restore_state(InputObjectState objectState, int objectType)
+ {
+ super.restore_state(objectState, objectType);
+ try
+ {
+ _value = objectState.unpackInt();
+
+ return true;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Element.restore_state: " + exception);
+ return false;
+ }
+ }
+
+ public String type()
+ {
+ return "/StateManager/LockManager/AITMatrixImpl03_Element";
+ }
+
+ private int _value;
+
+ private static Hashtable _all = new Hashtable();
+ }
+
+ private int _width;
+ private int _height;
+ private Element[][] _values;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Impls/AITMatrixImpl04.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Impls/AITMatrixImpl04.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Impls/AITMatrixImpl04.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,545 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: AITMatrixImpl04.java,v 1.2 2003/06/26 11:44:01 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.Hammer02Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AITMatrixImpl04.java,v 1.2 2003/06/26 11:44:01 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AITMatrixImpl04.java,v 1.2 2003/06/26 11:44:01 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.arjuna.ObjectType;
+import com.arjuna.ats.arjuna.common.Uid;
+import com.arjuna.ats.arjuna.state.InputObjectState;
+import com.arjuna.ats.arjuna.state.OutputObjectState;
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import com.arjuna.ats.txoj.Lock;
+import com.arjuna.ats.txoj.LockManager;
+import com.arjuna.ats.txoj.LockMode;
+import com.arjuna.ats.txoj.LockResult;
+import org.jboss.jbossts.qa.Hammer02.*;
+import org.omg.CORBA.IntHolder;
+import org.omg.CosTransactions.Control;
+
+import java.util.Hashtable;
+
+public class AITMatrixImpl04 extends LockManager implements MatrixOperations
+{
+ public AITMatrixImpl04(int width, int height)
+ throws InvocationException
+ {
+ super(ObjectType.ANDPERSISTENT);
+
+ _width = width;
+ _height = height;
+
+ _values = new Element[_width][];
+ for (int x = 0; x < _width; x++)
+ {
+ _values[x] = new Element[_height];
+ }
+
+ for (int x = 0; x < _width; x++)
+ {
+ for (int y = 0; y < _height; y++)
+ {
+ if (y < (_height / 2))
+ {
+ _values[x][y] = Element.create(0);
+ }
+ else
+ {
+ _values[x][y] = Element.create(1);
+ }
+ }
+ }
+ try
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ if (setlock(new Lock(LockMode.WRITE), 0) == LockResult.GRANTED)
+ {
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ System.err.println("AITMatrixImpl04.AITMatrixImpl04: failed to get lock");
+ atomicTransaction.rollback();
+
+ throw new InvocationException(Reason.ReasonConcurrencyControl);
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITMatrixImpl04.AITMatrixImpl04: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+
+ public AITMatrixImpl04(int width, int height, Uid uid)
+ throws InvocationException
+ {
+ super(uid);
+
+ _width = width;
+ _height = height;
+
+ _values = new Element[_width][];
+ for (int x = 0; x < _width; x++)
+ {
+ _values[x] = new Element[_height];
+ }
+ }
+
+ public void finalize()
+ throws Throwable
+ {
+ try
+ {
+ super.terminate();
+ super.finalize();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITMatrixImpl04.finalize: " + exception);
+ throw exception;
+ }
+ }
+
+ public int get_width()
+ throws InvocationException
+ {
+ return _width;
+ }
+
+ public int get_height()
+ throws InvocationException
+ {
+ return _height;
+ }
+
+ public void get_value(int x, int y, IntHolder value, Control ctrl)
+ throws InvocationException
+ {
+ if ((x < 0) || (x >= _width) || (y < 0) || (y >= _height))
+ {
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+
+ try
+ {
+ com.arjuna.ats.jts.ExplicitInterposition interposition = new com.arjuna.ats.jts.ExplicitInterposition();
+
+ interposition.registerTransaction(ctrl);
+
+ try
+ {
+ if (setlock(new Lock(LockMode.READ), 0) == LockResult.GRANTED)
+ {
+ _values[x][y].get_value(value);
+ }
+ else
+ {
+// Modified 15/01/2001 K Jones: Removed 'interposition.unregisterTransaction()'
+ throw new InvocationException(Reason.ReasonConcurrencyControl);
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ interposition.unregisterTransaction();
+
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITMatrixImpl04.get_value: " + exception);
+ interposition.unregisterTransaction();
+
+ throw new InvocationException();
+ }
+ catch (Error error)
+ {
+ System.err.println("AITMatrixImpl04.get_value: " + error);
+ interposition.unregisterTransaction();
+
+ throw new InvocationException();
+ }
+
+ interposition.unregisterTransaction();
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITMatrixImpl04.get_value: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+
+ public void set_value(int x, int y, int value, Control ctrl)
+ throws InvocationException
+ {
+ if ((x < 0) || (x >= _width) || (y < 0) || (y >= _height))
+ {
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+
+ try
+ {
+ com.arjuna.ats.jts.ExplicitInterposition interposition = new com.arjuna.ats.jts.ExplicitInterposition();
+
+ interposition.registerTransaction(ctrl);
+
+ try
+ {
+ if (setlock(new Lock(LockMode.READ), 0) == LockResult.GRANTED)
+ {
+ _values[x][y].set_value(value);
+ }
+ else
+ {
+// Modified 15/01/2001 K Jones: Removed 'interposition.unregisterTransaction()'
+ throw new InvocationException(Reason.ReasonConcurrencyControl);
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ interposition.unregisterTransaction();
+
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITMatrixImpl04.set_value: " + exception);
+ interposition.unregisterTransaction();
+
+ throw new InvocationException();
+ }
+ catch (Error error)
+ {
+ System.err.println("AITMatrixImpl04.set_value: " + error);
+ interposition.unregisterTransaction();
+
+ throw new InvocationException();
+ }
+
+ interposition.unregisterTransaction();
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITMatrixImpl04.set_value: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+
+ public boolean save_state(OutputObjectState objectState, int objectType)
+ {
+ super.save_state(objectState, objectType);
+ try
+ {
+ for (int x = 0; x < _width; x++)
+ {
+ for (int y = 0; y < _height; y++)
+ {
+ _values[x][y].get_uid().pack(objectState);
+ }
+ }
+
+ return true;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITMatrixImpl04.save_state: " + exception);
+ return false;
+ }
+ }
+
+ public boolean restore_state(InputObjectState objectState, int objectType)
+ {
+ super.restore_state(objectState, objectType);
+ try
+ {
+ for (int x = 0; x < _width; x++)
+ {
+ for (int y = 0; y < _height; y++)
+ {
+ Uid uid = new Uid();
+
+ uid.unpack(objectState);
+ _values[x][y] = Element.obtain(uid);
+ }
+ }
+
+ return true;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITMatrixImpl04.restore_state: " + exception);
+ return false;
+ }
+ }
+
+ public String type()
+ {
+ return "/StateManager/LockManager/AITMatrixImpl04";
+ }
+
+ private static class Element extends LockManager
+ {
+ private Element(int value)
+ throws InvocationException
+ {
+ super(ObjectType.ANDPERSISTENT);
+
+ _value = value;
+
+ try
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ if (setlock(new Lock(LockMode.WRITE), 0) == LockResult.GRANTED)
+ {
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ System.err.println("Element.Element: failed to get lock");
+ atomicTransaction.rollback();
+
+ throw new InvocationException(Reason.ReasonConcurrencyControl);
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Element.Element: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+
+ private Element(Uid uid)
+ throws InvocationException
+ {
+ super(uid);
+ }
+
+ public void finalize()
+ throws Throwable
+ {
+ try
+ {
+ super.terminate();
+ super.finalize();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Element.finalize: " + exception);
+ throw exception;
+ }
+ }
+
+ public void get_value(IntHolder value)
+ throws InvocationException
+ {
+ try
+ {
+ if (setlock(new Lock(LockMode.READ), 0) == LockResult.GRANTED)
+ {
+ value.value = _value;
+ }
+ else
+ {
+ throw new InvocationException(Reason.ReasonConcurrencyControl);
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Element.get_value: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+
+ public void set_value(int value)
+ throws InvocationException
+ {
+ try
+ {
+ if (setlock(new Lock(LockMode.WRITE), 0) == LockResult.GRANTED)
+ {
+ _value = value;
+ }
+ else
+ {
+ throw new InvocationException(Reason.ReasonConcurrencyControl);
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Element.set_value: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+
+ public static Element create(int value)
+ {
+ Element element;
+
+ try
+ {
+ element = new Element(value);
+
+ _all.put(element.get_uid(), element);
+ }
+ catch (Exception exception)
+ {
+ element = null;
+ }
+
+ return element;
+ }
+
+ public static Element obtain(Uid uid)
+ {
+ Element element;
+
+ element = (Element) _all.get(uid);
+
+ if (element == null)
+ {
+ try
+ {
+ element = new Element(uid);
+ }
+ catch (Exception exception)
+ {
+ element = null;
+ }
+
+ _all.put(uid, element);
+ }
+
+ return element;
+ }
+
+ public boolean save_state(OutputObjectState objectState, int objectType)
+ {
+ super.save_state(objectState, objectType);
+ try
+ {
+ objectState.packInt(_value);
+
+ return true;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Element.save_state: " + exception);
+ return false;
+ }
+ }
+
+ public boolean restore_state(InputObjectState objectState, int objectType)
+ {
+ super.restore_state(objectState, objectType);
+ try
+ {
+ _value = objectState.unpackInt();
+
+ return true;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Element.restore_state: " + exception);
+ return false;
+ }
+ }
+
+ public String type()
+ {
+ return "/StateManager/LockManager/AITMatrixImpl04_Element";
+ }
+
+ private int _value;
+
+ private static Hashtable _all = new Hashtable();
+ }
+
+ private int _width;
+ private int _height;
+ private Element[][] _values;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Impls/JDBCMatrixImpl01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Impls/JDBCMatrixImpl01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Impls/JDBCMatrixImpl01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,252 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: JDBCMatrixImpl01.java,v 1.2 2003/06/26 11:44:01 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.Hammer02Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: JDBCMatrixImpl01.java,v 1.2 2003/06/26 11:44:01 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: JDBCMatrixImpl01.java,v 1.2 2003/06/26 11:44:01 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Hammer02.*;
+import org.omg.CORBA.IntHolder;
+import org.omg.CosTransactions.Control;
+
+import java.sql.Connection;
+import java.sql.DriverManager;
+import java.sql.ResultSet;
+import java.sql.Statement;
+import java.util.Properties;
+
+public class JDBCMatrixImpl01 implements MatrixOperations
+{
+ public JDBCMatrixImpl01(int width, int height, String databaseURL, String databaseUser, String databasePassword, String databaseDynamicClass)
+ throws InvocationException
+ {
+ _width = width;
+ _height = height;
+ _dbUser = databaseUser;
+
+ try
+ {
+ if (databaseDynamicClass != null)
+ {
+ Properties databaseProperties = new Properties();
+
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.userName, databaseUser);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.password, databasePassword);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.dynamicClass, databaseDynamicClass);
+
+ _connection = DriverManager.getConnection(databaseURL, databaseProperties);
+ }
+ else
+ {
+ _connection = DriverManager.getConnection(databaseURL, databaseUser, databasePassword);
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCMatrixImpl01.JDBCMatrixImpl01: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+
+ public void finalize()
+ throws Throwable
+ {
+ try
+ {
+ if (_connection != null)
+ {
+ ;
+ }
+ _connection.close();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCMatrixImpl01.finalize: " + exception);
+ throw exception;
+ }
+ }
+
+ public int get_width()
+ throws InvocationException
+ {
+ return _width;
+ }
+
+ public int get_height()
+ throws InvocationException
+ {
+ return _height;
+ }
+
+ public void get_value(int x, int y, IntHolder value, Control ctrl)
+ throws InvocationException
+ {
+ if ((x < 0) || (x >= _width) || (y < 0) || (y >= _height))
+ {
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+
+ try
+ {
+ com.arjuna.ats.jts.ExplicitInterposition interposition = new com.arjuna.ats.jts.ExplicitInterposition();
+
+ interposition.registerTransaction(ctrl);
+
+ try
+ {
+ Statement statement = _connection.createStatement();
+
+ ResultSet resultSet = statement.executeQuery("SELECT Value FROM " + _dbUser + "_Matrix WHERE X = \'" + x + "\' AND Y = \'" + y + "\'");
+ resultSet.next();
+ value.value = resultSet.getInt("Value");
+ if (resultSet.next())
+ {
+ throw new Exception();
+ }
+ resultSet.close();
+
+ statement.close();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCMatrixImpl01.get_value: " + exception);
+
+ interposition.unregisterTransaction();
+
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+
+ catch (Error error)
+ {
+ System.err.println("JDBCMatrixImpl01.get_value: " + error);
+
+ interposition.unregisterTransaction();
+
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+
+ interposition.unregisterTransaction();
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCMatrixImpl01.get_value: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+
+ public void set_value(int x, int y, int value, Control ctrl)
+ throws InvocationException
+ {
+ if ((x < 0) || (x >= _width) || (y < 0) || (y >= _height))
+ {
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+
+ try
+ {
+ com.arjuna.ats.jts.ExplicitInterposition interposition = new com.arjuna.ats.jts.ExplicitInterposition();
+
+ interposition.registerTransaction(ctrl);
+
+ try
+ {
+ Statement statement = _connection.createStatement();
+
+ statement.executeUpdate("UPDATE " + _dbUser + "_Matrix SET Value = \'" + value + "\' WHERE X = \'" + x + "\' AND Y = \'" + y + "\'");
+
+ statement.close();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCMatrixImpl01.set_value: " + exception);
+
+ interposition.unregisterTransaction();
+
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ catch (Error error)
+ {
+ System.err.println("JDBCMatrixImpl01.set_value: " + error);
+
+ interposition.unregisterTransaction();
+
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+
+ interposition.unregisterTransaction();
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCMatrixImpl01.set_value: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+
+ private int _width;
+ private int _height;
+
+ private Connection _connection;
+ private String _dbUser;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Impls/JDBCMatrixImpl02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Impls/JDBCMatrixImpl02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Impls/JDBCMatrixImpl02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,260 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: JDBCMatrixImpl02.java,v 1.2 2003/06/26 11:44:01 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.Hammer02Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: JDBCMatrixImpl02.java,v 1.2 2003/06/26 11:44:01 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: JDBCMatrixImpl02.java,v 1.2 2003/06/26 11:44:01 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Hammer02.*;
+import org.omg.CORBA.IntHolder;
+import org.omg.CosTransactions.Control;
+
+import java.sql.Connection;
+import java.sql.DriverManager;
+import java.sql.ResultSet;
+import java.sql.Statement;
+import java.util.Properties;
+
+public class JDBCMatrixImpl02 implements MatrixOperations
+{
+ public JDBCMatrixImpl02(int width, int height, String databaseURL, String databaseUser, String databasePassword, String databaseDynamicClass)
+ throws InvocationException
+ {
+ _width = width;
+ _height = height;
+ _databaseUser = databaseUser;
+
+ try
+ {
+ if (databaseDynamicClass != null)
+ {
+ _databaseURL = databaseURL;
+
+ _databaseProperties = new Properties();
+ _databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.userName, databaseUser);
+ _databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.password, databasePassword);
+ _databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.dynamicClass, databaseDynamicClass);
+ }
+ else
+ {
+ _databaseURL = databaseURL;
+ _databaseUser = databaseUser;
+ _databasePassword = databasePassword;
+ _databaseProperties = null;
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCMatrixImpl02.JDBCMatrixImpl02: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public int get_width()
+ throws InvocationException
+ {
+ return _width;
+ }
+
+ public int get_height()
+ throws InvocationException
+ {
+ return _height;
+ }
+
+ public void get_value(int x, int y, IntHolder value, Control ctrl)
+ throws InvocationException
+ {
+ if ((x < 0) || (x >= _width) || (y < 0) || (y >= _height))
+ {
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+
+ try
+ {
+ com.arjuna.ats.jts.ExplicitInterposition interposition = new com.arjuna.ats.jts.ExplicitInterposition();
+
+ interposition.registerTransaction(ctrl);
+
+ try
+ {
+ Connection connection;
+ if (_databaseProperties != null)
+ {
+ connection = DriverManager.getConnection(_databaseURL, _databaseProperties);
+ }
+ else
+ {
+ connection = DriverManager.getConnection(_databaseURL, _databaseUser, _databasePassword);
+ }
+
+ Statement statement = connection.createStatement();
+
+ ResultSet resultSet = statement.executeQuery("SELECT Value FROM " + _databaseUser + "_Matrix WHERE X = \'" + x + "\' AND Y = \'" + y + "\'");
+ resultSet.next();
+ value.value = resultSet.getInt("Value");
+ if (resultSet.next())
+ {
+ throw new Exception();
+ }
+ resultSet.close();
+
+ statement.close();
+ connection.close();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCMatrixImpl02.get_value: " + exception);
+
+ interposition.unregisterTransaction();
+
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ catch (Error error)
+ {
+ System.err.println("JDBCMatrixImpl02.get_value: " + error);
+
+ interposition.unregisterTransaction();
+
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+
+ interposition.unregisterTransaction();
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCMatrixImpl02.get_value: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+
+ public void set_value(int x, int y, int value, Control ctrl)
+ throws InvocationException
+ {
+ if ((x < 0) || (x >= _width) || (y < 0) || (y >= _height))
+ {
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+
+ try
+ {
+ com.arjuna.ats.jts.ExplicitInterposition interposition = new com.arjuna.ats.jts.ExplicitInterposition();
+
+ interposition.registerTransaction(ctrl);
+
+ try
+ {
+ Connection connection;
+ if (_databaseProperties != null)
+ {
+ connection = DriverManager.getConnection(_databaseURL, _databaseProperties);
+ }
+ else
+ {
+ connection = DriverManager.getConnection(_databaseURL, _databaseUser, _databasePassword);
+ }
+
+ Statement statement = connection.createStatement();
+
+ statement.executeUpdate("UPDATE " + _databaseUser + "_Matrix SET Value = \'" + value + "\' WHERE X = \'" + x + "\' AND Y = \'" + y + "\'");
+
+ statement.close();
+ connection.close();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCMatrixImpl02.set_value: " + exception);
+
+ interposition.unregisterTransaction();
+
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+
+ catch (Error error)
+ {
+ System.err.println("JDBCMatrixImpl02.set_value: " + error);
+
+ interposition.unregisterTransaction();
+
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+
+ interposition.unregisterTransaction();
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCMatrixImpl02.set_value: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+
+ private int _width;
+ private int _height;
+
+ private String _databaseURL;
+ private String _databaseUser;
+ private String _databasePassword;
+ private Properties _databaseProperties;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Outcomes/Outcome01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Outcomes/Outcome01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Outcomes/Outcome01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,125 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.Hammer02Outcomes;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Outcome01.java,v 1.2 2003/06/26 11:44:02 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Outcome01.java,v 1.2 2003/06/26 11:44:02 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Hammer02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.IntHolder;
+
+public class Outcome01
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String matrixIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Matrix matrix = MatrixHelper.narrow(ORBInterface.orb().string_to_object(matrixIOR));
+
+ boolean correct = true;
+
+ int matrixWidth = matrix.get_width();
+ int matrixHeight = matrix.get_height();
+
+ int total = 0;
+ for (int x = 0; x < matrixWidth; x++)
+ {
+ for (int y = 0; y < matrixHeight; y++)
+ {
+ IntHolder value = new IntHolder();
+
+ matrix.get_value(x, y, value, null);
+
+ correct = correct && ((value.value == 0) || (value.value == 1));
+
+ total += value.value;
+ }
+ }
+
+ if (correct && (total == ((matrixWidth * matrixHeight) / 2)))
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Outcome01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Outcome01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Outcomes/Outcome02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Outcomes/Outcome02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Outcomes/Outcome02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,121 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.Hammer02Outcomes;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Outcome02.java,v 1.2 2003/06/26 11:44:02 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Outcome02.java,v 1.2 2003/06/26 11:44:02 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Hammer02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.IntHolder;
+
+public class Outcome02
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String matrixIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Matrix matrix = MatrixHelper.narrow(ORBInterface.orb().string_to_object(matrixIOR));
+
+ int matrixWidth = matrix.get_width();
+ int matrixHeight = matrix.get_height();
+
+ int total = 0;
+ for (int x = 0; x < matrixWidth; x++)
+ {
+ for (int y = 0; y < matrixHeight; y++)
+ {
+ IntHolder value = new IntHolder();
+
+ matrix.get_value(x, y, value, null);
+
+ total += value.value;
+ }
+ }
+
+ if (total == (matrixWidth * matrixHeight / 2))
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Outcome02.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Outcome02.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Servers/Server01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Servers/Server01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Servers/Server01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,93 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.Hammer02Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server01.java,v 1.2 2003/06/26 11:44:02 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server01.java,v 1.2 2003/06/26 11:44:02 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Hammer02.*;
+import org.jboss.jbossts.qa.Hammer02Impls.AITMatrixImpl01;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server01
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ AITMatrixImpl01 aitMatrixImpl = new AITMatrixImpl01(16, 16);
+ MatrixPOATie servant = new MatrixPOATie(aitMatrixImpl);
+
+ OAInterface.objectIsReady(servant);
+ Matrix aitMatrix = MatrixHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(aitMatrix));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server01.main: " + exception);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Servers/Server02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Servers/Server02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Servers/Server02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,93 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.Hammer02Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server02.java,v 1.2 2003/06/26 11:44:02 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server02.java,v 1.2 2003/06/26 11:44:02 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Hammer02.*;
+import org.jboss.jbossts.qa.Hammer02Impls.AITMatrixImpl02;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server02
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ AITMatrixImpl02 aitMatrixImpl = new AITMatrixImpl02(16, 16);
+ MatrixPOATie servant = new MatrixPOATie(aitMatrixImpl);
+
+ OAInterface.objectIsReady(servant);
+ Matrix aitMatrix = MatrixHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(aitMatrix));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server02.main: " + exception);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Servers/Server03.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Servers/Server03.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Servers/Server03.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,93 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.Hammer02Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server03.java,v 1.2 2003/06/26 11:44:02 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server03.java,v 1.2 2003/06/26 11:44:02 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Hammer02.*;
+import org.jboss.jbossts.qa.Hammer02Impls.AITMatrixImpl03;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server03
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ AITMatrixImpl03 aitMatrixImpl = new AITMatrixImpl03(16, 16);
+ MatrixPOATie servant = new MatrixPOATie(aitMatrixImpl);
+
+ OAInterface.objectIsReady(servant);
+ Matrix aitMatrix = MatrixHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(aitMatrix));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server03.main: " + exception);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Servers/Server04.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Servers/Server04.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Servers/Server04.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,93 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.Hammer02Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server04.java,v 1.2 2003/06/26 11:44:02 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server04.java,v 1.2 2003/06/26 11:44:02 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Hammer02.*;
+import org.jboss.jbossts.qa.Hammer02Impls.AITMatrixImpl04;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server04
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ AITMatrixImpl04 aitMatrixImpl = new AITMatrixImpl04(16, 16);
+ MatrixPOATie servant = new MatrixPOATie(aitMatrixImpl);
+
+ OAInterface.objectIsReady(servant);
+ Matrix aitMatrix = MatrixHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(aitMatrix));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server04.main: " + exception);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Servers/Server05.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Servers/Server05.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Servers/Server05.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,109 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.Hammer02Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server05.java,v 1.2 2003/06/26 11:44:02 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server05.java,v 1.2 2003/06/26 11:44:02 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Hammer02.*;
+import org.jboss.jbossts.qa.Hammer02Impls.JDBCMatrixImpl01;
+import org.jboss.jbossts.qa.Utils.JDBCProfileStore;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server05
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String profileName = args[args.length - 2];
+
+ int numberOfDrivers = JDBCProfileStore.numberOfDrivers(profileName);
+ for (int index = 0; index < numberOfDrivers; index++)
+ {
+ String driver = JDBCProfileStore.driver(profileName, index);
+
+ Class.forName(driver);
+ }
+
+ String databaseURL = JDBCProfileStore.databaseURL(profileName);
+ String databaseUser = JDBCProfileStore.databaseUser(profileName);
+ String databasePassword = JDBCProfileStore.databasePassword(profileName);
+ String databaseDynamicClass = JDBCProfileStore.databaseDynamicClass(profileName);
+
+ JDBCMatrixImpl01 jdbcMatrixImpl = new JDBCMatrixImpl01(16, 16, databaseURL, databaseUser, databasePassword, databaseDynamicClass);
+ MatrixPOATie servant = new MatrixPOATie(jdbcMatrixImpl);
+
+ OAInterface.objectIsReady(servant);
+ Matrix jdbcMatrix = MatrixHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(jdbcMatrix));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server05.main: " + exception);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Servers/Server06.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Servers/Server06.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Servers/Server06.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,109 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.Hammer02Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server06.java,v 1.2 2003/06/26 11:44:02 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server06.java,v 1.2 2003/06/26 11:44:02 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Hammer02.*;
+import org.jboss.jbossts.qa.Hammer02Impls.JDBCMatrixImpl02;
+import org.jboss.jbossts.qa.Utils.JDBCProfileStore;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server06
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String profileName = args[args.length - 2];
+
+ int numberOfDrivers = JDBCProfileStore.numberOfDrivers(profileName);
+ for (int index = 0; index < numberOfDrivers; index++)
+ {
+ String driver = JDBCProfileStore.driver(profileName, index);
+
+ Class.forName(driver);
+ }
+
+ String databaseURL = JDBCProfileStore.databaseURL(profileName);
+ String databaseUser = JDBCProfileStore.databaseUser(profileName);
+ String databasePassword = JDBCProfileStore.databasePassword(profileName);
+ String databaseDynamicClass = JDBCProfileStore.databaseDynamicClass(profileName);
+
+ JDBCMatrixImpl02 jdbcMatrixImpl = new JDBCMatrixImpl02(16, 16, databaseURL, databaseUser, databasePassword, databaseDynamicClass);
+ MatrixPOATie servant = new MatrixPOATie(jdbcMatrixImpl);
+
+ OAInterface.objectIsReady(servant);
+ Matrix jdbcMatrix = MatrixHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(jdbcMatrix));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server06.main: " + exception);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Setups/Setup01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Setups/Setup01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Hammer02Setups/Setup01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,161 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: Setup01.java,v 1.3 2003/09/04 09:38:33 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.Hammer02Setups;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Setup01.java,v 1.3 2003/09/04 09:38:33 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Setup01.java,v 1.3 2003/09/04 09:38:33 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Hammer02.*;
+import org.jboss.jbossts.qa.Utils.JDBCProfileStore;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+
+import java.sql.Connection;
+import java.sql.DriverManager;
+import java.sql.Statement;
+import java.util.Properties;
+
+public class Setup01
+{
+ public static void main(String[] args)
+ {
+ boolean success = false;
+
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String profileName = args[args.length - 1];
+
+ int numberOfDrivers = JDBCProfileStore.numberOfDrivers(profileName);
+ for (int index = 0; index < numberOfDrivers; index++)
+ {
+ String driver = JDBCProfileStore.driver(profileName, index);
+
+ Class.forName(driver);
+ }
+
+ String databaseURL = JDBCProfileStore.databaseURL(profileName);
+ String databaseUser = JDBCProfileStore.databaseUser(profileName);
+ String databasePassword = JDBCProfileStore.databasePassword(profileName);
+ String databaseDynamicClass = JDBCProfileStore.databaseDynamicClass(profileName);
+
+ Connection connection;
+ if (databaseDynamicClass != null)
+ {
+ Properties databaseProperties = new Properties();
+
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.userName, databaseUser);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.password, databasePassword);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.dynamicClass, databaseDynamicClass);
+
+ connection = DriverManager.getConnection(databaseURL, databaseProperties);
+ }
+ else
+ {
+ connection = DriverManager.getConnection(databaseURL, databaseUser, databasePassword);
+ }
+
+ Statement statement = connection.createStatement();
+
+ statement.executeUpdate("CREATE TABLE " + databaseUser + "_Matrix (X INT, Y INT, Value INT)");
+
+ int width = 16;
+ int height = 16;
+
+ for (int x = 0; x < width; x++)
+ {
+ for (int y = 0; y < height; y++)
+ {
+ if (y < (height / 2))
+ {
+ statement.executeUpdate("INSERT INTO " + databaseUser + "_Matrix VALUES(\'" + x + "\', \'" + y + "\', \'0\')");
+ }
+ else
+ {
+ statement.executeUpdate("INSERT INTO " + databaseUser + "_Matrix VALUES(\'" + x + "\', \'" + y + "\', \'1\')");
+ }
+ }
+ }
+
+ statement.close();
+ connection.close();
+
+ success = true;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Setup01.main: " + exception);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+
+ success = false;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Setup01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ System.out.println(success ? "Passed" : "Failed");
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Issues0001Clients/Client0001.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Issues0001Clients/Client0001.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Issues0001Clients/Client0001.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,135 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.Issues0001Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client0001.java,v 1.2 2003/06/26 11:44:03 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client0001.java,v 1.2 2003/06/26 11:44:03 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import org.jboss.jbossts.qa.Issues0001.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.IntHolder;
+
+public class Client0001
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String counterIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Counter counter = CounterHelper.narrow(ORBInterface.orb().string_to_object(counterIOR));
+
+ int numberOfCalls = 1000;
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ try
+ {
+ counter.increase();
+ }
+ catch (InvocationException invocationException)
+ {
+ }
+
+ atomicTransaction.commit(true);
+ }
+
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ IntHolder value = new IntHolder();
+
+ counter.get(value);
+
+ atomicTransaction.commit(true);
+
+ if (value.value == numberOfCalls)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client0001.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client0001.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Issues0001Clients/LynxJDBCPerfTest.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Issues0001Clients/LynxJDBCPerfTest.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Issues0001Clients/LynxJDBCPerfTest.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,231 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+/***************************************************************/
+/* */
+/* Name : LynxJDBCPerfTest.java */
+/* */
+/* Description : Version of the original test from US company */
+/* Lynx which has been modified for the QA test */
+/* suite. */
+/* */
+/* Test performs x inserts using JTA interface */
+/* and checks time taken. Test passes if */
+/* throughput if greater than a specified value. */
+/* */
+/* NOTE : Lynx test was written for Oracle. */
+/***************************************************************/
+package org.jboss.jbossts.qa.Issues0001Clients;
+
+
+import org.jboss.jbossts.qa.Utils.JDBCProfileStore;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+
+import javax.transaction.TransactionManager;
+import java.sql.*;
+import java.util.Properties;
+
+public class LynxJDBCPerfTest extends Thread
+{
+
+ private java.sql.Connection _dbConn;
+ private PreparedStatement _prepStmt;
+
+ static private TransactionManager _txMgr = null;
+
+ static private long _start;
+ static private long _end;
+ static private double _iterPerSec;
+ static private double _expected_iterPerSec = 30;
+ static private double _noOfIterations = 1000;
+
+ private long _count = 0;
+
+ // Print out test stats to client err file.
+ private void printStats()
+ {
+ try
+ {
+ _iterPerSec = ((double) _count) / ((double) (_end - _start)) * 1000.0;
+ System.err.println("Messages Received : " + _count);
+ System.err.println("Elapsed time : " +
+ (_end - _start) + " ms");
+ System.err.println("Expected Performance : " +
+ ((int) _expected_iterPerSec) + " iterations/sec");
+ System.err.println("Actual Performance : " +
+ ((int) _iterPerSec) + " iterations/sec");
+
+ }
+ catch (Exception ex)
+ {
+ System.err.println("Exception occurred in printStats(), ex: " + ex);
+ }
+ }
+
+ // Setup DB connection and create test table.
+ private void initSequeLink(String profileName)
+ {
+ try
+ {
+
+ // REGISTER DRIVER
+ int numberOfDrivers = JDBCProfileStore.numberOfDrivers(profileName);
+ for (int index = 0; index < numberOfDrivers; index++)
+ {
+ String driver = JDBCProfileStore.driver(profileName, index);
+
+ Class.forName(driver);
+ }
+
+ String databaseURL = JDBCProfileStore.databaseURL(profileName);
+ String databaseUser = JDBCProfileStore.databaseUser(profileName);
+ String databasePassword = JDBCProfileStore.databasePassword(profileName);
+ String databaseDynamicClass = JDBCProfileStore.databaseDynamicClass(profileName);
+
+ // Get DB connection.
+ Connection connection;
+ if (databaseDynamicClass != null)
+ {
+ Properties databaseProperties = new Properties();
+
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.userName, databaseUser);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.password, databasePassword);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.dynamicClass, databaseDynamicClass);
+
+ _dbConn = DriverManager.getConnection(databaseURL, databaseProperties);
+ }
+ else
+ {
+ _dbConn = DriverManager.getConnection(databaseURL, databaseUser, databasePassword);
+ }
+
+ ResultSet rs = null;
+ Statement st = _dbConn.createStatement();
+
+ // Create TEST table (drop if already exists).
+ rs = st.executeQuery("SELECT * FROM USER_TABLES " +
+ "WHERE TABLE_NAME = \'LYNX_TEST\'");
+ if (rs.next())
+ {
+ st.execute("DROP TABLE LYNX_TEST");
+ st.execute("DROP SEQUENCE LYNX_TESTSEQ");
+ }
+
+ st.execute("CREATE TABLE LYNX_TEST (id number(20) not null," +
+ "description varchar2 (2000)," +
+ "CONSTRAINT lynx_pk_id PRIMARY KEY (id) " +
+ "USING index storage (initial 10k next 10k))");
+
+ st.execute("CREATE SEQUENCE LYNX_TESTSEQ");
+
+ _prepStmt = _dbConn.prepareStatement("insert into LYNX_TEST values (LYNX_TESTSEQ.nextval, ?)");
+
+ }
+ catch (Exception e)
+ {
+ System.err.println(e);
+ }
+ }
+
+ // Perform actual test - insert x rows and record time taken.
+ public void doTest()
+ {
+ try
+ {
+ _start = System.currentTimeMillis();
+ _txMgr = com.arjuna.ats.jta.TransactionManager.transactionManager();
+
+ for (int i = 0; i < _noOfIterations; ++i)
+ {
+ _count++;
+
+ _txMgr.begin();
+
+ Statement _Stmt = _dbConn.createStatement();
+
+ String text = "12345678901234567890123456789012345678901234567890";
+ int tmpInt = _Stmt.executeUpdate("insert into TEST values (TESTSeq.nextval, '" + text + "')");
+
+ _Stmt.close();
+
+ _txMgr.commit();
+ }
+
+ _end = System.currentTimeMillis();
+
+ printStats();
+ }
+ catch (Exception ex)
+ {
+ ex.printStackTrace();
+ System.exit(0);
+ }
+ }
+
+ public static void main(String[] args) throws Exception
+ {
+
+ // Process args.
+ if (args.length > 1)
+ {
+ _expected_iterPerSec = Float.parseFloat(args[1]);
+ }
+
+ if (args.length > 2)
+ {
+ _noOfIterations = Float.parseFloat(args[2]);
+ }
+
+ LynxJDBCPerfTest tester = new LynxJDBCPerfTest();
+
+ // Setup and perform test.
+ tester.startTransactionManager(args);
+ tester.initSequeLink(args[0]);
+ tester.doTest();
+ tester.shutdownTransactionManager();
+
+ // Output Passed if performance meets expections.
+ if ((_iterPerSec) > _expected_iterPerSec)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+
+ }
+
+ private void startTransactionManager(String[] args) throws Exception
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+ }
+
+ private void shutdownTransactionManager()
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+
+}
+
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Issues0001Impls/CounterImpl0001.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Issues0001Impls/CounterImpl0001.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Issues0001Impls/CounterImpl0001.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,319 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: CounterImpl0001.java,v 1.2 2003/06/26 11:44:03 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.Issues0001Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: CounterImpl0001.java,v 1.2 2003/06/26 11:44:03 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: CounterImpl0001.java,v 1.2 2003/06/26 11:44:03 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.arjuna.ObjectType;
+import com.arjuna.ats.arjuna.common.Uid;
+import com.arjuna.ats.arjuna.state.InputObjectState;
+import com.arjuna.ats.arjuna.state.OutputObjectState;
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import com.arjuna.ats.txoj.Lock;
+import com.arjuna.ats.txoj.LockManager;
+import com.arjuna.ats.txoj.LockMode;
+import com.arjuna.ats.txoj.LockResult;
+import org.jboss.jbossts.qa.Issues0001.*;
+import org.omg.CORBA.IntHolder;
+import org.omg.CosTransactions.Status;
+
+public class CounterImpl0001 extends LockManager implements CounterOperations
+{
+ public CounterImpl0001()
+ throws InvocationException
+ {
+ super(ObjectType.ANDPERSISTENT);
+
+ _value = 0;
+
+ try
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ if (setlock(new Lock(LockMode.WRITE), 0) == LockResult.GRANTED)
+ {
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ System.err.println("CounterImpl0001.CounterImpl001: failed to get lock");
+ atomicTransaction.rollback();
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("CounterImpl0001.CounterImpl0001: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public CounterImpl0001(Uid uid)
+ throws InvocationException
+ {
+ super(uid);
+ }
+
+ public void finalize()
+ throws Throwable
+ {
+ try
+ {
+ super.terminate();
+ super.finalize();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("CounterImpl0001.finalize: " + exception);
+ throw exception;
+ }
+ }
+
+ public void get(IntHolder value)
+ throws InvocationException
+ {
+ try
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ try
+ {
+ atomicTransaction.begin();
+
+ if (setlock(new Lock(LockMode.READ), 0) == LockResult.GRANTED)
+ {
+ value.value = _value;
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ atomicTransaction.rollback();
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("CounterImpl0001.get: " + exception);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("CounterImpl0001.get: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public void set(int value)
+ throws InvocationException
+ {
+ try
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ try
+ {
+ atomicTransaction.begin();
+
+ if (setlock(new Lock(LockMode.WRITE), 0) == LockResult.GRANTED)
+ {
+ _value = value;
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ atomicTransaction.rollback();
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("CounterImpl0001.set: " + exception);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("CounterImpl0001.set: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public void increase()
+ throws InvocationException
+ {
+ try
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ try
+ {
+ atomicTransaction.begin();
+
+ if (setlock(new Lock(LockMode.WRITE), 0) == LockResult.GRANTED)
+ {
+ _value++;
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ atomicTransaction.rollback();
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("CounterImpl0001.increase: " + exception);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("CounterImpl0001.increase: " + exception);
+ throw new InvocationException();
+ }
+
+ throw new InvocationException();
+ }
+
+ public boolean save_state(OutputObjectState objectState, int objectType)
+ {
+ super.save_state(objectState, objectType);
+ try
+ {
+ objectState.packInt(_value);
+ return true;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("CounterImpl0001.save_state: " + exception);
+ return false;
+ }
+ }
+
+ public boolean restore_state(InputObjectState objectState, int objectType)
+ {
+ super.restore_state(objectState, objectType);
+ try
+ {
+ _value = objectState.unpackInt();
+ return true;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("CounterImpl0001.restore_state: " + exception);
+ return false;
+ }
+ }
+
+ public String type()
+ {
+ return "/StateManager/LockManager/CounterImpl0001";
+ }
+
+ private int _value;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Issues0001Servers/Server0001.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Issues0001Servers/Server0001.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Issues0001Servers/Server0001.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,94 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.Issues0001Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server0001.java,v 1.2 2003/06/26 11:44:04 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server0001.java,v 1.2 2003/06/26 11:44:04 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Issues0001.*;
+import org.jboss.jbossts.qa.Issues0001Impls.CounterImpl0001;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server0001
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ CounterImpl0001 counterImpl = new CounterImpl0001();
+ CounterPOATie servant = new CounterPOATie(counterImpl);
+
+ OAInterface.objectIsReady(servant);
+ Counter counter = CounterHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(counter));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server0001.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCLocals01/Client01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCLocals01/Client01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCLocals01/Client01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,116 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 2004
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: Client01.java,v 1.2 2004/03/29 10:34:39 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.JDBCLocals01;
+
+import org.jboss.jbossts.qa.JDBCLocals01Impls.InfoTable;
+import org.jboss.jbossts.qa.JDBCLocals01Impls.JDBCInfoTableImpl01;
+import org.jboss.jbossts.qa.JDBCLocals01Impls.JDBCInfoTableImpl02;
+import org.jboss.jbossts.qa.Utils.JDBCProfileStore;
+
+public class Client01
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ String profileName = args[args.length - 1];
+
+ int numberOfDrivers = JDBCProfileStore.numberOfDrivers(profileName);
+ for (int index = 0; index < numberOfDrivers; index++)
+ {
+ String driver = JDBCProfileStore.driver(profileName, index);
+
+ Class.forName(driver);
+ }
+
+ String databaseURL = JDBCProfileStore.databaseURL(profileName);
+ String databaseUser = JDBCProfileStore.databaseUser(profileName);
+ String databasePassword = JDBCProfileStore.databasePassword(profileName);
+ String databaseDynamicClass = JDBCProfileStore.databaseDynamicClass(profileName);
+ int databaseTimeout = JDBCProfileStore.timeout(profileName);
+
+ InfoTable infoTable = null;
+ boolean tableTwo = false;
+
+ for (int i = 0; i < args.length; i++)
+ {
+ if (args[i].equals("-table2"))
+ {
+ tableTwo = true;
+ }
+ }
+
+ if (!tableTwo)
+ {
+ infoTable = new JDBCInfoTableImpl01(databaseURL, databaseUser, databasePassword, databaseDynamicClass, databaseTimeout);
+ }
+ else
+ {
+ infoTable = new JDBCInfoTableImpl02(databaseURL, databaseUser, databasePassword, databaseDynamicClass, databaseTimeout);
+ }
+
+ boolean correct = true;
+
+ for (int index = 0; index < 10; index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + index;
+
+ infoTable.insert(name, value);
+ }
+
+ for (int index = 0; correct && (index < 10); index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + index;
+ String newValue = infoTable.select(name);
+
+ correct = correct && value.equals(newValue);
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCLocals01/Client02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCLocals01/Client02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCLocals01/Client02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,162 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 2004,
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: Client02.java,v 1.2 2004/03/29 10:34:39 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.JDBCLocals01;
+
+import org.jboss.jbossts.qa.JDBCLocals01Impls.InfoTable;
+import org.jboss.jbossts.qa.JDBCLocals01Impls.JDBCInfoTableImpl01;
+import org.jboss.jbossts.qa.JDBCLocals01Impls.JDBCInfoTableImpl02;
+import org.jboss.jbossts.qa.Utils.JDBCProfileStore;
+
+public class Client02
+{
+ public static void main(String[] args)
+ {
+ javax.transaction.TransactionManager transactionManager = null;
+
+ try
+ {
+ String profileName = args[args.length - 1];
+
+ int numberOfDrivers = JDBCProfileStore.numberOfDrivers(profileName);
+ for (int index = 0; index < numberOfDrivers; index++)
+ {
+ String driver = JDBCProfileStore.driver(profileName, index);
+
+ Class.forName(driver);
+ }
+
+ String databaseURL = JDBCProfileStore.databaseURL(profileName);
+ String databaseUser =
+ JDBCProfileStore.databaseUser(profileName);
+ String databasePassword = JDBCProfileStore.databasePassword(profileName);
+ String databaseDynamicClass = JDBCProfileStore.databaseDynamicClass(profileName);
+ int databaseTimeout = JDBCProfileStore.timeout(profileName);
+
+ InfoTable infoTable = null;
+ boolean tableTwo = false;
+
+ for (int i = 0; i < args.length; i++)
+ {
+ if (args[i].equals("-table2"))
+ {
+ tableTwo = true;
+ }
+ }
+
+ if (!tableTwo)
+ {
+ infoTable = new JDBCInfoTableImpl01(databaseURL, databaseUser, databasePassword, databaseDynamicClass, databaseTimeout);
+ }
+ else
+ {
+ infoTable = new JDBCInfoTableImpl02(databaseURL, databaseUser, databasePassword, databaseDynamicClass, databaseTimeout);
+ }
+
+ boolean correct = true;
+
+ transactionManager = com.arjuna.ats.jta.TransactionManager.transactionManager();
+
+ transactionManager.begin();
+
+ for (int index = 0; index < 10; index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + index;
+
+ try
+ {
+ infoTable.insert(name, value);
+ }
+ catch (Exception e)
+ {
+ correct = false;
+ System.err.println("Error in insert : " + e);
+ e.printStackTrace(System.err);
+ }
+
+ }
+
+ transactionManager.commit();
+
+ transactionManager.begin();
+
+ for (int index = 0; correct && (index < 10); index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + index;
+ String newValue = "";
+
+ try
+ {
+ newValue = infoTable.select(name);
+ }
+ catch (Exception e)
+ {
+ }
+
+ correct = correct && value.equals(newValue);
+ }
+
+ transactionManager.commit();
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client02.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ finally
+ {
+// code change to stop database locking
+ try
+ {
+ if (transactionManager.getTransaction() != null)
+ {
+ transactionManager.rollback();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Finally has caught exception");
+ }
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCLocals01/Client03.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCLocals01/Client03.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCLocals01/Client03.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,176 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 2004,
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: Client03.java,v 1.2 2004/03/29 10:34:39 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.JDBCLocals01;
+
+import org.jboss.jbossts.qa.JDBCLocals01Impls.InfoTable;
+import org.jboss.jbossts.qa.JDBCLocals01Impls.JDBCInfoTableImpl01;
+import org.jboss.jbossts.qa.JDBCLocals01Impls.JDBCInfoTableImpl02;
+import org.jboss.jbossts.qa.Utils.JDBCProfileStore;
+
+public class Client03
+{
+ public static void main(String[] args)
+ {
+ javax.transaction.TransactionManager transactionManager = null;
+
+ try
+ {
+ String profileName = args[args.length - 1];
+
+ int numberOfDrivers = JDBCProfileStore.numberOfDrivers(profileName);
+ for (int index = 0; index < numberOfDrivers; index++)
+ {
+ String driver = JDBCProfileStore.driver(profileName, index);
+
+ Class.forName(driver);
+ }
+
+ String databaseURL = JDBCProfileStore.databaseURL(profileName);
+ String databaseUser =
+ JDBCProfileStore.databaseUser(profileName);
+ String databasePassword = JDBCProfileStore.databasePassword(profileName);
+ String databaseDynamicClass = JDBCProfileStore.databaseDynamicClass(profileName);
+ int databaseTimeout = JDBCProfileStore.timeout(profileName);
+
+ InfoTable infoTable = null;
+ boolean tableTwo = false;
+
+ for (int i = 0; i < args.length; i++)
+ {
+ if (args[i].equals("-table2"))
+ {
+ tableTwo = true;
+ }
+ }
+
+ if (!tableTwo)
+ {
+ infoTable = new JDBCInfoTableImpl01(databaseURL, databaseUser, databasePassword, databaseDynamicClass, databaseTimeout);
+ }
+ else
+ {
+ infoTable = new JDBCInfoTableImpl02(databaseURL, databaseUser, databasePassword, databaseDynamicClass, databaseTimeout);
+ }
+
+ boolean correct = true;
+
+ transactionManager = com.arjuna.ats.jta.TransactionManager.transactionManager();
+
+ transactionManager.begin();
+
+ for (int index = 0; index < 10; index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + index;
+
+ try
+ {
+ infoTable.insert(name, value);
+ }
+ catch (Exception e)
+ {
+ correct = false;
+ System.err.println("Error in insert : " + e);
+ e.printStackTrace(System.err);
+ }
+ }
+
+ transactionManager.commit();
+
+ transactionManager.begin();
+
+ try
+ {
+ infoTable.update("Name_3", "Value_8");
+ }
+ catch (Exception e)
+ {
+ correct = false;
+ System.err.println("Error in update : " + e);
+ e.printStackTrace(System.err);
+ }
+
+ transactionManager.rollback();
+
+ transactionManager.begin();
+
+ for (int index = 0; correct && (index < 10); index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + index;
+ String newValue = "";
+
+ try
+ {
+ newValue = infoTable.select(name);
+ }
+ catch (Exception e)
+ {
+ }
+
+ correct = correct && value.equals(newValue);
+ }
+
+ transactionManager.commit();
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client03.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ finally
+ {
+// code change to stop database locking
+ try
+ {
+ if (transactionManager.getTransaction() != null)
+ {
+ transactionManager.rollback();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Finally has caught exception");
+ }
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCLocals01/Client04.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCLocals01/Client04.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCLocals01/Client04.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,176 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 2004,
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: Client04.java,v 1.2 2004/03/29 10:34:39 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.JDBCLocals01;
+
+import org.jboss.jbossts.qa.JDBCLocals01Impls.InfoTable;
+import org.jboss.jbossts.qa.JDBCLocals01Impls.JDBCInfoTableImpl01;
+import org.jboss.jbossts.qa.JDBCLocals01Impls.JDBCInfoTableImpl02;
+import org.jboss.jbossts.qa.Utils.JDBCProfileStore;
+
+public class Client04
+{
+ public static void main(String[] args)
+ {
+ javax.transaction.TransactionManager transactionManager = null;
+
+ try
+ {
+ String profileName = args[args.length - 1];
+
+ int numberOfDrivers = JDBCProfileStore.numberOfDrivers(profileName);
+ for (int index = 0; index < numberOfDrivers; index++)
+ {
+ String driver = JDBCProfileStore.driver(profileName, index);
+
+ Class.forName(driver);
+ }
+
+ String databaseURL = JDBCProfileStore.databaseURL(profileName);
+ String databaseUser =
+ JDBCProfileStore.databaseUser(profileName);
+ String databasePassword = JDBCProfileStore.databasePassword(profileName);
+ String databaseDynamicClass = JDBCProfileStore.databaseDynamicClass(profileName);
+ int databaseTimeout = JDBCProfileStore.timeout(profileName);
+
+ InfoTable infoTable = null;
+ boolean tableTwo = false;
+
+ for (int i = 0; i < args.length; i++)
+ {
+ if (args[i].equals("-table2"))
+ {
+ tableTwo = true;
+ }
+ }
+
+ if (!tableTwo)
+ {
+ infoTable = new JDBCInfoTableImpl01(databaseURL, databaseUser, databasePassword, databaseDynamicClass, databaseTimeout);
+ }
+ else
+ {
+ infoTable = new JDBCInfoTableImpl02(databaseURL, databaseUser, databasePassword, databaseDynamicClass, databaseTimeout);
+ }
+
+ boolean correct = true;
+
+ transactionManager = com.arjuna.ats.jta.TransactionManager.transactionManager();
+
+ transactionManager.begin();
+
+ for (int index = 0; index < 10; index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + index;
+
+ try
+ {
+ infoTable.insert(name, value);
+ }
+ catch (Exception e)
+ {
+ correct = false;
+ System.err.println("Error in insert : " + e);
+ e.printStackTrace(System.err);
+ }
+ }
+
+ transactionManager.commit();
+
+ transactionManager.begin();
+
+ try
+ {
+ infoTable.delete("Name_3");
+ }
+ catch (Exception e)
+ {
+ correct = false;
+ System.err.println("Error in delete : " + e);
+ e.printStackTrace(System.err);
+ }
+
+ transactionManager.rollback();
+
+ transactionManager.begin();
+
+ for (int index = 0; correct && (index < 10); index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + index;
+ String newValue = "";
+
+ try
+ {
+ newValue = infoTable.select(name);
+ }
+ catch (Exception e)
+ {
+ }
+
+ correct = correct && value.equals(newValue);
+ }
+
+ transactionManager.commit();
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client04.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ finally
+ {
+// code change to stop database locking
+ try
+ {
+ if (transactionManager.getTransaction() != null)
+ {
+ transactionManager.rollback();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Finally has caught exception");
+ }
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCLocals01/Client05.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCLocals01/Client05.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCLocals01/Client05.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,187 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 2004,
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: Client05.java,v 1.2 2004/03/29 10:34:39 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.JDBCLocals01;
+
+import org.jboss.jbossts.qa.JDBCLocals01Impls.InfoTable;
+import org.jboss.jbossts.qa.JDBCLocals01Impls.JDBCInfoTableImpl01;
+import org.jboss.jbossts.qa.JDBCLocals01Impls.JDBCInfoTableImpl02;
+import org.jboss.jbossts.qa.Utils.JDBCProfileStore;
+
+public class Client05
+{
+ public static void main(String[] args)
+ {
+ javax.transaction.TransactionManager transactionManager = null;
+
+ try
+ {
+ String profileName = args[args.length - 1];
+
+ int numberOfDrivers = JDBCProfileStore.numberOfDrivers(profileName);
+ for (int index = 0; index < numberOfDrivers; index++)
+ {
+ String driver = JDBCProfileStore.driver(profileName, index);
+
+ Class.forName(driver);
+ }
+
+ String databaseURL = JDBCProfileStore.databaseURL(profileName);
+ String databaseUser =
+ JDBCProfileStore.databaseUser(profileName);
+ String databasePassword = JDBCProfileStore.databasePassword(profileName);
+ String databaseDynamicClass = JDBCProfileStore.databaseDynamicClass(profileName);
+ int databaseTimeout = JDBCProfileStore.timeout(profileName);
+
+ InfoTable infoTable = null;
+ boolean tableTwo = false;
+
+ for (int i = 0; i < args.length; i++)
+ {
+ if (args[i].equals("-table2"))
+ {
+ tableTwo = true;
+ }
+ }
+
+ if (!tableTwo)
+ {
+ infoTable = new JDBCInfoTableImpl01(databaseURL, databaseUser, databasePassword, databaseDynamicClass, databaseTimeout);
+ }
+ else
+ {
+ infoTable = new JDBCInfoTableImpl02(databaseURL, databaseUser, databasePassword, databaseDynamicClass, databaseTimeout);
+ }
+
+ boolean correct = true;
+
+ transactionManager = com.arjuna.ats.jta.TransactionManager.transactionManager();
+
+ transactionManager.begin();
+
+ for (int index = 0; index < 10; index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + index;
+
+ try
+ {
+ infoTable.insert(name, value);
+ }
+ catch (Exception e)
+ {
+ correct = false;
+ System.err.println("Error in insert : " + e);
+ e.printStackTrace(System.err);
+ }
+ }
+
+ transactionManager.commit();
+
+ transactionManager.begin();
+
+ try
+ {
+ infoTable.update("Name_4", "Value_6");
+ }
+ catch (Exception e)
+ {
+ correct = false;
+ System.err.println("Error in update : " + e);
+ e.printStackTrace(System.err);
+ }
+
+ transactionManager.commit();
+
+ try
+ {
+ infoTable.update("Name_4", "Value_4");
+ }
+ catch (Exception e)
+ {
+ correct = false;
+ System.err.println("Error in update : " + e);
+ e.printStackTrace(System.err);
+ }
+
+ transactionManager.begin();
+
+ for (int index = 0; correct && (index < 10); index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + index;
+ String newValue = "";
+
+ try
+ {
+ newValue = infoTable.select(name);
+ }
+ catch (Exception e)
+ {
+ }
+
+ correct = correct && value.equals(newValue);
+ }
+
+ transactionManager.commit();
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client05.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ finally
+ {
+// code change to stop database locking
+ try
+ {
+ if (transactionManager.getTransaction() != null)
+ {
+ transactionManager.rollback();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Finally has caught exception");
+ }
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCLocals01/Client06.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCLocals01/Client06.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCLocals01/Client06.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,178 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 2004,
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: Client06.java,v 1.2 2004/03/29 10:34:39 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.JDBCLocals01;
+
+import org.jboss.jbossts.qa.JDBCLocals01Impls.InfoTable;
+import org.jboss.jbossts.qa.JDBCLocals01Impls.JDBCInfoTableImpl01;
+import org.jboss.jbossts.qa.JDBCLocals01Impls.JDBCInfoTableImpl02;
+import org.jboss.jbossts.qa.Utils.JDBCProfileStore;
+
+public class Client06
+{
+ public static void main(String[] args)
+ {
+ javax.transaction.TransactionManager transactionManager = null;
+
+ try
+ {
+ String profileName = args[args.length - 1];
+
+ int numberOfDrivers = JDBCProfileStore.numberOfDrivers(profileName);
+ for (int index = 0; index < numberOfDrivers; index++)
+ {
+ String driver = JDBCProfileStore.driver(profileName, index);
+
+ Class.forName(driver);
+ }
+
+ String databaseURL = JDBCProfileStore.databaseURL(profileName);
+ String databaseUser =
+ JDBCProfileStore.databaseUser(profileName);
+ String databasePassword = JDBCProfileStore.databasePassword(profileName);
+ String databaseDynamicClass = JDBCProfileStore.databaseDynamicClass(profileName);
+ int databaseTimeout = JDBCProfileStore.timeout(profileName);
+
+ InfoTable infoTable = null;
+ boolean tableTwo = false;
+
+ for (int i = 0; i < args.length; i++)
+ {
+ if (args[i].equals("-table2"))
+ {
+ tableTwo = true;
+ }
+ }
+
+ if (!tableTwo)
+ {
+ infoTable = new JDBCInfoTableImpl01(databaseURL, databaseUser, databasePassword, databaseDynamicClass, databaseTimeout);
+ }
+ else
+ {
+ infoTable = new JDBCInfoTableImpl02(databaseURL, databaseUser, databasePassword, databaseDynamicClass, databaseTimeout);
+ }
+
+ boolean correct = true;
+
+ transactionManager = com.arjuna.ats.jta.TransactionManager.transactionManager();
+
+ transactionManager.begin();
+
+ for (int index = 0; index < 10; index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + index;
+
+ try
+ {
+ infoTable.insert(name, value);
+ }
+ catch (Exception e)
+ {
+ correct = false;
+ System.err.println("Error in insert : " + e);
+ e.printStackTrace(System.err);
+ }
+ }
+
+ transactionManager.commit();
+
+ infoTable.update("Name_4", "Value_6");
+
+ transactionManager.begin();
+
+ try
+ {
+ infoTable.update("Name_4", "Value_4");
+ }
+ catch (Exception e)
+ {
+ correct = false;
+ System.err.println("Error in update : " + e);
+ e.printStackTrace(System.err);
+ }
+
+ transactionManager.commit();
+
+ transactionManager.begin();
+
+ for (int index = 0; correct && (index < 10); index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + index;
+ String newValue = "";
+
+ try
+ {
+ newValue = infoTable.select(name);
+ }
+ catch (Exception e)
+ {
+ }
+
+ correct = correct && value.equals(newValue);
+ }
+
+ transactionManager.commit();
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client06.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ finally
+ {
+// code change to stop database locking
+ try
+ {
+ if (transactionManager.getTransaction() != null)
+ {
+ transactionManager.rollback();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Finally has caught exception");
+ }
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCLocals01Cleanups/Cleanup01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCLocals01Cleanups/Cleanup01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCLocals01Cleanups/Cleanup01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,97 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 2004,
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: Cleanup01.java,v 1.2 2004/03/29 10:50:45 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.JDBCLocals01Cleanups;
+
+import org.jboss.jbossts.qa.Utils.JDBCProfileStore;
+
+import java.sql.Connection;
+import java.sql.DriverManager;
+import java.sql.Statement;
+import java.util.Properties;
+
+public class Cleanup01
+{
+ public static void main(String[] args)
+ {
+ boolean success = false;
+
+ try
+ {
+ String profileName = args[args.length - 1];
+
+ int numberOfDrivers = JDBCProfileStore.numberOfDrivers(profileName);
+ for (int index = 0; index < numberOfDrivers; index++)
+ {
+ String driver = JDBCProfileStore.driver(profileName, index);
+
+ Class.forName(driver);
+ }
+
+ String databaseURL = JDBCProfileStore.databaseURL(profileName);
+ String databaseUser = JDBCProfileStore.databaseUser(profileName);
+ String databasePassword = JDBCProfileStore.databasePassword(profileName);
+ String databaseDynamicClass = JDBCProfileStore.databaseDynamicClass(profileName);
+
+ Connection connection;
+ if (databaseDynamicClass != null)
+ {
+ Properties databaseProperties = new Properties();
+
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.userName, databaseUser);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.password, databasePassword);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.dynamicClass, databaseDynamicClass);
+
+ connection = DriverManager.getConnection(databaseURL, databaseProperties);
+ }
+ else
+ {
+ connection = DriverManager.getConnection(databaseURL, databaseUser, databasePassword);
+ }
+
+ Statement statement = connection.createStatement();
+
+ statement.executeUpdate("DROP TABLE " + databaseUser + "_InfoTable");
+
+ statement.close();
+ connection.close();
+
+ success = true;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Cleanup01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ System.out.println(success ? "Passed" : "Failed");
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCLocals01Impls/InfoTable.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCLocals01Impls/InfoTable.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCLocals01Impls/InfoTable.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,44 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 2004
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: InfoTable.java,v 1.1 2004/03/22 13:51:11 nmcl Exp $
+//
+
+package org.jboss.jbossts.qa.JDBCLocals01Impls;
+
+public interface InfoTable
+{
+ public void insert(String name, String value) throws Exception;
+
+ public void update(String name, String value) throws Exception;
+
+ public String select(String name) throws Exception;
+
+ public void delete(String name) throws Exception;
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCLocals01Impls/InvocationException.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCLocals01Impls/InvocationException.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCLocals01Impls/InvocationException.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,48 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 2004
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: InvocationException.java,v 1.1 2004/03/22 13:51:12 nmcl Exp $
+//
+
+package org.jboss.jbossts.qa.JDBCLocals01Impls;
+
+public class InvocationException extends Exception
+{
+
+ public InvocationException()
+ {
+ super();
+ }
+
+ public InvocationException(String s)
+ {
+ super(s);
+ }
+
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCLocals01Impls/JDBCInfoTableImpl01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCLocals01Impls/JDBCInfoTableImpl01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCLocals01Impls/JDBCInfoTableImpl01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,220 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 2004,
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: JDBCInfoTableImpl01.java,v 1.1 2004/03/22 13:51:12 nmcl Exp $
+//
+
+package org.jboss.jbossts.qa.JDBCLocals01Impls;
+
+import java.sql.*;
+import java.util.Properties;
+
+public class JDBCInfoTableImpl01 implements InfoTable
+{
+ public JDBCInfoTableImpl01(String databaseURL, String databaseUser, String databasePassword, String databaseDynamicClass, int timeout)
+ throws InvocationException
+ {
+//set up variable for use in sql statements
+ _dbUser = databaseUser;
+ _databaseTimeout = timeout;
+ try
+ {
+ if (databaseDynamicClass != null)
+ {
+ Properties databaseProperties = new Properties();
+
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.userName, databaseUser);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.password, databasePassword);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.dynamicClass, databaseDynamicClass);
+
+ _connection = DriverManager.getConnection(databaseURL, databaseProperties);
+ }
+ else
+ {
+ _connection = DriverManager.getConnection(databaseURL, databaseUser, databasePassword);
+ }
+
+ DatabaseMetaData dbmd = _connection.getMetaData();
+ if (dbmd.getDatabaseProductName().startsWith("Microsoft"))
+ {
+ _useTimeout = true;
+ }
+
+ _transactionManager = com.arjuna.ats.jta.TransactionManager.transactionManager();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCInfoTableImpl01.JDBCInfoTableImpl01: " + exception);
+ exception.printStackTrace(System.err);
+ throw new InvocationException();
+ }
+ }
+
+ public void finalize()
+ throws Throwable
+ {
+ try
+ {
+ if (_connection != null)
+ {
+ _connection.close();
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCInfoTableImpl01.finalize: " + exception);
+ exception.printStackTrace(System.err);
+ throw exception;
+ }
+ }
+
+ public void insert(String name, String value)
+ throws InvocationException
+ {
+ try
+ {
+ System.err.println("01------------------ doing insert (" + name + "," + value + ") -----------------------------");
+ System.err.println("Current Status = " + _transactionManager.getStatus());
+ Statement statement = _connection.createStatement();
+ if (_useTimeout)
+ {
+ statement.setQueryTimeout(_databaseTimeout);
+ }
+
+ System.err.println("INSERT INTO " + _dbUser + "_InfoTable VALUES(\'" + name + "\', \'" + value + "\')");
+ statement.executeUpdate("INSERT INTO " + _dbUser + "_InfoTable VALUES(\'" + name + "\', \'" + value + "\')");
+
+ statement.close();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCInfoTableImpl01.insert: " + exception);
+ exception.printStackTrace(System.err);
+ throw new InvocationException();
+ }
+ }
+
+ public void update(String name, String value)
+ throws InvocationException
+ {
+ try
+ {
+ System.err.println("01------------------ doing update (" + name + "," + value + ") -----------------------------");
+ System.err.println("Current Status = " + _transactionManager.getStatus());
+ Statement statement = _connection.createStatement();
+ if (_useTimeout)
+ {
+ statement.setQueryTimeout(_databaseTimeout);
+ }
+
+ System.err.println("UPDATE " + _dbUser + "_InfoTable SET Value = \'" + value + "\' WHERE Name = \'" + name + "\'");
+ statement.executeUpdate("UPDATE " + _dbUser + "_InfoTable SET Value = \'" + value + "\' WHERE Name = \'" + name + "\'");
+
+ statement.close();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCInfoTableImpl01.update: " + exception);
+ exception.printStackTrace(System.err);
+ throw new InvocationException();
+ }
+ }
+
+ public String select(String name)
+ throws InvocationException
+ {
+ String value = "";
+
+ try
+ {
+ System.err.println("01------------------ doing select (" + name + ") -----------------------------");
+ System.err.println("Current Status = " + _transactionManager.getStatus());
+ Statement statement = _connection.createStatement();
+ if (_useTimeout)
+ {
+ statement.setQueryTimeout(_databaseTimeout);
+ }
+
+ System.err.println("SELECT Value FROM " + _dbUser + "_InfoTable WHERE Name = \'" + name + "\'");
+ ResultSet resultSet = statement.executeQuery("SELECT Value FROM " + _dbUser + "_InfoTable WHERE Name = \'" + name + "\'");
+ if (!resultSet.next())
+ {
+ throw new Exception("Result set is empty - expected a row");
+ }
+ value = resultSet.getString("Value");
+ if (resultSet.next())
+ {
+ throw new Exception("Result set is not empty - didn't expect a row");
+ }
+
+ resultSet.close();
+ statement.close();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCInfoTableImpl01.select: " + exception);
+ exception.printStackTrace(System.err);
+ throw new InvocationException();
+ }
+
+ return value;
+ }
+
+ public void delete(String name)
+ throws InvocationException
+ {
+ try
+ {
+ System.err.println("01------------------ doing delete (" + name + ") -----------------------------");
+ System.err.println("Current Status = " + _transactionManager.getStatus());
+ Statement statement = _connection.createStatement();
+ if (_useTimeout)
+ {
+ statement.setQueryTimeout(_databaseTimeout);
+ }
+
+ System.err.println("DELETE FROM " + _dbUser + "_InfoTable WHERE Name = \'" + name + "\'");
+ statement.executeUpdate("DELETE FROM " + _dbUser + "_InfoTable WHERE Name = \'" + name + "\'");
+
+ statement.close();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCInfoTableImpl01.delete: " + exception);
+ exception.printStackTrace(System.err);
+ throw new InvocationException();
+ }
+ }
+
+ private Connection _connection;
+ private String _dbUser;
+ private int _databaseTimeout;
+ private boolean _useTimeout = false;
+ private javax.transaction.TransactionManager _transactionManager;
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCLocals01Impls/JDBCInfoTableImpl02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCLocals01Impls/JDBCInfoTableImpl02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCLocals01Impls/JDBCInfoTableImpl02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,263 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 2004,
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: JDBCInfoTableImpl02.java,v 1.1 2004/03/22 13:51:12 nmcl Exp $
+//
+
+package org.jboss.jbossts.qa.JDBCLocals01Impls;
+
+import java.sql.*;
+import java.util.Properties;
+
+public class JDBCInfoTableImpl02 implements InfoTable
+{
+ public JDBCInfoTableImpl02(String databaseURL, String databaseUser, String databasePassword, String databaseDynamicClass, int timeout)
+ throws InvocationException
+ {
+ _databaseUser = databaseUser;
+ try
+ {
+ if (databaseDynamicClass != null)
+ {
+ _databaseURL = databaseURL;
+
+ _databaseProperties = new Properties();
+ _databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.userName, databaseUser);
+ _databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.password, databasePassword);
+ _databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.dynamicClass, databaseDynamicClass);
+ }
+ else
+ {
+ _databaseURL = databaseURL;
+ _databaseUser = databaseUser;
+ _databasePassword = databasePassword;
+ _databaseProperties = null;
+ }
+ _databaseTimeout = timeout;
+
+ //create first connection to get metadata
+ Connection connection;
+ if (_databaseProperties != null)
+ {
+ connection = DriverManager.getConnection(_databaseURL, _databaseProperties);
+ }
+ else
+ {
+ connection = DriverManager.getConnection(_databaseURL, _databaseUser, _databasePassword);
+ }
+
+ DatabaseMetaData dbmd = connection.getMetaData();
+ if (dbmd.getDatabaseProductName().startsWith("Microsoft"))
+ {
+ _useTimeout = true;
+ }
+
+ connection.close();
+
+ _transactionManager = com.arjuna.ats.jta.TransactionManager.transactionManager();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCInfoTableImpl02.JDBCInfoTableImpl02: " + exception);
+ exception.printStackTrace(System.err);
+ throw new InvocationException();
+ }
+ }
+
+ public void insert(String name, String value)
+ throws InvocationException
+ {
+ try
+ {
+ System.err.println("02------------------ doing insert (" + name + "," + value + ") -----------------------------");
+ System.err.println("Current Status = " + _transactionManager.getStatus());
+ Connection connection;
+ if (_databaseProperties != null)
+ {
+ connection = DriverManager.getConnection(_databaseURL, _databaseProperties);
+ }
+ else
+ {
+ connection = DriverManager.getConnection(_databaseURL, _databaseUser, _databasePassword);
+ }
+
+ Statement statement = connection.createStatement();
+ if (_useTimeout)
+ {
+ statement.setQueryTimeout(_databaseTimeout);
+ }
+
+ System.err.println("INSERT INTO " + _databaseUser + "_InfoTable VALUES(\'" + name + "\', \'" + value + "\')");
+ statement.executeUpdate("INSERT INTO " + _databaseUser + "_InfoTable VALUES(\'" + name + "\', \'" + value + "\')");
+
+ statement.close();
+ connection.close();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCInfoTableImpl02.insert: " + exception);
+ exception.printStackTrace(System.err);
+ throw new InvocationException();
+ }
+ }
+
+ public void update(String name, String value)
+ throws InvocationException
+ {
+ try
+ {
+ System.err.println("02------------------ doing update (" + name + "," + value + ") -----------------------------");
+ System.err.println("Current Status = " + _transactionManager.getStatus());
+ Connection connection;
+ if (_databaseProperties != null)
+ {
+ connection = DriverManager.getConnection(_databaseURL, _databaseProperties);
+ }
+ else
+ {
+ connection = DriverManager.getConnection(_databaseURL, _databaseUser, _databasePassword);
+ }
+
+ Statement statement = connection.createStatement();
+ if (_useTimeout)
+ {
+ statement.setQueryTimeout(_databaseTimeout);
+ }
+
+ System.err.println("UPDATE " + _databaseUser + "_InfoTable SET Value = \'" + value + "\' WHERE Name = \'" + name + "\'");
+ statement.executeUpdate("UPDATE " + _databaseUser + "_InfoTable SET Value = \'" + value + "\' WHERE Name = \'" + name + "\'");
+
+ statement.close();
+ connection.close();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCInfoTableImpl02.update: " + exception);
+ exception.printStackTrace(System.err);
+ throw new InvocationException();
+ }
+ }
+
+ public String select(String name)
+ throws InvocationException
+ {
+ String value = "";
+
+ try
+ {
+ System.err.println("02------------------ doing select (" + name + ") -----------------------------");
+ System.err.println("Current Status = " + _transactionManager.getStatus());
+ Connection connection;
+ if (_databaseProperties != null)
+ {
+ connection = DriverManager.getConnection(_databaseURL, _databaseProperties);
+ }
+ else
+ {
+ connection = DriverManager.getConnection(_databaseURL, _databaseUser, _databasePassword);
+ }
+
+ Statement statement = connection.createStatement();
+ if (_useTimeout)
+ {
+ statement.setQueryTimeout(_databaseTimeout);
+ }
+
+ System.err.println("SELECT Value FROM " + _databaseUser + "_InfoTable WHERE Name = \'" + name + "\'");
+ ResultSet resultSet = statement.executeQuery("SELECT Value FROM " + _databaseUser + "_InfoTable WHERE Name = \'" + name + "\'");
+
+ if (!resultSet.next())
+ {
+ throw new Exception("Result set is empty - expected a row");
+ }
+ value = resultSet.getString("Value");
+ if (resultSet.next())
+ {
+ throw new Exception("Result set is not empty - didn't expect a row");
+ }
+ resultSet.close();
+
+ statement.close();
+ connection.close();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCInfoTableImpl02.select: " + exception);
+ exception.printStackTrace(System.err);
+ throw new InvocationException();
+ }
+
+ return value;
+ }
+
+ public void delete(String name)
+ throws InvocationException
+ {
+ try
+ {
+ System.err.println("02------------------ doing delete (" + name + ") -----------------------------");
+ System.err.println("Current Status = " + _transactionManager.getStatus());
+ Connection connection;
+ if (_databaseProperties != null)
+ {
+ connection = DriverManager.getConnection(_databaseURL, _databaseProperties);
+ }
+ else
+ {
+ connection = DriverManager.getConnection(_databaseURL, _databaseUser, _databasePassword);
+ }
+
+ Statement statement = connection.createStatement();
+ if (_useTimeout)
+ {
+ statement.setQueryTimeout(_databaseTimeout);
+ }
+
+ System.err.println("DELETE FROM " + _databaseUser + "_InfoTable WHERE Name = \'" + name + "\'");
+ statement.executeUpdate("DELETE FROM " + _databaseUser + "_InfoTable WHERE Name = \'" + name + "\'");
+
+ statement.close();
+ connection.close();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCInfoTableImpl02.delete: " + exception);
+ exception.printStackTrace(System.err);
+ throw new InvocationException();
+ }
+ }
+
+ private String _databaseURL;
+ private String _databaseUser;
+ private String _databasePassword;
+ private int _databaseTimeout;
+ private Properties _databaseProperties;
+ private boolean _useTimeout = false;
+ private javax.transaction.TransactionManager _transactionManager;
+
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCLocals01Setups/Setup01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCLocals01Setups/Setup01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCLocals01Setups/Setup01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,115 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 2004,
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: Setup01.java,v 1.3 2004/03/29 12:37:19 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.JDBCLocals01Setups;
+
+import org.jboss.jbossts.qa.Utils.JDBCProfileStore;
+
+import java.sql.Connection;
+import java.sql.DriverManager;
+import java.sql.Statement;
+import java.sql.SQLException;
+import java.util.Properties;
+
+public class Setup01
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ String profileName = args[args.length - 1];
+
+ int numberOfDrivers = JDBCProfileStore.numberOfDrivers(profileName);
+ for (int index = 0; index < numberOfDrivers; index++)
+ {
+ String driver = JDBCProfileStore.driver(profileName, index);
+
+ Class.forName(driver);
+ }
+
+ String databaseURL = JDBCProfileStore.databaseURL(profileName);
+ String databaseUser = JDBCProfileStore.databaseUser(profileName);
+ String databasePassword = JDBCProfileStore.databasePassword(profileName);
+ String databaseDynamicClass = JDBCProfileStore.databaseDynamicClass(profileName);
+
+ Connection connection;
+ if (databaseDynamicClass != null)
+ {
+ Properties databaseProperties = new Properties();
+
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.userName, databaseUser);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.password, databasePassword);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.dynamicClass, databaseDynamicClass);
+
+ connection = DriverManager.getConnection(databaseURL, databaseProperties);
+ }
+ else
+ {
+ connection = DriverManager.getConnection(databaseURL, databaseUser, databasePassword);
+ }
+
+ Statement statement = connection.createStatement();
+
+ try
+ {
+ statement.executeUpdate("DROP TABLE " + databaseUser + "_InfoTable");
+ }
+ catch (java.sql.SQLException s)
+ {
+ if(!(s.getSQLState().startsWith("42") // old ms sql 2000 drivers
+ || s.getSQLState().equals("S0005") // ms sql 2005 drivers
+ || s.getSQLState().equals("ZZZZZ"))) // sybase jConnect drivers
+ {
+ System.err.println("Setup01.main: " + s);
+ System.err.println("SQL state is: <" + s.getSQLState() + ">");
+ }
+ }
+
+ statement.executeUpdate("CREATE TABLE " + databaseUser + "_InfoTable (Name VARCHAR(64), Value VARCHAR(64))");
+
+ // Create an Index for the table just created. Microsoft SQL requires an index for Row Locking.
+ statement.executeUpdate("CREATE UNIQUE INDEX " + databaseUser + "_IT_Ind " +
+ "ON " + databaseUser + "_InfoTable (Name) ");
+
+
+ statement.close();
+ connection.close();
+
+ System.out.println("Passed");
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Setup01.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCLocals01Setups/Setup02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCLocals01Setups/Setup02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCLocals01Setups/Setup02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,121 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 2004,
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: Setup02.java,v 1.2 2004/03/29 11:08:41 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.JDBCLocals01Setups;
+
+import org.jboss.jbossts.qa.Utils.JDBCProfileStore;
+
+import java.sql.Connection;
+import java.sql.DriverManager;
+import java.sql.Statement;
+import java.util.Properties;
+
+public class Setup02
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ String profileName = args[args.length - 1];
+
+ int numberOfDrivers = JDBCProfileStore.numberOfDrivers(profileName);
+ for (int index = 0; index < numberOfDrivers; index++)
+ {
+ String driver = JDBCProfileStore.driver(profileName, index);
+
+ Class.forName(driver);
+ }
+
+ String databaseURL = JDBCProfileStore.databaseURL(profileName);
+ String databaseUser = JDBCProfileStore.databaseUser(profileName);
+ String databasePassword = JDBCProfileStore.databasePassword(profileName);
+ String databaseDynamicClass = JDBCProfileStore.databaseDynamicClass(profileName);
+
+ Connection connection;
+ if (databaseDynamicClass != null)
+ {
+ Properties databaseProperties = new Properties();
+
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.userName, databaseUser);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.password, databasePassword);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.dynamicClass, databaseDynamicClass);
+
+ connection = DriverManager.getConnection(databaseURL, databaseProperties);
+ }
+ else
+ {
+ connection = DriverManager.getConnection(databaseURL, databaseUser, databasePassword);
+ }
+
+ Statement statement = connection.createStatement();
+
+ try
+ {
+ statement.executeUpdate("DROP TABLE " + databaseUser + "_InfoTable");
+ }
+ catch (java.sql.SQLException s)
+ {
+ if(!(s.getSQLState().startsWith("42") // old ms sql 2000 drivers
+ || s.getSQLState().equals("S0005") // ms sql 2005 drivers
+ || s.getSQLState().equals("ZZZZZ"))) // sybase jConnect drivers
+ {
+ System.err.println("Setup01.main: " + s);
+ System.err.println("SQL state is: <" + s.getSQLState() + ">");
+ }
+ }
+
+ statement.executeUpdate("CREATE TABLE " + databaseUser + "_InfoTable (Name VARCHAR(64), Value VARCHAR(64))");
+
+ // Create an Index for the table just created. Microsoft SQL requires an index for Row Locking.
+ statement.executeUpdate("CREATE UNIQUE INDEX " + databaseUser + "_IT_Ind " +
+ "ON " + databaseUser + "_InfoTable (Name) ");
+
+ for (int index = 0; index < 10; index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + index;
+
+ statement.executeUpdate("INSERT INTO " + databaseUser + "_InfoTable VALUES(\'" + name + "\', \'" + value + "\')");
+ }
+
+ statement.close();
+ connection.close();
+
+ System.out.println("Passed");
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Setup02.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Cleanups/Cleanup01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Cleanups/Cleanup01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Cleanups/Cleanup01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,164 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: Cleanup01.java,v 1.6 2004/04/21 08:30:52 jcoleman Exp $
+//
+
+package org.jboss.jbossts.qa.JDBCResources01Cleanups;
+
+import org.jboss.jbossts.qa.JDBCResources01.*;
+import org.jboss.jbossts.qa.Utils.JDBCProfileStore;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+
+import java.sql.Connection;
+import java.sql.DriverManager;
+import java.sql.Statement;
+import java.util.Properties;
+
+public class Cleanup01
+{
+ public static void main(String[] args)
+ {
+ boolean success = false;
+ boolean trying = true;
+ int tries = 0;
+
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String profileName = args[args.length - 1];
+
+ int numberOfDrivers = JDBCProfileStore.numberOfDrivers(profileName);
+ for (int index = 0; index < numberOfDrivers; index++)
+ {
+ String driver = JDBCProfileStore.driver(profileName, index);
+
+ Class.forName(driver);
+ }
+
+ String databaseURL = JDBCProfileStore.databaseURL(profileName);
+ String databaseUser = JDBCProfileStore.databaseUser(profileName);
+ String databasePassword = JDBCProfileStore.databasePassword(profileName);
+ String databaseDynamicClass = JDBCProfileStore.databaseDynamicClass(profileName);
+
+ Connection connection;
+ if (databaseDynamicClass != null)
+ {
+ Properties databaseProperties = new Properties();
+
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.userName, databaseUser);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.password, databasePassword);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.dynamicClass, databaseDynamicClass);
+
+ connection = DriverManager.getConnection(databaseURL, databaseProperties);
+ }
+ else
+ {
+ connection = DriverManager.getConnection(databaseURL, databaseUser, databasePassword);
+ }
+
+ while (trying)
+ {
+ try
+ {
+ Statement statement = connection.createStatement();
+
+ System.err.println("DROP TABLE " + databaseUser + "_InfoTable");
+ statement.executeUpdate("DROP TABLE " + databaseUser + "_InfoTable");
+
+ statement.close();
+ connection.close();
+
+ trying = false;
+ success = true;
+ /* Server might have crashed and table might still be busy. */
+ }
+ catch (java.sql.SQLException s)
+ {
+ System.err.println("Cleanup01.main: " + s);
+ System.err.println("SQL state is: " + s.getSQLState());
+ if (s.getSQLState() == "42000" || /* no table to drop */
+ s.getSQLState() == "42S02" || /* table not found */
+ s.getSQLState() == null) /* connection failed */
+ {
+ trying = false;
+ }
+ else
+ {
+ tries++;
+ if (tries >= 6)
+ {
+ trying = false;
+ System.err.println("Giving up.");
+ }
+ else
+ {
+ try
+ {
+ System.err.println("Sleeping " + (tries * 10) + " seconds and re-trying ...");
+ Thread.sleep(tries * 10000);
+ }
+ catch (Exception e)
+ {
+ System.err.println("Cleanup01.main: " + e);
+ trying = false;
+ }
+ }
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Cleanup01.main: " + e);
+ trying = false;
+ }
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Cleanup01.main: " + exception);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Cleanup01.main: " + exception);
+ exception.printStackTrace(System.err);
+
+ success = false;
+ }
+
+ System.out.println(success ? "Passed" : "Failed");
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,98 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.JDBCResources01Clients;
+
+import org.jboss.jbossts.qa.JDBCResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.StringHolder;
+
+public class Client01
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String infoTableIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ InfoTable infoTable = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR));
+
+ boolean correct = true;
+
+ for (int index = 0; index < 10; index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + index;
+
+ infoTable.insert(name, value);
+ }
+
+ for (int index = 0; correct && (index < 10); index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + index;
+ StringHolder valueHolder = new StringHolder();
+
+ infoTable.select(name, valueHolder);
+
+ correct = correct && value.equals(valueHolder.value);
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,140 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.JDBCResources01Clients;
+
+import org.jboss.jbossts.qa.JDBCResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.StringHolder;
+
+public class Client02
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String infoTableIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ InfoTable infoTable = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ for (int index = 0; index < 10; index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + index;
+
+ try
+ {
+ infoTable.insert(name, value);
+ }
+ catch (Exception e)
+ {
+ correct = false;
+ System.err.println("Error in insert : " + e);
+ e.printStackTrace(System.err);
+ }
+
+ }
+
+ OTS.current().commit(true);
+
+ OTS.current().begin();
+
+ for (int index = 0; correct && (index < 10); index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + index;
+ StringHolder valueHolder = new StringHolder();
+
+ try
+ {
+ infoTable.select(name, valueHolder);
+ }
+ catch (Exception e)
+ {
+ System.err.println("Error in select : " + e);
+ e.printStackTrace(System.err);
+ }
+ correct = correct && value.equals(valueHolder.value);
+ }
+
+ OTS.current().commit(true);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client02.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ finally
+ {
+// code change to stop database locking
+ try
+ {
+ if (OTS.current().get_control() != null)
+ {
+ OTS.current().rollback();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Finally has caught exception");
+ e.printStackTrace(System.err);
+ }
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client02.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client03.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client03.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client03.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,154 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.JDBCResources01Clients;
+
+import org.jboss.jbossts.qa.JDBCResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.StringHolder;
+
+public class Client03
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String infoTableIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ InfoTable infoTable = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ for (int index = 0; index < 10; index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + index;
+
+ try
+ {
+ infoTable.insert(name, value);
+ }
+ catch (Exception e)
+ {
+ correct = false;
+ System.err.println("Error in insert : " + e);
+ e.printStackTrace(System.err);
+ }
+ }
+
+ OTS.current().commit(true);
+
+ OTS.current().begin();
+
+ try
+ {
+ infoTable.update("Name_3", "Value_8");
+ }
+ catch (Exception e)
+ {
+ correct = false;
+ System.err.println("Error in update : " + e);
+ e.printStackTrace(System.err);
+ }
+
+ OTS.current().rollback();
+
+ OTS.current().begin();
+
+ for (int index = 0; correct && (index < 10); index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + index;
+ StringHolder valueHolder = new StringHolder();
+
+ try
+ {
+ infoTable.select(name, valueHolder);
+ }
+ catch (Exception e)
+ {
+ System.err.println("Error in select : " + e);
+ e.printStackTrace(System.err);
+ }
+ correct = correct && value.equals(valueHolder.value);
+ }
+
+ OTS.current().commit(true);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client03.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ finally
+ {
+// code change to stop database locking
+ try
+ {
+ if (OTS.current().get_control() != null)
+ {
+ OTS.current().rollback();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Finally has caught exception");
+ e.printStackTrace(System.err);
+ }
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client03.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client04.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client04.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client04.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,155 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.JDBCResources01Clients;
+
+import org.jboss.jbossts.qa.JDBCResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.StringHolder;
+
+public class Client04
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String infoTableIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ InfoTable infoTable = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ for (int index = 0; index < 10; index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + index;
+
+ try
+ {
+ infoTable.insert(name, value);
+ }
+ catch (Exception e)
+ {
+ correct = false;
+ System.err.println("Error in insert : " + e);
+ e.printStackTrace(System.err);
+ }
+ }
+
+ OTS.current().commit(true);
+
+ OTS.current().begin();
+
+ try
+ {
+ infoTable.delete("Name_3");
+ }
+ catch (Exception e)
+ {
+ correct = false;
+ System.err.println("Error in delete : " + e);
+ e.printStackTrace(System.err);
+ }
+
+ OTS.current().rollback();
+
+ OTS.current().begin();
+
+ for (int index = 0; correct && (index < 10); index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + index;
+ StringHolder valueHolder = new StringHolder();
+
+ try
+ {
+ infoTable.select(name, valueHolder);
+ }
+ catch (Exception e)
+ {
+ System.err.println("Error in select : " + e);
+ e.printStackTrace(System.err);
+ }
+ correct = correct && value.equals(valueHolder.value);
+ }
+
+ OTS.current().commit(true);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client04.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ finally
+ {
+// code change to stop database locking
+ try
+ {
+ if (OTS.current().get_control() != null)
+ {
+ OTS.current().rollback();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Finally has caught exception");
+ System.err.println("Finally has caught exception");
+ e.printStackTrace(System.err);
+ }
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client04.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client05.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client05.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client05.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,165 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.JDBCResources01Clients;
+
+import org.jboss.jbossts.qa.JDBCResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.StringHolder;
+
+public class Client05
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String infoTableIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ InfoTable infoTable = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ for (int index = 0; index < 10; index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + index;
+
+ try
+ {
+ infoTable.insert(name, value);
+ }
+ catch (Exception e)
+ {
+ correct = false;
+ System.err.println("Error in insert : " + e);
+ e.printStackTrace(System.err);
+ }
+ }
+
+ OTS.current().commit(true);
+
+ OTS.current().begin();
+
+ try
+ {
+ infoTable.update("Name_4", "Value_6");
+ }
+ catch (Exception e)
+ {
+ correct = false;
+ System.err.println("Error in update : " + e);
+ e.printStackTrace(System.err);
+ }
+
+ OTS.current().commit(true);
+
+ try
+ {
+ infoTable.update("Name_4", "Value_4");
+ }
+ catch (Exception e)
+ {
+ correct = false;
+ System.err.println("Error in update : " + e);
+ e.printStackTrace(System.err);
+ }
+
+ OTS.current().begin();
+
+ for (int index = 0; correct && (index < 10); index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + index;
+ StringHolder valueHolder = new StringHolder();
+
+ try
+ {
+ infoTable.select(name, valueHolder);
+ }
+ catch (Exception e)
+ {
+ System.err.println("Error in select : " + e);
+ e.printStackTrace(System.err);
+ }
+ correct = correct && value.equals(valueHolder.value);
+ }
+
+ OTS.current().commit(true);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client05.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ finally
+ {
+// code change to stop database locking
+ try
+ {
+ if (OTS.current().get_control() != null)
+ {
+ OTS.current().rollback();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Finally has caught exception");
+ e.printStackTrace(System.err);
+ }
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client05.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client06.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client06.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client06.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,156 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.JDBCResources01Clients;
+
+import org.jboss.jbossts.qa.JDBCResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.StringHolder;
+
+public class Client06
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String infoTableIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ InfoTable infoTable = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ for (int index = 0; index < 10; index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + index;
+
+ try
+ {
+ infoTable.insert(name, value);
+ }
+ catch (Exception e)
+ {
+ correct = false;
+ System.err.println("Error in insert : " + e);
+ e.printStackTrace(System.err);
+ }
+ }
+
+ OTS.current().commit(true);
+
+ infoTable.update("Name_4", "Value_6");
+
+ OTS.current().begin();
+
+ try
+ {
+ infoTable.update("Name_4", "Value_4");
+ }
+ catch (Exception e)
+ {
+ correct = false;
+ System.err.println("Error in update : " + e);
+ e.printStackTrace(System.err);
+ }
+
+ OTS.current().commit(true);
+
+ OTS.current().begin();
+
+ for (int index = 0; correct && (index < 10); index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + index;
+ StringHolder valueHolder = new StringHolder();
+
+ try
+ {
+ infoTable.select(name, valueHolder);
+ }
+ catch (Exception e)
+ {
+ System.err.println("Error in select : " + e);
+ e.printStackTrace(System.err);
+ }
+ correct = correct && value.equals(valueHolder.value);
+ }
+
+ OTS.current().commit(true);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client06.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ finally
+ {
+// code change to stop database locking
+ try
+ {
+ if (OTS.current().get_control() != null)
+ {
+ OTS.current().rollback();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Finally has caught exception");
+ e.printStackTrace(System.err);
+ }
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client06.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client07.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client07.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client07.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,115 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.JDBCResources01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client07.java,v 1.2 2003/06/26 11:44:05 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client07.java,v 1.2 2003/06/26 11:44:05 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.JDBCResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client07
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String infoTableIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ InfoTable infoTable1 = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR1));
+
+ String infoTableIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ InfoTable infoTable2 = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR2));
+
+ for (int index = 0; index < 10; index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + (9 - index);
+
+ if ((index % 2) == 0)
+ {
+ infoTable1.update(name, value);
+ }
+ else
+ {
+ infoTable2.update(name, value);
+ }
+ }
+
+ System.out.println("Passed");
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client07.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client07.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client08.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client08.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client08.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,128 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.JDBCResources01Clients;
+
+import org.jboss.jbossts.qa.JDBCResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client08
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String infoTableIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ InfoTable infoTable1 = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR1));
+
+ String infoTableIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ InfoTable infoTable2 = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR2));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ for (int index = 0; index < 10; index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + (9 - index);
+
+ try
+ {
+ if ((index % 2) == 0)
+ {
+ infoTable1.update(name, value);
+ }
+ else
+ {
+ infoTable2.update(name, value);
+ }
+ }
+ catch (Exception e)
+ {
+ correct = false;
+ System.err.println("Error in update : " + e);
+ e.printStackTrace(System.err);
+ }
+
+ }
+
+ OTS.current().commit(true);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client08.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ finally
+ {
+// code change to stop database locking
+ try
+ {
+ if (OTS.current().get_control() != null)
+ {
+ OTS.current().rollback();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Finally has caught exception");
+ e.printStackTrace(System.err);
+ }
+ }
+
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client08.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client09.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client09.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client09.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,126 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.JDBCResources01Clients;
+
+import org.jboss.jbossts.qa.JDBCResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client09
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String infoTableIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ InfoTable infoTable1 = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR1));
+
+ String infoTableIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ InfoTable infoTable2 = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR2));
+
+ boolean correct = true;
+
+ for (int index = 0; index < 10; index++)
+ {
+ OTS.current().begin();
+
+ String name = "Name_" + index;
+ String value = "Value_" + (9 - index);
+
+ try
+ {
+ if ((index % 2) == 0)
+ {
+ infoTable1.update(name, value);
+ }
+ else
+ {
+ infoTable2.update(name, value);
+ }
+ }
+ catch (Exception e)
+ {
+ correct = false;
+ System.err.println("Error in update : " + e);
+ e.printStackTrace(System.err);
+ }
+
+ OTS.current().commit(true);
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client09.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ finally
+ {
+// code change to stop database locking
+ try
+ {
+ if (OTS.current().get_control() != null)
+ {
+ OTS.current().rollback();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Finally has caught exception");
+ e.printStackTrace(System.err);
+ }
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client09.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client10.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client10.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client10.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,126 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.JDBCResources01Clients;
+
+import org.jboss.jbossts.qa.JDBCResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client10
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String infoTableIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ InfoTable infoTable1 = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR1));
+
+ String infoTableIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ InfoTable infoTable2 = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR2));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ for (int index = 0; index < 10; index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + (9 - index);
+
+ try
+ {
+ if ((index % 2) == 0)
+ {
+ infoTable1.update(name, value);
+ }
+ else
+ {
+ infoTable2.update(name, value);
+ }
+ }
+ catch (Exception e)
+ {
+ correct = false;
+ System.err.println("Error in update : " + e);
+ e.printStackTrace(System.err);
+ }
+ }
+
+ OTS.current().rollback();
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client10.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ finally
+ {
+// code change to stop database locking
+ try
+ {
+ if (OTS.current().get_control() != null)
+ {
+ OTS.current().rollback();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Finally has caught exception");
+ e.printStackTrace(System.err);
+ }
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client10.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client11.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client11.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client11.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,126 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.JDBCResources01Clients;
+
+import org.jboss.jbossts.qa.JDBCResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client11
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String infoTableIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ InfoTable infoTable1 = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR1));
+
+ String infoTableIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ InfoTable infoTable2 = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR2));
+
+ boolean correct = true;
+
+ for (int index = 0; index < 10; index++)
+ {
+ OTS.current().begin();
+
+ String name = "Name_" + index;
+ String value = "Value_" + (9 - index);
+
+ try
+ {
+ if ((index % 2) == 0)
+ {
+ infoTable1.update(name, value);
+ }
+ else
+ {
+ infoTable2.update(name, value);
+ }
+ }
+ catch (Exception e)
+ {
+ correct = false;
+ System.err.println("Error in update : " + e);
+ e.printStackTrace(System.err);
+ }
+
+ OTS.current().rollback();
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client11.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ finally
+ {
+// code change to stop database locking
+ try
+ {
+ if (OTS.current().get_control() != null)
+ {
+ OTS.current().rollback();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Finally has caught exception");
+ e.printStackTrace(System.err);
+ }
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client11.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client12.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client12.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client12.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,109 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.JDBCResources01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client12.java,v 1.2 2003/06/26 11:44:05 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client12.java,v 1.2 2003/06/26 11:44:05 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.JDBCResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client12
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String infoTableIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ InfoTable infoTable1 = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR1));
+
+ String infoTableIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ InfoTable infoTable2 = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR2));
+
+ for (int index = 0; index < 10; index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + (9 - index);
+
+ infoTable1.update(name, value);
+ infoTable2.update(name, value);
+ }
+
+ System.out.println("Passed");
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client12.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client12.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client13.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client13.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client13.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,120 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.JDBCResources01Clients;
+
+import org.jboss.jbossts.qa.JDBCResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client13
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String infoTableIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ InfoTable infoTable1 = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR1));
+
+ String infoTableIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ InfoTable infoTable2 = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR2));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ for (int index = 0; index < 10; index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + (9 - index);
+
+ try
+ {
+ infoTable1.update(name, value);
+ infoTable2.update(name, value);
+ }
+ catch (Exception e)
+ {
+ correct = false;
+ System.err.println("Error in update : " + e);
+ e.printStackTrace(System.err);
+ }
+ }
+
+ OTS.current().commit(true);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client13.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ finally
+ {
+// code change to stop database locking
+ try
+ {
+ if (OTS.current().get_control() != null)
+ {
+ OTS.current().rollback();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Finally has caught exception");
+ e.printStackTrace(System.err);
+ }
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client13.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client14.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client14.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client14.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,121 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.JDBCResources01Clients;
+
+import org.jboss.jbossts.qa.JDBCResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client14
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String infoTableIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ InfoTable infoTable1 = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR1));
+
+ String infoTableIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ InfoTable infoTable2 = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR2));
+
+ boolean correct = true;
+
+ for (int index = 0; index < 10; index++)
+ {
+ OTS.current().begin();
+
+ String name = "Name_" + index;
+ String value = "Value_" + (9 - index);
+
+ try
+ {
+ infoTable1.update(name, value);
+ infoTable2.update(name, value);
+ }
+ catch (Exception e)
+ {
+ correct = false;
+ System.err.println("Error in update : " + e);
+ e.printStackTrace(System.err);
+ }
+
+ OTS.current().commit(true);
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client14.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ finally
+ {
+// code change to stop database locking
+ try
+ {
+ if (OTS.current().get_control() != null)
+ {
+ OTS.current().rollback();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Finally has caught exception");
+ e.printStackTrace(System.err);
+ }
+ }
+
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client14.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client15.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client15.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client15.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,120 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.JDBCResources01Clients;
+
+import org.jboss.jbossts.qa.JDBCResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client15
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String infoTableIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ InfoTable infoTable1 = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR1));
+
+ String infoTableIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ InfoTable infoTable2 = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR2));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ for (int index = 0; index < 10; index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + (9 - index);
+
+ try
+ {
+ infoTable1.update(name, value);
+ infoTable2.update(name, value);
+ }
+ catch (Exception e)
+ {
+ correct = false;
+ System.err.println("Error in update : " + e);
+ e.printStackTrace(System.err);
+ }
+ }
+
+ OTS.current().rollback();
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client15.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ finally
+ {
+// code change to stop database locking
+ try
+ {
+ if (OTS.current().get_control() != null)
+ {
+ OTS.current().rollback();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Finally has caught exception");
+ e.printStackTrace(System.err);
+ }
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client15.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client16.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client16.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client16.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,120 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.JDBCResources01Clients;
+
+import org.jboss.jbossts.qa.JDBCResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client16
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String infoTableIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ InfoTable infoTable1 = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR1));
+
+ String infoTableIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ InfoTable infoTable2 = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR2));
+
+ boolean correct = true;
+
+ for (int index = 0; index < 10; index++)
+ {
+ OTS.current().begin();
+
+ String name = "Name_" + index;
+ String value = "Value_" + (9 - index);
+
+ try
+ {
+ infoTable1.update(name, value);
+ infoTable2.update(name, value);
+ }
+ catch (Exception e)
+ {
+ correct = false;
+ System.err.println("Error in update : " + e);
+ e.printStackTrace(System.err);
+ }
+
+ OTS.current().rollback();
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client16.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ finally
+ {
+// code change to stop database locking
+ try
+ {
+ if (OTS.current().get_control() != null)
+ {
+ OTS.current().rollback();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Finally has caught exception");
+ e.printStackTrace(System.err);
+ }
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client16.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client17.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client17.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Clients/Client17.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,345 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.JDBCResources01Clients;
+
+import org.jboss.jbossts.qa.JDBCResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client17
+{
+ public static void main(String[] args)
+ {
+ //set test value to true
+ boolean correct = true;
+ InfoTable infoTable1 = null;
+ InfoTable infoTable2 = null;
+ try
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ //create remote object 1 (one connection for all the test)
+ String infoTableIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ infoTable1 = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR1));
+
+ //create remote object 2 (one connection per call)
+ String infoTableIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ infoTable2 = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR2));
+ }
+ catch (Exception exception)
+ {
+ correct = false;
+ System.err.println("error in createing remote objects");
+ exception.printStackTrace(System.err);
+ }
+
+//-----------------------------------------------------------------------------------------------------------------
+
+ //first do insert without transaction on table 1
+ System.err.println("doing inserts on table 1 no-tx");
+ try
+ {
+ for (int index = 0; correct && index < 10; index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + index;
+
+ infoTable1.insert(name, value);
+ }
+ }
+ catch (Exception exception)
+ {
+ correct = false;
+ System.err.println("error in insert no-tx table 1");
+ exception.printStackTrace(System.err);
+ }
+
+ //now try the same on table 2
+ System.err.println("doing inserts on table 2 no-tx");
+ try
+ {
+ for (int index = 0; correct && index < 10; index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + index;
+
+ infoTable2.insert(name, value);
+ }
+ }
+ catch (Exception exception)
+ {
+ correct = false;
+ System.err.println("error in insert no tx");
+ exception.printStackTrace(System.err);
+ }
+
+//-----------------------------------------------------------------------------------------------------------------
+
+ //now try more inserts using a single transaction per call
+ System.err.println("doing inserts on table 1 single call per tx");
+ try
+ {
+ for (int index = 10; correct && index < 20; index++)
+ {
+ OTS.current().begin();
+ String name = "Name_" + index;
+ String value = "Value_" + index;
+
+ infoTable1.insert(name, value);
+ OTS.current().commit(true);
+ }
+ }
+ catch (Exception exception)
+ {
+ correct = false;
+ System.err.println("error in running single tx on table 1");
+ exception.printStackTrace(System.err);
+ }
+
+ System.err.println("doing inserts on table 2 single call per tx");
+ try
+ {
+
+ for (int index = 10; correct && index < 20; index++)
+ {
+ OTS.current().begin();
+ String name = "Name_" + index;
+ String value = "Value_" + index;
+
+ infoTable2.insert(name, value);
+ OTS.current().commit(true);
+ }
+
+ }
+ catch (Exception exception)
+ {
+ correct = false;
+ System.err.println("error in running single tx on table 2");
+ exception.printStackTrace(System.err);
+ }
+
+//-----------------------------------------------------------------------------------------------------------------
+
+ //now try more inserts using a single transaction across many jdbc calls
+ System.err.println("doing inserts on table 1 multi call per tx");
+ try
+ {
+ OTS.current().begin();
+ for (int index = 20; correct && index < 30; index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + index;
+
+ infoTable1.insert(name, value);
+ }
+ OTS.current().commit(true);
+ }
+ catch (Exception exception)
+ {
+ correct = false;
+ System.err.println("error in running single tx on table 1");
+ exception.printStackTrace(System.err);
+ }
+
+ System.err.println("doing inserts on table 1 multi call per tx");
+ try
+ {
+ OTS.current().begin();
+ for (int index = 20; correct && index < 30; index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + index;
+
+ infoTable2.insert(name, value);
+ }
+ OTS.current().commit(true);
+ }
+ catch (Exception exception)
+ {
+ correct = false;
+ System.err.println("error in running single tx on table 2");
+ exception.printStackTrace(System.err);
+ }
+
+//-----------------------------------------------------------------------------------------------------------------
+
+ //now try doing inserts on both tables during the transaction
+ System.err.println("Starting two phse tests");
+ try
+ {
+ for (int index = 30; correct && index < 40; index++)
+ {
+ OTS.current().begin();
+ String name = "Name_" + index;
+ String value = "Value_" + index;
+
+ infoTable1.insert(name, value);
+ infoTable2.insert(name, value);
+ OTS.current().commit(true);
+ }
+
+ }
+ catch (Exception exception)
+ {
+ correct = false;
+ System.err.println("error in running single tx per call on both tables");
+ exception.printStackTrace(System.err);
+ }
+
+ System.err.println("two phase test with a single transaction");
+ try
+ {
+ OTS.current().begin();
+ for (int index = 40; correct && index < 50; index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + index;
+
+ infoTable1.insert(name, value);
+ infoTable2.insert(name, value);
+ }
+ OTS.current().commit(true);
+
+ }
+ catch (Exception exception)
+ {
+ correct = false;
+ System.err.println("error in running single tx per call on both tables");
+ exception.printStackTrace(System.err);
+ }
+
+//-----------------------------------------------------------------------------------------------------------------
+
+/**
+ * We have done most of the test that we need to so lets reduce the size of the table
+ * and check that the transaction is being used by rollingback some of our work.
+ *
+ */
+ System.err.println("two phase delete");
+ try
+ {
+ OTS.current().begin();
+ for (int index = 10; correct && index < 50; index++)
+ {
+ String name = "Name_" + index;
+
+ infoTable1.delete(name);
+ infoTable2.delete(name);
+ }
+ //commit false to test if this makes a difference.
+ OTS.current().commit(false);
+ }
+ catch (Exception exception)
+ {
+ correct = false;
+ System.err.println("error in deleteing extra rows");
+ exception.printStackTrace(System.err);
+ }
+
+//-----------------------------------------------------------------------------------------------------------------
+
+ System.err.println("rollback tests");
+ try
+ {
+ for (int index = 0; correct && index < 10; index++)
+ {
+ OTS.current().begin();
+ String name = "Name_" + index;
+ String value = "Value_" + (9 - index);
+ try
+ {
+ infoTable1.update(name, value);
+ infoTable2.update(name, value);
+ }
+ catch (Exception e)
+ {
+ correct = false;
+ System.err.println("Error in update : " + e);
+ e.printStackTrace(System.err);
+ }
+ OTS.current().rollback();
+ }
+ }
+ catch (Exception exception)
+ {
+ correct = false;
+ System.err.println("error in deleteing extra rows");
+ exception.printStackTrace(System.err);
+ }
+ }
+ catch (Exception exception)
+ {
+ correct = false;
+ System.err.println("Client17.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ finally
+ {
+// code change to stop database locking
+ try
+ {
+ if (OTS.current().get_control() != null)
+ {
+ OTS.current().rollback();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Finally has caught exception");
+ e.printStackTrace(System.err);
+ }
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client17.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Impls/JDBCInfoTableImpl01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Impls/JDBCInfoTableImpl01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Impls/JDBCInfoTableImpl01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,302 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: JDBCInfoTableImpl01.java,v 1.8 2004/04/21 08:30:53 jcoleman Exp $
+//
+
+package org.jboss.jbossts.qa.JDBCResources01Impls;
+
+import org.jboss.jbossts.qa.JDBCResources01.*;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.omg.CORBA.StringHolder;
+
+import java.sql.*;
+import java.util.Properties;
+
+public class JDBCInfoTableImpl01 implements InfoTableOperations
+{
+ public JDBCInfoTableImpl01(String databaseURL, String databaseUser, String databasePassword, String databaseDynamicClass, int timeout)
+ throws InvocationException
+ {
+//set up variable for use in sql statements
+ _dbUser = databaseUser;
+ _databaseTimeout = timeout;
+
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("Setting up connection");
+ }
+ try
+ {
+ if (databaseDynamicClass != null)
+ {
+ Properties databaseProperties = new Properties();
+
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.userName, databaseUser);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.password, databasePassword);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.dynamicClass, databaseDynamicClass);
+
+ _connection = DriverManager.getConnection(databaseURL, databaseProperties);
+ }
+ else
+ {
+ _connection = DriverManager.getConnection(databaseURL, databaseUser, databasePassword);
+ }
+
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("connection = " + _connection);
+ System.err.println("Database URL = " + databaseURL);
+ }
+
+ Runtime.getRuntime().addShutdownHook(new JDBC01ShutdownThread());
+ DatabaseMetaData dbmd = _connection.getMetaData();
+ if (dbmd.getDatabaseProductName().startsWith("Microsoft"))
+ {
+ _useTimeout = true;
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCInfoTableImpl01.JDBCInfoTableImpl01: " + exception);
+ exception.printStackTrace(System.err);
+ throw new InvocationException();
+ }
+ }
+
+ public void insert(String name, String value)
+ throws InvocationException
+ {
+ Statement statement = null;
+
+ try
+ {
+ System.err.println("01------------------ doing insert (" + name + "," + value + ") -----------------------------");
+ System.err.println("Current Status = " + OTS.current().get_status().value());
+ statement = _connection.createStatement();
+ if (_useTimeout)
+ {
+ statement.setQueryTimeout(_databaseTimeout);
+ }
+ System.err.println("INSERT INTO " + _dbUser + "_InfoTable VALUES(\'" + name + "\', \'" + value + "\')");
+ statement.executeUpdate("INSERT INTO " + _dbUser + "_InfoTable VALUES(\'" + name + "\', \'" + value + "\')");
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCInfoTableImpl01.insert: " + exception);
+ exception.printStackTrace(System.err);
+ throw new InvocationException();
+ }
+ finally
+ {
+ try
+ {
+ if (statement != null)
+ {
+ statement.close();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ }
+ }
+
+ public void update(String name, String value)
+ throws InvocationException
+ {
+ Statement statement = null;
+
+ try
+ {
+ System.err.println("01------------------ doing update (" + name + "," + value + ") -----------------------------");
+ System.err.println("Current Status = " + OTS.current().get_status().value());
+ statement = _connection.createStatement();
+ if (_useTimeout)
+ {
+ statement.setQueryTimeout(_databaseTimeout);
+ }
+ System.err.println("UPDATE " + _dbUser + "_InfoTable SET Value = \'" + value + "\' WHERE Name = \'" + name + "\'");
+ statement.executeUpdate("UPDATE " + _dbUser + "_InfoTable SET Value = \'" + value + "\' WHERE Name = \'" + name + "\'");
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCInfoTableImpl01.update: " + exception);
+ exception.printStackTrace(System.err);
+ throw new InvocationException();
+ }
+ finally
+ {
+ try
+ {
+ if (statement != null)
+ {
+ statement.close();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ }
+ }
+
+ public void select(String name, StringHolder value)
+ throws InvocationException
+ {
+ Statement statement = null;
+ ResultSet resultSet = null;
+
+ try
+ {
+ System.err.println("01------------------ doing select (" + name + ") -----------------------------");
+ System.err.println("Current Status = " + OTS.current().get_status().value());
+ statement = _connection.createStatement();
+ if (_useTimeout)
+ {
+ statement.setQueryTimeout(_databaseTimeout);
+ }
+ System.err.println("SELECT Value FROM " + _dbUser + "_InfoTable WHERE Name = \'" + name + "\'");
+ resultSet = statement.executeQuery("SELECT Value FROM " + _dbUser + "_InfoTable WHERE Name = \'" + name + "\'");
+ if (!resultSet.next())
+ {
+ throw new Exception("Result set is empty - expected a row");
+ }
+ value.value = resultSet.getString("Value");
+ if (resultSet.next())
+ {
+ throw new Exception("Result set is not empty - didn't expect a row");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCInfoTableImpl01.select: " + exception);
+ exception.printStackTrace(System.err);
+ throw new InvocationException();
+ }
+ finally
+ {
+ try
+ {
+ if (resultSet != null)
+ {
+ resultSet.close();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ try
+ {
+ if (statement != null)
+ {
+ statement.close();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ }
+ }
+
+ public void delete(String name)
+ throws InvocationException
+ {
+ Statement statement = null;
+
+ try
+ {
+ System.err.println("01------------------ doing delete (" + name + ") -----------------------------");
+ System.err.println("Current Status = " + OTS.current().get_status().value());
+ statement = _connection.createStatement();
+ if (_useTimeout)
+ {
+ statement.setQueryTimeout(_databaseTimeout);
+ }
+ System.err.println("DELETE FROM " + _dbUser + "_InfoTable WHERE Name = \'" + name + "\'");
+ statement.executeUpdate("DELETE FROM " + _dbUser + "_InfoTable WHERE Name = \'" + name + "\'");
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCInfoTableImpl01.delete: " + exception);
+ exception.printStackTrace(System.err);
+ throw new InvocationException();
+ }
+ finally
+ {
+ try
+ {
+ if (statement != null)
+ {
+ statement.close();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ }
+ }
+
+ private Connection _connection = null;
+ private String _dbUser;
+ private int _databaseTimeout;
+ private boolean _useTimeout = false;
+
+ /*
+ * We can't guarantee that finalize() will be called,
+ * so we have a thread that will close the database connection.
+ */
+ private class JDBC01ShutdownThread extends Thread
+ {
+ public void run()
+ {
+ System.err.println("JDBCInfoTableImpl01.JDBC01ShutdownThread: running");
+ try
+ {
+ if (_connection != null)
+ {
+ _connection.close();
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCInfoTableImpl01.JDBC01ShutdownThread: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Impls/JDBCInfoTableImpl02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Impls/JDBCInfoTableImpl02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Impls/JDBCInfoTableImpl02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,528 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: JDBCInfoTableImpl02.java,v 1.6 2004/04/21 08:30:53 jcoleman Exp $
+//
+
+package org.jboss.jbossts.qa.JDBCResources01Impls;
+
+import org.jboss.jbossts.qa.JDBCResources01.*;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.omg.CORBA.StringHolder;
+import org.omg.CosTransactions.Status;
+
+import java.sql.*;
+import java.util.Properties;
+
+public class JDBCInfoTableImpl02 implements InfoTableOperations
+{
+ public JDBCInfoTableImpl02(String databaseURL, String databaseUser, String databasePassword, String databaseDynamicClass, int timeout)
+ throws InvocationException
+ {
+ _databaseUser = databaseUser;
+ Connection connection = null;
+
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("Setting up connection");
+ }
+ try
+ {
+ if (databaseDynamicClass != null)
+ {
+ _databaseURL = databaseURL;
+
+ _databaseProperties = new Properties();
+ _databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.userName, databaseUser);
+ _databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.password, databasePassword);
+ _databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.dynamicClass, databaseDynamicClass);
+ }
+ else
+ {
+ _databaseURL = databaseURL;
+ _databaseUser = databaseUser;
+ _databasePassword = databasePassword;
+ _databaseProperties = null;
+ }
+ _databaseTimeout = timeout;
+
+ //create first connection to get metadata
+ if (_databaseProperties != null)
+ {
+ connection = DriverManager.getConnection(_databaseURL, _databaseProperties);
+ }
+ else
+ {
+ connection = DriverManager.getConnection(_databaseURL, _databaseUser, _databasePassword);
+ }
+
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("connection = " + connection);
+ System.err.println("Database URL = " + _databaseURL);
+ }
+
+ DatabaseMetaData dbmd = connection.getMetaData();
+ if (dbmd.getDatabaseProductName().startsWith("Microsoft"))
+ {
+ _useTimeout = true;
+ }
+
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCInfoTableImpl02.JDBCInfoTableImpl02: " + exception);
+ exception.printStackTrace(System.err);
+ throw new InvocationException();
+ }
+ finally
+ {
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("Closing connection");
+ }
+ try
+ {
+ if (connection != null)
+ {
+ connection.close();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ }
+ }
+
+ public void insert(String name, String value)
+ throws InvocationException
+ {
+ Connection connection = null;
+ Statement statement = null;
+
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("Setting up connection");
+ }
+ try
+ {
+ System.err.println("02------------------ doing insert (" + name + "," + value + ") -----------------------------");
+ System.err.println("Current Status = " + OTS.current().get_status().value());
+ if (_databaseProperties != null)
+ {
+ connection = DriverManager.getConnection(_databaseURL, _databaseProperties);
+ }
+ else
+ {
+ connection = DriverManager.getConnection(_databaseURL, _databaseUser, _databasePassword);
+ }
+
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("connection = " + connection);
+ System.err.println("Database URL = " + _databaseURL);
+ }
+
+ statement = connection.createStatement();
+ if (_useTimeout)
+ {
+ statement.setQueryTimeout(_databaseTimeout);
+ }
+
+ System.err.println("INSERT INTO " + _databaseUser + "_InfoTable VALUES(\'" + name + "\', \'" + value + "\')");
+ statement.executeUpdate("INSERT INTO " + _databaseUser + "_InfoTable VALUES(\'" + name + "\', \'" + value + "\')");
+
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCInfoTableImpl02.insert: " + exception);
+ exception.printStackTrace(System.err);
+ throw new InvocationException();
+ }
+ finally
+ {
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("Performing explicit commit for non-transaction operation");
+ }
+ if (OTS.current().get_status().value() == Status._StatusNoTransaction)
+ {
+ try
+ {
+ connection.commit();
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ }
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("Closing connection");
+ }
+ try
+ {
+ if (statement != null)
+ {
+ statement.close();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ try
+ {
+ if (connection != null)
+ {
+ connection.close();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ }
+ }
+
+ public void update(String name, String value)
+ throws InvocationException
+ {
+ Connection connection = null;
+ Statement statement = null;
+
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("Setting up connection");
+ }
+ try
+ {
+ System.err.println("02------------------ doing update (" + name + "," + value + ") -----------------------------");
+ System.err.println("Current Status = " + OTS.current().get_status().value());
+ if (_databaseProperties != null)
+ {
+ connection = DriverManager.getConnection(_databaseURL, _databaseProperties);
+ }
+ else
+ {
+ connection = DriverManager.getConnection(_databaseURL, _databaseUser, _databasePassword);
+ }
+
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("connection = " + connection);
+ System.err.println("Database URL = " + _databaseURL);
+ }
+
+ statement = connection.createStatement();
+ if (_useTimeout)
+ {
+ statement.setQueryTimeout(_databaseTimeout);
+ }
+
+ System.err.println("UPDATE " + _databaseUser + "_InfoTable SET Value = \'" + value + "\' WHERE Name = \'" + name + "\'");
+ statement.executeUpdate("UPDATE " + _databaseUser + "_InfoTable SET Value = \'" + value + "\' WHERE Name = \'" + name + "\'");
+
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCInfoTableImpl02.update: " + exception);
+ exception.printStackTrace(System.err);
+ throw new InvocationException();
+ }
+ finally
+ {
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("Performing explicit commit for non-transaction operation");
+ }
+ if (OTS.current().get_status().value() == Status._StatusNoTransaction)
+ {
+ try
+ {
+ connection.commit();
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ }
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("Closing connection");
+ }
+ try
+ {
+ if (statement != null)
+ {
+ statement.close();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ try
+ {
+ if (connection != null)
+ {
+ connection.close();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ }
+ }
+
+ public void select(String name, StringHolder value)
+ throws InvocationException
+ {
+ Connection connection = null;
+ Statement statement = null;
+ ResultSet resultSet = null;
+
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("Setting up connection");
+ }
+ try
+ {
+ System.err.println("02------------------ doing select (" + name + ") -----------------------------");
+ System.err.println("Current Status = " + OTS.current().get_status().value());
+ if (_databaseProperties != null)
+ {
+ connection = DriverManager.getConnection(_databaseURL, _databaseProperties);
+ }
+ else
+ {
+ connection = DriverManager.getConnection(_databaseURL, _databaseUser, _databasePassword);
+ }
+
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("connection = " + connection);
+ System.err.println("Database URL = " + _databaseURL);
+ }
+
+ statement = connection.createStatement();
+ if (_useTimeout)
+ {
+ statement.setQueryTimeout(_databaseTimeout);
+ }
+
+ System.err.println("SELECT Value FROM " + _databaseUser + "_InfoTable WHERE Name = \'" + name + "\'");
+ resultSet = statement.executeQuery("SELECT Value FROM " + _databaseUser + "_InfoTable WHERE Name = \'" + name + "\'");
+
+ if (!resultSet.next())
+ {
+ throw new Exception("Result set is empty - expected a row");
+ }
+ value.value = resultSet.getString("Value");
+ if (resultSet.next())
+ {
+ throw new Exception("Result set is not empty - didn't expect a row");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCInfoTableImpl02.select: " + exception);
+ exception.printStackTrace(System.err);
+ throw new InvocationException();
+ }
+ finally
+ {
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("Performing explicit commit for non-transaction operation");
+ }
+ if (OTS.current().get_status().value() == Status._StatusNoTransaction)
+ {
+ try
+ {
+ connection.commit();
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ }
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("Closing connection");
+ }
+ try
+ {
+ if (resultSet != null)
+ {
+ resultSet.close();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ try
+ {
+ if (statement != null)
+ {
+ statement.close();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ try
+ {
+ if (connection != null)
+ {
+ connection.close();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ }
+ }
+
+ public void delete(String name)
+ throws InvocationException
+ {
+ Connection connection = null;
+ Statement statement = null;
+
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("Setting up connection");
+ }
+ try
+ {
+ System.err.println("02------------------ doing delete (" + name + ") -----------------------------");
+ System.err.println("Current Status = " + OTS.current().get_status().value());
+ if (_databaseProperties != null)
+ {
+ connection = DriverManager.getConnection(_databaseURL, _databaseProperties);
+ }
+ else
+ {
+ connection = DriverManager.getConnection(_databaseURL, _databaseUser, _databasePassword);
+ }
+
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("connection = " + connection);
+ System.err.println("Database URL = " + _databaseURL);
+ }
+
+ statement = connection.createStatement();
+ if (_useTimeout)
+ {
+ statement.setQueryTimeout(_databaseTimeout);
+ }
+
+ System.err.println("DELETE FROM " + _databaseUser + "_InfoTable WHERE Name = \'" + name + "\'");
+ statement.executeUpdate("DELETE FROM " + _databaseUser + "_InfoTable WHERE Name = \'" + name + "\'");
+
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCInfoTableImpl02.delete: " + exception);
+ exception.printStackTrace(System.err);
+ throw new InvocationException();
+ }
+ finally
+ {
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("Performing explicit commit for non-transaction operation");
+ }
+ if (OTS.current().get_status().value() == Status._StatusNoTransaction)
+ {
+ try
+ {
+ connection.commit();
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ }
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("Closing connection");
+ }
+ try
+ {
+ if (statement != null)
+ {
+ statement.close();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ try
+ {
+ if (connection != null)
+ {
+ connection.close();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ }
+ }
+
+ private String _databaseURL;
+ private String _databaseUser;
+ private String _databasePassword;
+ private int _databaseTimeout;
+ private Properties _databaseProperties;
+ private boolean _useTimeout = false;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Outcomes/Outcome01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Outcomes/Outcome01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Outcomes/Outcome01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,120 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.JDBCResources01Outcomes;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Outcome01.java,v 1.3 2003/10/01 13:20:49 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Outcome01.java,v 1.3 2003/10/01 13:20:49 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.JDBCResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.StringHolder;
+
+public class Outcome01
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String infoTableIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ InfoTable infoTable = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR));
+
+ boolean correct = true;
+
+ for (int index = 0; correct && (index < 10); index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + index;
+ StringHolder valueHolder = new StringHolder();
+
+ infoTable.select(name, valueHolder);
+
+ correct = correct && value.equals(valueHolder.value);
+
+ System.err.println("Name_" + index + " has a value of " + valueHolder.value);
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Outcome01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Outcome01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Outcomes/Outcome02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Outcomes/Outcome02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Outcomes/Outcome02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,119 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.JDBCResources01Outcomes;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Outcome02.java,v 1.3 2003/10/01 13:20:49 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Outcome02.java,v 1.3 2003/10/01 13:20:49 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.JDBCResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.StringHolder;
+
+public class Outcome02
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String infoTableIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ InfoTable infoTable = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR));
+
+ boolean correct = true;
+
+ for (int index = 0; correct && (index < 10); index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + (9 - index);
+ StringHolder valueHolder = new StringHolder();
+
+ infoTable.select(name, valueHolder);
+
+ correct = correct && value.equals(valueHolder.value);
+ System.err.println("Name_" + index + " has a value of " + valueHolder.value);
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Outcome02.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Outcome02.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Outcomes/Outcome03.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Outcomes/Outcome03.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Outcomes/Outcome03.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,124 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.JDBCResources01Outcomes;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Outcome03.java,v 1.3 2003/10/01 13:20:49 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Outcome03.java,v 1.3 2003/10/01 13:20:49 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.JDBCResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.StringHolder;
+
+public class Outcome03
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String infoTableIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ InfoTable infoTable1 = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR1));
+
+ String infoTableIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ InfoTable infoTable2 = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR2));
+
+ boolean correct = true;
+
+ for (int index = 0; correct && (index < 10); index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + index;
+ StringHolder valueHolder1 = new StringHolder();
+ StringHolder valueHolder2 = new StringHolder();
+
+ infoTable1.select(name, valueHolder1);
+ infoTable2.select(name, valueHolder2);
+
+ correct = correct && value.equals(valueHolder1.value) && value.equals(valueHolder2.value);
+ System.err.println("Name_" + index + " has a value of " + valueHolder1.value + ", " + valueHolder2.value);
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Outcome03.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Outcome03.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Outcomes/Outcome04.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Outcomes/Outcome04.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Outcomes/Outcome04.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,124 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.JDBCResources01Outcomes;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Outcome04.java,v 1.3 2003/10/01 13:20:49 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Outcome04.java,v 1.3 2003/10/01 13:20:49 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.JDBCResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.StringHolder;
+
+public class Outcome04
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String infoTableIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ InfoTable infoTable1 = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR1));
+
+ String infoTableIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ InfoTable infoTable2 = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR2));
+
+ boolean correct = true;
+
+ for (int index = 0; correct && (index < 10); index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + (9 - index);
+ StringHolder valueHolder1 = new StringHolder();
+ StringHolder valueHolder2 = new StringHolder();
+
+ infoTable1.select(name, valueHolder1);
+ infoTable2.select(name, valueHolder2);
+
+ correct = correct && value.equals(valueHolder1.value) && value.equals(valueHolder2.value);
+ System.err.println("Name_" + index + " has a value of " + valueHolder1.value + ", " + valueHolder2.value);
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Outcome04.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Outcome04.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Servers/Server01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Servers/Server01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Servers/Server01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,110 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.JDBCResources01Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server01.java,v 1.2 2003/06/26 11:44:07 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server01.java,v 1.2 2003/06/26 11:44:07 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.JDBCResources01.*;
+import org.jboss.jbossts.qa.JDBCResources01Impls.JDBCInfoTableImpl01;
+import org.jboss.jbossts.qa.Utils.JDBCProfileStore;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server01
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String profileName = args[args.length - 2];
+
+ int numberOfDrivers = JDBCProfileStore.numberOfDrivers(profileName);
+ for (int index = 0; index < numberOfDrivers; index++)
+ {
+ String driver = JDBCProfileStore.driver(profileName, index);
+
+ Class.forName(driver);
+ }
+
+ String databaseURL = JDBCProfileStore.databaseURL(profileName);
+ String databaseUser = JDBCProfileStore.databaseUser(profileName);
+ String databasePassword = JDBCProfileStore.databasePassword(profileName);
+ String databaseDynamicClass = JDBCProfileStore.databaseDynamicClass(profileName);
+ int databaseTimeout = JDBCProfileStore.timeout(profileName);
+
+ JDBCInfoTableImpl01 jdbcInfoTableImpl = new JDBCInfoTableImpl01(databaseURL, databaseUser, databasePassword, databaseDynamicClass, databaseTimeout);
+ InfoTablePOATie servant = new InfoTablePOATie(jdbcInfoTableImpl);
+
+ OAInterface.objectIsReady(servant);
+ InfoTable jdbcInfoTable = InfoTableHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(jdbcInfoTable));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server01.main: " + exception);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Servers/Server02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Servers/Server02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Servers/Server02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,110 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.JDBCResources01Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server02.java,v 1.2 2003/06/26 11:44:07 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server02.java,v 1.2 2003/06/26 11:44:07 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.JDBCResources01.*;
+import org.jboss.jbossts.qa.JDBCResources01Impls.JDBCInfoTableImpl02;
+import org.jboss.jbossts.qa.Utils.JDBCProfileStore;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server02
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String profileName = args[args.length - 2];
+
+ int numberOfDrivers = JDBCProfileStore.numberOfDrivers(profileName);
+ for (int index = 0; index < numberOfDrivers; index++)
+ {
+ String driver = JDBCProfileStore.driver(profileName, index);
+
+ Class.forName(driver);
+ }
+
+ String databaseURL = JDBCProfileStore.databaseURL(profileName);
+ String databaseUser = JDBCProfileStore.databaseUser(profileName);
+ String databasePassword = JDBCProfileStore.databasePassword(profileName);
+ String databaseDynamicClass = JDBCProfileStore.databaseDynamicClass(profileName);
+ int databaseTimeout = JDBCProfileStore.timeout(profileName);
+
+ JDBCInfoTableImpl02 jdbcInfoTableImpl = new JDBCInfoTableImpl02(databaseURL, databaseUser, databasePassword, databaseDynamicClass, databaseTimeout);
+ InfoTablePOATie servant = new InfoTablePOATie(jdbcInfoTableImpl);
+
+ OAInterface.objectIsReady(servant);
+ InfoTable jdbcInfoTable = InfoTableHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(jdbcInfoTable));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server02.main: " + exception);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Setups/Setup01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Setups/Setup01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Setups/Setup01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,141 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: Setup01.java,v 1.7 2004/04/20 10:55:36 jcoleman Exp $
+//
+
+package org.jboss.jbossts.qa.JDBCResources01Setups;
+
+import org.jboss.jbossts.qa.JDBCResources01.*;
+import org.jboss.jbossts.qa.Utils.JDBCProfileStore;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+
+import java.sql.Connection;
+import java.sql.DriverManager;
+import java.sql.Statement;
+import java.util.Properties;
+
+public class Setup01
+{
+ public static void main(String[] args)
+ {
+ boolean passed = true;
+
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String profileName = args[args.length - 1];
+
+ int numberOfDrivers = JDBCProfileStore.numberOfDrivers(profileName);
+ for (int index = 0; index < numberOfDrivers; index++)
+ {
+ String driver = JDBCProfileStore.driver(profileName, index);
+
+ Class.forName(driver);
+ }
+
+ String databaseURL = JDBCProfileStore.databaseURL(profileName);
+ String databaseUser = JDBCProfileStore.databaseUser(profileName);
+ String databasePassword = JDBCProfileStore.databasePassword(profileName);
+ String databaseDynamicClass = JDBCProfileStore.databaseDynamicClass(profileName);
+
+ System.out.println("databaseURL: "+databaseURL+" dynamicClass: "+databaseDynamicClass);
+
+ Connection connection;
+ if (databaseDynamicClass != null)
+ {
+ Properties databaseProperties = new Properties();
+
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.userName, databaseUser);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.password, databasePassword);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.dynamicClass, databaseDynamicClass);
+
+ connection = DriverManager.getConnection(databaseURL, databaseProperties);
+ }
+ else
+ {
+ connection = DriverManager.getConnection(databaseURL, databaseUser, databasePassword);
+ }
+
+ Statement statement = connection.createStatement();
+
+ try
+ {
+ System.err.println("DROP TABLE " + databaseUser + "_InfoTable");
+ statement.executeUpdate("DROP TABLE " + databaseUser + "_InfoTable");
+ }
+ catch (java.sql.SQLException s)
+ {
+ if(!(s.getSQLState().startsWith("42") // old ms sql 2000 drivers
+ || s.getSQLState().equals("S0005") // ms sql 2005 drivers
+ || s.getSQLState().equals("ZZZZZ"))) // sybase jConnect drivers
+ {
+ System.err.println("Setup01.main: " + s);
+ System.err.println("SQL state is: <" + s.getSQLState() + ">");
+ }
+ }
+ System.err.println("CREATE TABLE " + databaseUser + "_InfoTable (Name VARCHAR(64), Value VARCHAR(64))");
+ statement.executeUpdate("CREATE TABLE " + databaseUser + "_InfoTable (Name VARCHAR(64), Value VARCHAR(64))");
+
+ statement.close();
+ connection.close();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Setup01.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ passed = false;
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Setup01.main: " + exception);
+ System.out.println("Failed");
+ exception.printStackTrace(System.err);
+ passed = false;
+ }
+
+ if (passed)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Setups/Setup02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Setups/Setup02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources01Setups/Setup02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,155 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: Setup02.java,v 1.7 2004/04/20 10:55:36 jcoleman Exp $
+//
+
+package org.jboss.jbossts.qa.JDBCResources01Setups;
+
+import org.jboss.jbossts.qa.JDBCResources01.*;
+import org.jboss.jbossts.qa.Utils.JDBCProfileStore;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+
+import java.sql.Connection;
+import java.sql.DriverManager;
+import java.sql.Statement;
+import java.util.Properties;
+
+public class Setup02
+{
+ public static void main(String[] args)
+ {
+ boolean passed = true;
+
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String profileName = args[args.length - 1];
+
+ int numberOfDrivers = JDBCProfileStore.numberOfDrivers(profileName);
+ for (int index = 0; index < numberOfDrivers; index++)
+ {
+ String driver = JDBCProfileStore.driver(profileName, index);
+
+ Class.forName(driver);
+ }
+
+ String databaseURL = JDBCProfileStore.databaseURL(profileName);
+ String databaseUser = JDBCProfileStore.databaseUser(profileName);
+ String databasePassword = JDBCProfileStore.databasePassword(profileName);
+ String databaseDynamicClass = JDBCProfileStore.databaseDynamicClass(profileName);
+
+ Connection connection;
+ if (databaseDynamicClass != null)
+ {
+ Properties databaseProperties = new Properties();
+
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.userName, databaseUser);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.password, databasePassword);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.dynamicClass, databaseDynamicClass);
+
+ connection = DriverManager.getConnection(databaseURL, databaseProperties);
+ }
+ else
+ {
+ connection = DriverManager.getConnection(databaseURL, databaseUser, databasePassword);
+ }
+
+ Statement statement = connection.createStatement();
+
+ try
+ {
+ System.err.println("DROP TABLE " + databaseUser + "_InfoTable");
+ statement.executeUpdate("DROP TABLE " + databaseUser + "_InfoTable");
+ }
+ catch (java.sql.SQLException s)
+ {
+ if(!(s.getSQLState().startsWith("42") // old ms sql 2000 drivers
+ || s.getSQLState().equals("S0005") // ms sql 2005 drivers
+ || s.getSQLState().equals("ZZZZZ"))) // sybase jConnect drivers
+ {
+ System.err.println("Setup02.main: " + s);
+ System.err.println("SQL state is: <" + s.getSQLState() + ">");
+ passed = false;
+ }
+ }
+ System.err.println("CREATE TABLE " + databaseUser + "_InfoTable (Name VARCHAR(64), Value VARCHAR(64))");
+ statement.executeUpdate("CREATE TABLE " + databaseUser + "_InfoTable (Name VARCHAR(64), Value VARCHAR(64))");
+
+ // Create an Index for the table just created. Microsoft SQL requires an index for Row Locking.
+ System.err.println("CREATE UNIQUE INDEX " + databaseUser + "_IT_Ind " +
+ "ON " + databaseUser + "_InfoTable (Name) ");
+ statement.executeUpdate("CREATE UNIQUE INDEX " + databaseUser + "_IT_Ind " +
+ "ON " + databaseUser + "_InfoTable (Name) ");
+
+ for (int index = 0; index < 10; index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + index;
+
+ System.err.println("INSERT INTO " + databaseUser + "_InfoTable VALUES(\'" + name + "\', \'" + value + "\')");
+ statement.executeUpdate("INSERT INTO " + databaseUser + "_InfoTable VALUES(\'" + name + "\', \'" + value + "\')");
+ }
+
+ statement.close();
+ connection.close();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Setup02.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ passed = false;
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Setup02.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ passed = false;
+ }
+
+ if (passed)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Cleanups/Cleanup01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Cleanups/Cleanup01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Cleanups/Cleanup01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,164 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: Cleanup01.java,v 1.5 2004/04/21 08:30:53 jcoleman Exp $
+//
+
+package org.jboss.jbossts.qa.JDBCResources02Cleanups;
+
+import org.jboss.jbossts.qa.JDBCResources02.*;
+import org.jboss.jbossts.qa.Utils.JDBCProfileStore;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+
+import java.sql.Connection;
+import java.sql.DriverManager;
+import java.sql.Statement;
+import java.util.Properties;
+
+public class Cleanup01
+{
+ public static void main(String[] args)
+ {
+ boolean success = false;
+ boolean trying = true;
+ int tries = 0;
+
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String profileName = args[args.length - 1];
+
+ int numberOfDrivers = JDBCProfileStore.numberOfDrivers(profileName);
+ for (int index = 0; index < numberOfDrivers; index++)
+ {
+ String driver = JDBCProfileStore.driver(profileName, index);
+
+ Class.forName(driver);
+ }
+
+ String databaseURL = JDBCProfileStore.databaseURL(profileName);
+ String databaseUser = JDBCProfileStore.databaseUser(profileName);
+ String databasePassword = JDBCProfileStore.databasePassword(profileName);
+ String databaseDynamicClass = JDBCProfileStore.databaseDynamicClass(profileName);
+
+ Connection connection;
+ if (databaseDynamicClass != null)
+ {
+ Properties databaseProperties = new Properties();
+
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.userName, databaseUser);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.password, databasePassword);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.dynamicClass, databaseDynamicClass);
+
+ connection = DriverManager.getConnection(databaseURL, databaseProperties);
+ }
+ else
+ {
+ connection = DriverManager.getConnection(databaseURL, databaseUser, databasePassword);
+ }
+
+ while (trying)
+ {
+ try
+ {
+ Statement statement = connection.createStatement();
+
+ System.err.println("DROP TABLE " + databaseUser + "_InfoTable");
+ statement.executeUpdate("DROP TABLE " + databaseUser + "_InfoTable");
+
+ statement.close();
+ connection.close();
+
+ trying = false;
+ success = true;
+ /* Server might have crashed and table might still be busy. */
+ }
+ catch (java.sql.SQLException s)
+ {
+ System.err.println("Cleanup01.main: " + s);
+ System.err.println("SQL state is: " + s.getSQLState());
+ if (s.getSQLState() == "42000" || /* no table to drop */
+ s.getSQLState() == "42S02" || /* table not found */
+ s.getSQLState() == null) /* connection failed */
+ {
+ trying = false;
+ }
+ else
+ {
+ tries++;
+ if (tries >= 6)
+ {
+ trying = false;
+ System.err.println("Giving up.");
+ }
+ else
+ {
+ try
+ {
+ System.err.println("Sleeping " + (tries * 10) + " seconds and re-trying ...");
+ Thread.sleep(tries * 10000);
+ }
+ catch (Exception e)
+ {
+ System.err.println("Cleanup01.main: " + e);
+ trying = false;
+ }
+ }
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Cleanup01.main: " + e);
+ trying = false;
+ }
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Cleanup01.main: " + exception);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Cleanup01.main: " + exception);
+ exception.printStackTrace(System.err);
+
+ success = false;
+ }
+
+ System.out.println(success ? "Passed" : "Failed");
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,127 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.JDBCResources02Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client01.java,v 1.2 2003/06/26 11:44:08 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client01.java,v 1.2 2003/06/26 11:44:08 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.JDBCResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.StringHolder;
+
+public class Client01
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String infoTableIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ InfoTable infoTable = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR));
+
+ boolean correct = true;
+
+ for (int index = 0; index < 10; index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + index;
+
+ infoTable.insert(name, value, OTS.current().get_control());
+ }
+
+ for (int index = 0; correct && (index < 10); index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + index;
+ StringHolder valueHolder = new StringHolder();
+
+ infoTable.select(name, valueHolder, OTS.current().get_control());
+
+ correct = correct && value.equals(valueHolder.value);
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,139 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.JDBCResources02Clients;
+
+import org.jboss.jbossts.qa.JDBCResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.StringHolder;
+
+public class Client02
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String infoTableIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ InfoTable infoTable = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ for (int index = 0; index < 10; index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + index;
+
+ try
+ {
+ infoTable.insert(name, value, OTS.current().get_control());
+ }
+ catch (Exception e)
+ {
+ correct = false;
+ System.err.println("Error in insert : " + e);
+ e.printStackTrace(System.err);
+ }
+ }
+
+ OTS.current().commit(true);
+
+ OTS.current().begin();
+
+ for (int index = 0; correct && (index < 10); index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + index;
+ StringHolder valueHolder = new StringHolder();
+
+ try
+ {
+ infoTable.select(name, valueHolder, OTS.current().get_control());
+ }
+ catch (Exception e)
+ {
+ System.err.println("Error in select : " + e);
+ e.printStackTrace(System.err);
+ }
+ correct = correct && value.equals(valueHolder.value);
+ }
+
+ OTS.current().commit(true);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client02.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ finally
+ {
+// code change to stop database locking
+ try
+ {
+ if (OTS.current().get_control() != null)
+ {
+ OTS.current().rollback();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Finally has caught exception");
+ e.printStackTrace(System.err);
+ }
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client02.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client03.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client03.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client03.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.JDBCResources02Clients;
+
+import org.jboss.jbossts.qa.JDBCResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.StringHolder;
+
+public class Client03
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String infoTableIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ InfoTable infoTable = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ for (int index = 0; index < 10; index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + index;
+
+ try
+ {
+ infoTable.insert(name, value, OTS.current().get_control());
+ }
+ catch (Exception e)
+ {
+ correct = false;
+ System.err.println("Error in insert : " + e);
+ e.printStackTrace(System.err);
+ }
+ }
+
+ OTS.current().commit(true);
+
+ OTS.current().begin();
+
+ try
+ {
+ infoTable.update("Name_3", "Value_8", OTS.current().get_control());
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring error in update : " + e);
+ e.printStackTrace(System.err);
+ }
+
+ OTS.current().rollback();
+
+ OTS.current().begin();
+
+ for (int index = 0; correct && (index < 10); index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + index;
+ StringHolder valueHolder = new StringHolder();
+
+ try
+ {
+ infoTable.select(name, valueHolder, OTS.current().get_control());
+ }
+ catch (Exception e)
+ {
+ System.err.println("Error in select : " + e);
+ e.printStackTrace(System.err);
+ }
+ correct = correct && value.equals(valueHolder.value);
+ }
+
+ OTS.current().commit(true);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client03.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ finally
+ {
+// code change to stop database locking
+ try
+ {
+ if (OTS.current().get_control() != null)
+ {
+ OTS.current().rollback();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Finally has caught exception");
+ e.printStackTrace(System.err);
+ }
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client03.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client04.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client04.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client04.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.JDBCResources02Clients;
+
+import org.jboss.jbossts.qa.JDBCResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.StringHolder;
+
+public class Client04
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String infoTableIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ InfoTable infoTable = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ for (int index = 0; index < 10; index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + index;
+
+ try
+ {
+ infoTable.insert(name, value, OTS.current().get_control());
+ }
+ catch (Exception e)
+ {
+ correct = false;
+ System.err.println("Error in insert : " + e);
+ e.printStackTrace(System.err);
+ }
+ }
+
+ OTS.current().commit(true);
+
+ OTS.current().begin();
+
+ try
+ {
+ infoTable.delete("Name_3", OTS.current().get_control());
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring error in delete : " + e);
+ e.printStackTrace(System.err);
+ }
+
+ OTS.current().rollback();
+
+ OTS.current().begin();
+
+ for (int index = 0; correct && (index < 10); index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + index;
+ StringHolder valueHolder = new StringHolder();
+
+ try
+ {
+ infoTable.select(name, valueHolder, OTS.current().get_control());
+ }
+ catch (Exception e)
+ {
+ System.err.println("Error in select : " + e);
+ e.printStackTrace(System.err);
+ }
+ correct = correct && value.equals(valueHolder.value);
+ }
+
+ OTS.current().commit(true);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client04.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ finally
+ {
+// code change to stop database locking
+ try
+ {
+ if (OTS.current().get_control() != null)
+ {
+ OTS.current().rollback();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Finally has caught exception");
+ e.printStackTrace(System.err);
+ }
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client04.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client05.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client05.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client05.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,163 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.JDBCResources02Clients;
+
+import org.jboss.jbossts.qa.JDBCResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.StringHolder;
+
+public class Client05
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String infoTableIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ InfoTable infoTable = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ for (int index = 0; index < 10; index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + index;
+
+ try
+ {
+ infoTable.insert(name, value, OTS.current().get_control());
+ }
+ catch (Exception e)
+ {
+ correct = false;
+ System.err.println("Error in insert : " + e);
+ e.printStackTrace(System.err);
+ }
+ }
+
+ OTS.current().commit(true);
+
+ OTS.current().begin();
+
+ try
+ {
+ infoTable.update("Name_4", "Value_6", OTS.current().get_control());
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring error in update : " + e);
+ e.printStackTrace(System.err);
+ }
+
+ OTS.current().commit(true);
+
+ try
+ {
+ infoTable.update("Name_4", "Value_4", OTS.current().get_control());
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring error in update : " + e);
+ e.printStackTrace(System.err);
+ }
+
+ OTS.current().begin();
+
+ for (int index = 0; correct && (index < 10); index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + index;
+ StringHolder valueHolder = new StringHolder();
+
+ try
+ {
+ infoTable.select(name, valueHolder, OTS.current().get_control());
+ }
+ catch (Exception e)
+ {
+ System.err.println("Error in select : " + e);
+ e.printStackTrace(System.err);
+ }
+ correct = correct && value.equals(valueHolder.value);
+ }
+
+ OTS.current().commit(true);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client05.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ finally
+ {
+// code change to stop database locking
+ try
+ {
+ if (OTS.current().get_control() != null)
+ {
+ OTS.current().rollback();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Finally has caught exception");
+ e.printStackTrace(System.err);
+ }
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client05.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client06.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client06.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client06.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,164 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.JDBCResources02Clients;
+
+import org.jboss.jbossts.qa.JDBCResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.StringHolder;
+
+public class Client06
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String infoTableIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ InfoTable infoTable = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ for (int index = 0; index < 10; index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + index;
+
+ try
+ {
+ infoTable.insert(name, value, OTS.current().get_control());
+ }
+ catch (Exception e)
+ {
+ correct = false;
+ System.err.println("Error in insert : " + e);
+ e.printStackTrace(System.err);
+ }
+ }
+
+ OTS.current().commit(true);
+
+ try
+ {
+ infoTable.update("Name_4", "Value_6", OTS.current().get_control());
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring error in update : " + e);
+ e.printStackTrace(System.err);
+ }
+
+ OTS.current().begin();
+
+ try
+ {
+ infoTable.update("Name_4", "Value_4", OTS.current().get_control());
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring error in update : " + e);
+ e.printStackTrace(System.err);
+ }
+
+ OTS.current().commit(true);
+
+ OTS.current().begin();
+
+ for (int index = 0; correct && (index < 10); index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + index;
+ StringHolder valueHolder = new StringHolder();
+
+ try
+ {
+ infoTable.select(name, valueHolder, OTS.current().get_control());
+ }
+ catch (Exception e)
+ {
+ System.err.println("Error in select : " + e);
+ e.printStackTrace(System.err);
+ }
+ correct = correct && value.equals(valueHolder.value);
+ }
+
+ OTS.current().commit(true);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client06.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ finally
+ {
+// code change to stop database locking
+ try
+ {
+ if (OTS.current().get_control() != null)
+ {
+ OTS.current().rollback();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Finally has caught exception");
+ e.printStackTrace(System.err);
+ }
+ }
+
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client06.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client07.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client07.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client07.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,116 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.JDBCResources02Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client07.java,v 1.2 2003/06/26 11:44:08 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client07.java,v 1.2 2003/06/26 11:44:08 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.JDBCResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client07
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String infoTableIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ InfoTable infoTable1 = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR1));
+
+ String infoTableIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ InfoTable infoTable2 = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR2));
+
+ for (int index = 0; index < 10; index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + (9 - index);
+
+ if ((index % 2) == 0)
+ {
+ infoTable1.update(name, value, OTS.current().get_control());
+ }
+ else
+ {
+ infoTable2.update(name, value, OTS.current().get_control());
+ }
+ }
+
+ System.out.println("Passed");
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client07.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client07.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client08.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client08.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client08.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,127 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.JDBCResources02Clients;
+
+import org.jboss.jbossts.qa.JDBCResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client08
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String infoTableIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ InfoTable infoTable1 = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR1));
+
+ String infoTableIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ InfoTable infoTable2 = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR2));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ for (int index = 0; correct && (index < 10); index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + (9 - index);
+
+ try
+ {
+ if ((index % 2) == 0)
+ {
+ infoTable1.update(name, value, OTS.current().get_control());
+ }
+ else
+ {
+ infoTable2.update(name, value, OTS.current().get_control());
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client08.main: " + exception);
+ exception.printStackTrace(System.err);
+ correct = false;
+ }
+ }
+
+ OTS.current().commit(true);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client08.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ finally
+ {
+// code change to stop database locking
+ try
+ {
+ if (OTS.current().get_control() != null)
+ {
+ OTS.current().rollback();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Finally has caught exception");
+ e.printStackTrace(System.err);
+ }
+ }
+
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client08.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client09.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client09.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client09.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,127 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.JDBCResources02Clients;
+
+import org.jboss.jbossts.qa.JDBCResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client09
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String infoTableIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ InfoTable infoTable1 = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR1));
+
+ String infoTableIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ InfoTable infoTable2 = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR2));
+
+ boolean correct = true;
+
+ for (int index = 0; index < 10; index++)
+ {
+ OTS.current().begin();
+
+ String name = "Name_" + index;
+ String value = "Value_" + (9 - index);
+
+ try
+ {
+ if ((index % 2) == 0)
+ {
+ infoTable1.update(name, value, OTS.current().get_control());
+ }
+ else
+ {
+ infoTable2.update(name, value, OTS.current().get_control());
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client08.main: " + exception);
+ exception.printStackTrace(System.err);
+ correct = false;
+ }
+
+ OTS.current().commit(true);
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client09.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ finally
+ {
+// code change to stop database locking
+ try
+ {
+ if (OTS.current().get_control() != null)
+ {
+ OTS.current().rollback();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Finally has caught exception");
+ e.printStackTrace(System.err);
+ }
+ }
+
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client09.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client10.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client10.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client10.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,127 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.JDBCResources02Clients;
+
+import org.jboss.jbossts.qa.JDBCResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client10
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String infoTableIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ InfoTable infoTable1 = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR1));
+
+ String infoTableIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ InfoTable infoTable2 = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR2));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ for (int index = 0; index < 10; index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + (9 - index);
+
+ try
+ {
+ if ((index % 2) == 0)
+ {
+ infoTable1.update(name, value, OTS.current().get_control());
+ }
+ else
+ {
+ infoTable2.update(name, value, OTS.current().get_control());
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client08.main: " + exception);
+ exception.printStackTrace(System.err);
+ correct = false;
+ }
+ }
+
+ OTS.current().rollback();
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client10.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ finally
+ {
+// code change to stop database locking
+ try
+ {
+ if (OTS.current().get_control() != null)
+ {
+ OTS.current().rollback();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Finally has caught exception");
+ e.printStackTrace(System.err);
+ }
+ }
+
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client10.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client11.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client11.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client11.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,126 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.JDBCResources02Clients;
+
+import org.jboss.jbossts.qa.JDBCResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client11
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String infoTableIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ InfoTable infoTable1 = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR1));
+
+ String infoTableIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ InfoTable infoTable2 = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR2));
+
+ boolean correct = true;
+
+ for (int index = 0; index < 10; index++)
+ {
+ OTS.current().begin();
+
+ String name = "Name_" + index;
+ String value = "Value_" + (9 - index);
+
+ try
+ {
+ if ((index % 2) == 0)
+ {
+ infoTable1.update(name, value, OTS.current().get_control());
+ }
+ else
+ {
+ infoTable2.update(name, value, OTS.current().get_control());
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client08.main: " + exception);
+ exception.printStackTrace(System.err);
+ correct = false;
+ }
+
+ OTS.current().rollback();
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client11.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ finally
+ {
+// code change to stop database locking
+ try
+ {
+ if (OTS.current().get_control() != null)
+ {
+ OTS.current().rollback();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Finally has caught exception");
+ e.printStackTrace(System.err);
+ }
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client11.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client12.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client12.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client12.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,110 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.JDBCResources02Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client12.java,v 1.2 2003/06/26 11:44:08 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client12.java,v 1.2 2003/06/26 11:44:08 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.JDBCResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client12
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String infoTableIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ InfoTable infoTable1 = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR1));
+
+ String infoTableIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ InfoTable infoTable2 = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR2));
+
+ for (int index = 0; index < 10; index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + (9 - index);
+
+ infoTable1.update(name, value, OTS.current().get_control());
+ infoTable2.update(name, value, OTS.current().get_control());
+ }
+
+ System.out.println("Passed");
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client12.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client12.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client13.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client13.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client13.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,120 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.JDBCResources02Clients;
+
+import org.jboss.jbossts.qa.JDBCResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client13
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String infoTableIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ InfoTable infoTable1 = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR1));
+
+ String infoTableIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ InfoTable infoTable2 = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR2));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ for (int index = 0; index < 10; index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + (9 - index);
+
+ try
+ {
+ infoTable1.update(name, value, OTS.current().get_control());
+ infoTable2.update(name, value, OTS.current().get_control());
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client08.main: " + exception);
+ exception.printStackTrace(System.err);
+ correct = false;
+ }
+ }
+
+ OTS.current().commit(true);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client13.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ finally
+ {
+// code change to stop database locking
+ try
+ {
+ if (OTS.current().get_control() != null)
+ {
+ OTS.current().rollback();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Finally has caught exception");
+ e.printStackTrace(System.err);
+ }
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client13.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client14.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client14.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client14.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,120 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.JDBCResources02Clients;
+
+import org.jboss.jbossts.qa.JDBCResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client14
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String infoTableIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ InfoTable infoTable1 = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR1));
+
+ String infoTableIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ InfoTable infoTable2 = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR2));
+
+ boolean correct = true;
+
+ for (int index = 0; index < 10; index++)
+ {
+ OTS.current().begin();
+
+ String name = "Name_" + index;
+ String value = "Value_" + (9 - index);
+
+ try
+ {
+ infoTable1.update(name, value, OTS.current().get_control());
+ infoTable2.update(name, value, OTS.current().get_control());
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client08.main: " + exception);
+ exception.printStackTrace(System.err);
+ correct = false;
+ }
+
+ OTS.current().commit(true);
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client14.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ finally
+ {
+// code change to stop database locking
+ try
+ {
+ if (OTS.current().get_control() != null)
+ {
+ OTS.current().rollback();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Finally has caught exception");
+ e.printStackTrace(System.err);
+ }
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client14.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client15.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client15.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client15.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,120 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.JDBCResources02Clients;
+
+import org.jboss.jbossts.qa.JDBCResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client15
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String infoTableIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ InfoTable infoTable1 = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR1));
+
+ String infoTableIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ InfoTable infoTable2 = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR2));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ for (int index = 0; index < 10; index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + (9 - index);
+
+ try
+ {
+ infoTable1.update(name, value, OTS.current().get_control());
+ infoTable2.update(name, value, OTS.current().get_control());
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client08.main: " + exception);
+ exception.printStackTrace(System.err);
+ correct = false;
+ }
+ }
+
+ OTS.current().rollback();
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client15.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ finally
+ {
+// code change to stop database locking
+ try
+ {
+ if (OTS.current().get_control() != null)
+ {
+ OTS.current().rollback();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Finally has caught exception");
+ e.printStackTrace(System.err);
+ }
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client15.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client16.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client16.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Clients/Client16.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,120 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.JDBCResources02Clients;
+
+import org.jboss.jbossts.qa.JDBCResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client16
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String infoTableIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ InfoTable infoTable1 = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR1));
+
+ String infoTableIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ InfoTable infoTable2 = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR2));
+
+ boolean correct = true;
+
+ for (int index = 0; index < 10; index++)
+ {
+ OTS.current().begin();
+
+ String name = "Name_" + index;
+ String value = "Value_" + (9 - index);
+
+ try
+ {
+ infoTable1.update(name, value, OTS.current().get_control());
+ infoTable2.update(name, value, OTS.current().get_control());
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client08.main: " + exception);
+ exception.printStackTrace(System.err);
+ correct = false;
+ }
+
+ OTS.current().rollback();
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client16.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ finally
+ {
+// code change to stop database locking
+ try
+ {
+ if (OTS.current().get_control() != null)
+ {
+ OTS.current().rollback();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Finally has caught exception");
+ e.printStackTrace(System.err);
+ }
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client16.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Impls/JDBCInfoTableImpl01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Impls/JDBCInfoTableImpl01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Impls/JDBCInfoTableImpl01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,434 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: JDBCInfoTableImpl01.java,v 1.6 2004/04/21 12:45:01 jcoleman Exp $
+//
+
+package org.jboss.jbossts.qa.JDBCResources02Impls;
+
+import org.jboss.jbossts.qa.JDBCResources02.*;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.omg.CORBA.StringHolder;
+import org.omg.CosTransactions.Control;
+
+import java.sql.*;
+import java.util.Properties;
+
+public class JDBCInfoTableImpl01 implements InfoTableOperations
+{
+ public JDBCInfoTableImpl01(String databaseURL, String databaseUser, String databasePassword, String databaseDynamicClass, int timeout)
+ throws InvocationException
+ {
+ _dbUser = databaseUser;
+ _databaseTimeout = timeout;
+
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("Setting up connection");
+ }
+ try
+ {
+ if (databaseDynamicClass != null)
+ {
+ Properties databaseProperties = new Properties();
+
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.userName, databaseUser);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.password, databasePassword);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.dynamicClass, databaseDynamicClass);
+
+ _connection = DriverManager.getConnection(databaseURL, databaseProperties);
+ }
+ else
+ {
+ _connection = DriverManager.getConnection(databaseURL, databaseUser, databasePassword);
+ }
+
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("connection = " + _connection);
+ System.err.println("Database URL = " + databaseURL);
+ }
+
+ Runtime.getRuntime().addShutdownHook(new JDBC01ShutdownThread());
+ DatabaseMetaData dbmd = _connection.getMetaData();
+ if (dbmd.getDatabaseProductName().startsWith("Microsoft"))
+ {
+ _useTimeout = true;
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCInfoTableImpl01.JDBCInfoTableImpl01: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public void insert(String name, String value, Control ctrl)
+ throws InvocationException
+ {
+ Statement statement = null;
+
+ try
+ {
+ System.err.println("01------------------ doing insert (" + name + "," + value + ") -----------------------------");
+ System.err.println("Current Status = " + OTS.current().get_status().value());
+ System.err.println("Control = " + ctrl);
+ com.arjuna.ats.jts.ExplicitInterposition interposition = new com.arjuna.ats.jts.ExplicitInterposition();
+ interposition.registerTransaction(ctrl);
+
+ try
+ {
+ statement = _connection.createStatement();
+ if (_useTimeout)
+ {
+ statement.setQueryTimeout(_databaseTimeout);
+ }
+
+ System.err.println("INSERT INTO " + _dbUser + "_InfoTable VALUES(\'" + name + "\', \'" + value + "\')");
+ statement.executeUpdate("INSERT INTO " + _dbUser + "_InfoTable VALUES(\'" + name + "\', \'" + value + "\')");
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCInfoTableImpl01.insert: " + exception);
+ throw new InvocationException();
+ }
+ catch (Error error)
+ {
+ System.err.println("JDBCInfoTableImpl01.insert: " + error);
+ throw new InvocationException();
+ }
+ finally
+ {
+ try
+ {
+ if (statement != null)
+ {
+ statement.close();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ try
+ {
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("Calling interposition.unregisterTransaction()");
+ }
+ interposition.unregisterTransaction();
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCInfoTableImpl01.insert: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public void update(String name, String value, Control ctrl)
+ throws InvocationException
+ {
+ Statement statement = null;
+
+ try
+ {
+ System.err.println("01------------------ doing update (" + name + "," + value + ") -----------------------------");
+ System.err.println("Current Status = " + OTS.current().get_status().value());
+ System.err.println("Control = " + ctrl);
+ com.arjuna.ats.jts.ExplicitInterposition interposition = new com.arjuna.ats.jts.ExplicitInterposition();
+ interposition.registerTransaction(ctrl);
+
+ try
+ {
+ statement = _connection.createStatement();
+ if (_useTimeout)
+ {
+ statement.setQueryTimeout(_databaseTimeout);
+ }
+
+ System.err.println("UPDATE " + _dbUser + "_InfoTable SET Value = \'" + value + "\' WHERE Name = \'" + name + "\'");
+ statement.executeUpdate("UPDATE " + _dbUser + "_InfoTable SET Value = \'" + value + "\' WHERE Name = \'" + name + "\'");
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCInfoTableImpl01.update: " + exception);
+ throw new InvocationException();
+ }
+ catch (Error error)
+ {
+ System.err.println("JDBCInfoTableImpl01.update: " + error);
+ throw new InvocationException();
+ }
+ finally
+ {
+ try
+ {
+ if (statement != null)
+ {
+ statement.close();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ try
+ {
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("Calling interposition.unregisterTransaction()");
+ }
+ interposition.unregisterTransaction();
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCInfoTableImpl01.update: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public void select(String name, StringHolder value, Control ctrl)
+ throws InvocationException
+ {
+ Statement statement = null;
+ ResultSet resultSet = null;
+
+ try
+ {
+ System.err.println("01------------------ doing select (" + name + ") -----------------------------");
+ System.err.println("Current Status = " + OTS.current().get_status().value());
+ System.err.println("Control = " + ctrl);
+ com.arjuna.ats.jts.ExplicitInterposition interposition = new com.arjuna.ats.jts.ExplicitInterposition();
+ interposition.registerTransaction(ctrl);
+
+ try
+ {
+ statement = _connection.createStatement();
+ if (_useTimeout)
+ {
+ statement.setQueryTimeout(_databaseTimeout);
+ }
+
+ System.err.println("SELECT Value FROM " + _dbUser + "_InfoTable WHERE Name = \'" + name + "\'");
+ resultSet = statement.executeQuery("SELECT Value FROM " + _dbUser + "_InfoTable WHERE Name = \'" + name + "\'");
+ resultSet.next();
+ value.value = resultSet.getString("Value");
+ if (resultSet.next())
+ {
+ throw new Exception();
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCInfoTableImpl01.select: " + exception);
+ throw new InvocationException();
+ }
+ catch (Error error)
+ {
+ System.err.println("JDBCInfoTableImpl01.select: " + error);
+ throw new InvocationException();
+ }
+ finally
+ {
+ try
+ {
+ if (resultSet != null)
+ {
+ resultSet.close();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ try
+ {
+ if (statement != null)
+ {
+ statement.close();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ try
+ {
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("Calling interposition.unregisterTransaction()");
+ }
+ interposition.unregisterTransaction();
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCInfoTableImpl01.select: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public void delete(String name, Control ctrl)
+ throws InvocationException
+ {
+ Statement statement = null;
+
+ try
+ {
+ System.err.println("01------------------ doing delete (" + name + ") -----------------------------");
+ System.err.println("Current Status = " + OTS.current().get_status().value());
+ System.err.println("Control = " + ctrl);
+ com.arjuna.ats.jts.ExplicitInterposition interposition = new com.arjuna.ats.jts.ExplicitInterposition();
+ interposition.registerTransaction(ctrl);
+
+ try
+ {
+ statement = _connection.createStatement();
+ if (_useTimeout)
+ {
+ statement.setQueryTimeout(_databaseTimeout);
+ }
+
+ System.err.println("DELETE FROM " + _dbUser + "_InfoTable WHERE Name = \'" + name + "\'");
+ statement.executeUpdate("DELETE FROM " + _dbUser + "_InfoTable WHERE Name = \'" + name + "\'");
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCInfoTableImpl01.delete: " + exception);
+ throw new InvocationException();
+ }
+ catch (Error error)
+ {
+ System.err.println("JDBCInfoTableImpl01.delete: " + error);
+ throw new InvocationException();
+ }
+ finally
+ {
+ try
+ {
+ if (statement != null)
+ {
+ statement.close();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ try
+ {
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("Calling interposition.unregisterTransaction()");
+ }
+ interposition.unregisterTransaction();
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCInfoTableImpl01.delete: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ private Connection _connection;
+ private String _dbUser;
+ private int _databaseTimeout;
+ private boolean _useTimeout = false;
+
+ /*
+ * We can't guarantee that finalize() will be called,
+ * so we have a thread that will close the database connection.
+ */
+ private class JDBC01ShutdownThread extends Thread
+ {
+ public void run()
+ {
+ System.err.println("JDBCInfoTableImpl01.JDBC01ShutdownThread: running");
+ try
+ {
+ if (_connection != null)
+ {
+ _connection.close();
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCInfoTableImpl01.JDBC01ShutdownThread: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Impls/JDBCInfoTableImpl02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Impls/JDBCInfoTableImpl02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Impls/JDBCInfoTableImpl02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,624 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: JDBCInfoTableImpl02.java,v 1.5 2004/04/21 12:45:01 jcoleman Exp $
+//
+
+package org.jboss.jbossts.qa.JDBCResources02Impls;
+
+import org.jboss.jbossts.qa.JDBCResources02.*;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.omg.CORBA.StringHolder;
+import org.omg.CosTransactions.Control;
+import org.omg.CosTransactions.Status;
+
+import java.sql.*;
+import java.util.Properties;
+
+public class JDBCInfoTableImpl02 implements InfoTableOperations
+{
+ public JDBCInfoTableImpl02(String databaseURL, String databaseUser, String databasePassword, String databaseDynamicClass, int timeout)
+ throws InvocationException
+ {
+ _databaseUser = databaseUser;
+ _databaseTimeout = timeout;
+ Connection connection = null;
+
+ try
+ {
+ if (databaseDynamicClass != null)
+ {
+ _databaseURL = databaseURL;
+
+ _databaseProperties = new Properties();
+ _databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.userName, databaseUser);
+ _databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.password, databasePassword);
+ _databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.dynamicClass, databaseDynamicClass);
+ }
+ else
+ {
+ _databaseURL = databaseURL;
+ _databaseUser = databaseUser;
+ _databasePassword = databasePassword;
+ _databaseProperties = null;
+ }
+
+ //create first connection to get metadata
+ if (_databaseProperties != null)
+ {
+ connection = DriverManager.getConnection(_databaseURL, _databaseProperties);
+ }
+ else
+ {
+ connection = DriverManager.getConnection(_databaseURL, _databaseUser, _databasePassword);
+ }
+
+ DatabaseMetaData dbmd = connection.getMetaData();
+ if (dbmd.getDatabaseProductName().startsWith("Microsoft"))
+ {
+ _useTimeout = true;
+ }
+
+ connection.close();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCInfoTableImpl02.JDBCInfoTableImpl02: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public void insert(String name, String value, Control ctrl)
+ throws InvocationException
+ {
+ Connection connection = null;
+ Statement statement = null;
+
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("Setting up connection");
+ }
+ try
+ {
+ System.err.println("02------------------ doing insert (" + name + "," + value + ") -----------------------------");
+ System.err.println("Current Status = " + OTS.current().get_status().value());
+ System.err.println("Control = " + ctrl);
+ com.arjuna.ats.jts.ExplicitInterposition interposition = new com.arjuna.ats.jts.ExplicitInterposition();
+ interposition.registerTransaction(ctrl);
+
+ try
+ {
+ if (_databaseProperties != null)
+ {
+ connection = DriverManager.getConnection(_databaseURL, _databaseProperties);
+ }
+ else
+ {
+ connection = DriverManager.getConnection(_databaseURL, _databaseUser, _databasePassword);
+ }
+
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("connection = " + connection);
+ System.err.println("Database URL = " + _databaseURL);
+ }
+
+ statement = connection.createStatement();
+ if (_useTimeout)
+ {
+ statement.setQueryTimeout(_databaseTimeout);
+ }
+
+ System.err.println("INSERT INTO " + _databaseUser + "_InfoTable VALUES(\'" + name + "\', \'" + value + "\')");
+ statement.executeUpdate("INSERT INTO " + _databaseUser + "_InfoTable VALUES(\'" + name + "\', \'" + value + "\')");
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCInfoTableImpl02.insert: " + exception);
+ throw new InvocationException();
+ }
+ catch (Error error)
+ {
+ System.err.println("JDBCInfoTableImpl02.insert: " + error);
+ throw new InvocationException();
+ }
+ finally
+ {
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("Performing explicit commit for non-transaction operation");
+ }
+ if (OTS.current().get_status().value() == Status._StatusNoTransaction)
+ {
+ try
+ {
+ connection.commit();
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ }
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("Closing connection");
+ }
+ try
+ {
+ if (statement != null)
+ {
+ statement.close();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ try
+ {
+ if (connection != null)
+ {
+ connection.close();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ try
+ {
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("Calling interposition.unregisterTransaction()");
+ }
+ interposition.unregisterTransaction();
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCInfoTableImpl02.insert: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public void update(String name, String value, Control ctrl)
+ throws InvocationException
+ {
+ Connection connection = null;
+ Statement statement = null;
+
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("Setting up connection");
+ }
+ try
+ {
+ System.err.println("02------------------ doing update (" + name + "," + value + ") -----------------------------");
+ System.err.println("Current Status = " + OTS.current().get_status().value());
+ System.err.println("Control = " + ctrl);
+ com.arjuna.ats.jts.ExplicitInterposition interposition = new com.arjuna.ats.jts.ExplicitInterposition();
+ interposition.registerTransaction(ctrl);
+
+ try
+ {
+ if (_databaseProperties != null)
+ {
+ connection = DriverManager.getConnection(_databaseURL, _databaseProperties);
+ }
+ else
+ {
+ connection = DriverManager.getConnection(_databaseURL, _databaseUser, _databasePassword);
+ }
+
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("connection = " + connection);
+ System.err.println("Database URL = " + _databaseURL);
+ }
+ statement = connection.createStatement();
+ if (_useTimeout)
+ {
+ statement.setQueryTimeout(_databaseTimeout);
+ }
+
+ System.err.println("UPDATE " + _databaseUser + "_InfoTable SET Value = \'" + value + "\' WHERE Name = \'" + name + "\'");
+ statement.executeUpdate("UPDATE " + _databaseUser + "_InfoTable SET Value = \'" + value + "\' WHERE Name = \'" + name + "\'");
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCInfoTableImpl02.update: " + exception);
+ throw new InvocationException();
+ }
+ catch (Error error)
+ {
+ System.err.println("JDBCInfoTableImpl02.update: " + error);
+ throw new InvocationException();
+ }
+ finally
+ {
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("Performing explicit commit for non-transaction operation");
+ }
+ if (OTS.current().get_status().value() == Status._StatusNoTransaction)
+ {
+ try
+ {
+ connection.commit();
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ }
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("Closing connection");
+ }
+ try
+ {
+ if (statement != null)
+ {
+ statement.close();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ try
+ {
+ if (connection != null)
+ {
+ connection.close();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ try
+ {
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("Calling interposition.unregisterTransaction()");
+ }
+ interposition.unregisterTransaction();
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCInfoTableImpl02.update: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public void select(String name, StringHolder value, Control ctrl)
+ throws InvocationException
+ {
+ Connection connection = null;
+ Statement statement = null;
+ ResultSet resultSet = null;
+
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("Setting up connection");
+ }
+ try
+ {
+ System.err.println("02------------------ doing select (" + name + ") -----------------------------");
+ System.err.println("Current Status = " + OTS.current().get_status().value());
+ System.err.println("Control = " + ctrl);
+ com.arjuna.ats.jts.ExplicitInterposition interposition = new com.arjuna.ats.jts.ExplicitInterposition();
+ interposition.registerTransaction(ctrl);
+
+ try
+ {
+ if (_databaseProperties != null)
+ {
+ connection = DriverManager.getConnection(_databaseURL, _databaseProperties);
+ }
+ else
+ {
+ connection = DriverManager.getConnection(_databaseURL, _databaseUser, _databasePassword);
+ }
+
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("connection = " + connection);
+ System.err.println("Database URL = " + _databaseURL);
+ }
+
+ statement = connection.createStatement();
+ if (_useTimeout)
+ {
+ statement.setQueryTimeout(_databaseTimeout);
+ }
+
+ System.err.println("SELECT Value FROM " + _databaseUser + "_InfoTable WHERE Name = \'" + name + "\'");
+ resultSet = statement.executeQuery("SELECT Value FROM " + _databaseUser + "_InfoTable WHERE Name = \'" + name + "\'");
+ resultSet.next();
+ value.value = resultSet.getString("Value");
+ if (resultSet.next())
+ {
+ throw new Exception();
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCInfoTableImpl02.select: " + exception);
+ throw new InvocationException();
+ }
+ catch (Error error)
+ {
+ System.err.println("JDBCInfoTableImpl02.select: " + error);
+ throw new InvocationException();
+ }
+ finally
+ {
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("Performing explicit commit for non-transaction operation");
+ }
+ if (OTS.current().get_status().value() == Status._StatusNoTransaction)
+ {
+ try
+ {
+ connection.commit();
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ }
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("Closing connection");
+ }
+ try
+ {
+ if (resultSet != null)
+ {
+ resultSet.close();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ try
+ {
+ if (statement != null)
+ {
+ statement.close();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ try
+ {
+ if (connection != null)
+ {
+ connection.close();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ try
+ {
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("Calling interposition.unregisterTransaction()");
+ }
+ interposition.unregisterTransaction();
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCInfoTableImpl02.select: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public void delete(String name, Control ctrl)
+ throws InvocationException
+ {
+ Connection connection = null;
+ Statement statement = null;
+
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("Setting up connection");
+ }
+ try
+ {
+ System.err.println("02------------------ doing delete (" + name + ") -----------------------------");
+ System.err.println("Current Status = " + OTS.current().get_status().value());
+ System.err.println("Control = " + ctrl);
+ com.arjuna.ats.jts.ExplicitInterposition interposition = new com.arjuna.ats.jts.ExplicitInterposition();
+ interposition.registerTransaction(ctrl);
+
+ try
+ {
+ if (_databaseProperties != null)
+ {
+ connection = DriverManager.getConnection(_databaseURL, _databaseProperties);
+ }
+ else
+ {
+ connection = DriverManager.getConnection(_databaseURL, _databaseUser, _databasePassword);
+ }
+
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("connection = " + connection);
+ System.err.println("Database URL = " + _databaseURL);
+ }
+
+ statement = connection.createStatement();
+ if (_useTimeout)
+ {
+ statement.setQueryTimeout(_databaseTimeout);
+ }
+
+ System.err.println("DELETE FROM " + _databaseUser + "_InfoTable WHERE Name = \'" + name + "\'");
+ statement.executeUpdate("DELETE FROM " + _databaseUser + "_InfoTable WHERE Name = \'" + name + "\'");
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCInfoTableImpl02.delete: " + exception);
+ throw new InvocationException();
+ }
+ catch (Error error)
+ {
+ System.err.println("JDBCInfoTableImpl02.delete: " + error);
+ throw new InvocationException();
+ }
+ finally
+ {
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("Performing explicit commit for non-transaction operation");
+ }
+ if (OTS.current().get_status().value() == Status._StatusNoTransaction)
+ {
+ try
+ {
+ connection.commit();
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ }
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("Closing connection");
+ }
+ try
+ {
+ if (statement != null)
+ {
+ statement.close();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ try
+ {
+ if (connection != null)
+ {
+ connection.close();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ try
+ {
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("Calling interposition.unregisterTransaction()");
+ }
+ interposition.unregisterTransaction();
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCInfoTableImpl02.delete: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ private String _databaseURL;
+ private String _databaseUser;
+ private String _databasePassword;
+ private int _databaseTimeout;
+ private Properties _databaseProperties;
+ private boolean _useTimeout = false;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Outcomes/Outcome01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Outcomes/Outcome01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Outcomes/Outcome01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,119 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.JDBCResources02Outcomes;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Outcome01.java,v 1.2 2003/06/26 11:44:10 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Outcome01.java,v 1.2 2003/06/26 11:44:10 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.JDBCResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.StringHolder;
+
+public class Outcome01
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String infoTableIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ InfoTable infoTable = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR));
+
+ boolean correct = true;
+
+ for (int index = 0; correct && (index < 10); index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + index;
+ StringHolder valueHolder = new StringHolder();
+
+ infoTable.select(name, valueHolder, OTS.current().get_control());
+
+ correct = correct && value.equals(valueHolder.value);
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Outcome01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Outcome01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Outcomes/Outcome02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Outcomes/Outcome02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Outcomes/Outcome02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,119 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.JDBCResources02Outcomes;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Outcome02.java,v 1.2 2003/06/26 11:44:10 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Outcome02.java,v 1.2 2003/06/26 11:44:10 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.JDBCResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.StringHolder;
+
+public class Outcome02
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String infoTableIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ InfoTable infoTable = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR));
+
+ boolean correct = true;
+
+ for (int index = 0; correct && (index < 10); index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + (9 - index);
+ StringHolder valueHolder = new StringHolder();
+
+ infoTable.select(name, valueHolder, OTS.current().get_control());
+
+ correct = correct && value.equals(valueHolder.value);
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Outcome02.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Outcome02.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Outcomes/Outcome03.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Outcomes/Outcome03.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Outcomes/Outcome03.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,124 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.JDBCResources02Outcomes;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Outcome03.java,v 1.2 2003/06/26 11:44:10 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Outcome03.java,v 1.2 2003/06/26 11:44:10 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.JDBCResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.StringHolder;
+
+public class Outcome03
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String infoTableIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ InfoTable infoTable1 = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR1));
+
+ String infoTableIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ InfoTable infoTable2 = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR2));
+
+ boolean correct = true;
+
+ for (int index = 0; correct && (index < 10); index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + index;
+ StringHolder valueHolder1 = new StringHolder();
+ StringHolder valueHolder2 = new StringHolder();
+
+ infoTable1.select(name, valueHolder1, OTS.current().get_control());
+ infoTable2.select(name, valueHolder2, OTS.current().get_control());
+
+ correct = correct && value.equals(valueHolder1.value) && value.equals(valueHolder2.value);
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Outcome03.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Outcome03.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Outcomes/Outcome04.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Outcomes/Outcome04.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Outcomes/Outcome04.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,124 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.JDBCResources02Outcomes;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Outcome04.java,v 1.2 2003/06/26 11:44:10 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Outcome04.java,v 1.2 2003/06/26 11:44:10 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.JDBCResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.StringHolder;
+
+public class Outcome04
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String infoTableIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ InfoTable infoTable1 = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR1));
+
+ String infoTableIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ InfoTable infoTable2 = InfoTableHelper.narrow(ORBInterface.orb().string_to_object(infoTableIOR2));
+
+ boolean correct = true;
+
+ for (int index = 0; correct && (index < 10); index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + (9 - index);
+ StringHolder valueHolder1 = new StringHolder();
+ StringHolder valueHolder2 = new StringHolder();
+
+ infoTable1.select(name, valueHolder1, OTS.current().get_control());
+ infoTable2.select(name, valueHolder2, OTS.current().get_control());
+
+ correct = correct && value.equals(valueHolder1.value) && value.equals(valueHolder2.value);
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Outcome04.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Outcome04.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Servers/Server01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Servers/Server01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Servers/Server01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,110 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.JDBCResources02Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server01.java,v 1.2 2003/06/26 11:44:10 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server01.java,v 1.2 2003/06/26 11:44:10 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.JDBCResources02.*;
+import org.jboss.jbossts.qa.JDBCResources02Impls.JDBCInfoTableImpl01;
+import org.jboss.jbossts.qa.Utils.JDBCProfileStore;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server01
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String profileName = args[args.length - 2];
+
+ int numberOfDrivers = JDBCProfileStore.numberOfDrivers(profileName);
+ for (int index = 0; index < numberOfDrivers; index++)
+ {
+ String driver = JDBCProfileStore.driver(profileName, index);
+
+ Class.forName(driver);
+ }
+
+ String databaseURL = JDBCProfileStore.databaseURL(profileName);
+ String databaseUser = JDBCProfileStore.databaseUser(profileName);
+ String databasePassword = JDBCProfileStore.databasePassword(profileName);
+ String databaseDynamicClass = JDBCProfileStore.databaseDynamicClass(profileName);
+ int databaseTimeout = JDBCProfileStore.timeout(profileName);
+
+ JDBCInfoTableImpl01 jdbcInfoTableImpl = new JDBCInfoTableImpl01(databaseURL, databaseUser, databasePassword, databaseDynamicClass, databaseTimeout);
+ InfoTablePOATie servant = new InfoTablePOATie(jdbcInfoTableImpl);
+
+ OAInterface.objectIsReady(servant);
+ InfoTable jdbcInfoTable = InfoTableHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(jdbcInfoTable));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server01.main: " + exception);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Servers/Server02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Servers/Server02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Servers/Server02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,110 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.JDBCResources02Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server02.java,v 1.2 2003/06/26 11:44:11 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server02.java,v 1.2 2003/06/26 11:44:11 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.JDBCResources02.*;
+import org.jboss.jbossts.qa.JDBCResources02Impls.JDBCInfoTableImpl02;
+import org.jboss.jbossts.qa.Utils.JDBCProfileStore;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server02
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String profileName = args[args.length - 2];
+
+ int numberOfDrivers = JDBCProfileStore.numberOfDrivers(profileName);
+ for (int index = 0; index < numberOfDrivers; index++)
+ {
+ String driver = JDBCProfileStore.driver(profileName, index);
+
+ Class.forName(driver);
+ }
+
+ String databaseURL = JDBCProfileStore.databaseURL(profileName);
+ String databaseUser = JDBCProfileStore.databaseUser(profileName);
+ String databasePassword = JDBCProfileStore.databasePassword(profileName);
+ String databaseDynamicClass = JDBCProfileStore.databaseDynamicClass(profileName);
+ int databaseTimeout = JDBCProfileStore.timeout(profileName);
+
+ JDBCInfoTableImpl02 jdbcInfoTableImpl = new JDBCInfoTableImpl02(databaseURL, databaseUser, databasePassword, databaseDynamicClass, databaseTimeout);
+ InfoTablePOATie servant = new InfoTablePOATie(jdbcInfoTableImpl);
+
+ OAInterface.objectIsReady(servant);
+ InfoTable jdbcInfoTable = InfoTableHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(jdbcInfoTable));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server02.main: " + exception);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Setups/Setup01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Setups/Setup01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Setups/Setup01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,140 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: Setup01.java,v 1.6 2004/04/21 08:30:54 jcoleman Exp $
+//
+
+package org.jboss.jbossts.qa.JDBCResources02Setups;
+
+import org.jboss.jbossts.qa.JDBCResources02.*;
+import org.jboss.jbossts.qa.Utils.JDBCProfileStore;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+
+import java.sql.Connection;
+import java.sql.DriverManager;
+import java.sql.Statement;
+import java.util.Properties;
+
+public class Setup01
+{
+ public static void main(String[] args)
+ {
+ boolean passed = true;
+
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String profileName = args[args.length - 1];
+
+ int numberOfDrivers = JDBCProfileStore.numberOfDrivers(profileName);
+ for (int index = 0; index < numberOfDrivers; index++)
+ {
+ String driver = JDBCProfileStore.driver(profileName, index);
+
+ Class.forName(driver);
+ }
+
+ String databaseURL = JDBCProfileStore.databaseURL(profileName);
+ String databaseUser = JDBCProfileStore.databaseUser(profileName);
+ String databasePassword = JDBCProfileStore.databasePassword(profileName);
+ String databaseDynamicClass = JDBCProfileStore.databaseDynamicClass(profileName);
+
+ Connection connection;
+ if (databaseDynamicClass != null)
+ {
+ Properties databaseProperties = new Properties();
+
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.userName, databaseUser);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.password, databasePassword);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.dynamicClass, databaseDynamicClass);
+
+ connection = DriverManager.getConnection(databaseURL, databaseProperties);
+ }
+ else
+ {
+ connection = DriverManager.getConnection(databaseURL, databaseUser, databasePassword);
+ }
+
+ Statement statement = connection.createStatement();
+
+ try
+ {
+ System.err.println("DROP TABLE " + databaseUser + "_InfoTable");
+ statement.executeUpdate("DROP TABLE " + databaseUser + "_InfoTable");
+ }
+ catch (java.sql.SQLException s)
+ {
+ if(!(s.getSQLState().startsWith("42") // old ms sql 2000 drivers
+ || s.getSQLState().equals("S0005") // ms sql 2005 drivers
+ || s.getSQLState().equals("ZZZZZ"))) // sybase jConnect drivers
+ {
+ System.err.println("Setup01.main: " + s);
+ System.err.println("SQL state is: <" + s.getSQLState() + ">");
+ }
+ }
+ System.err.println("CREATE TABLE " + databaseUser + "_InfoTable (Name VARCHAR(64), Value VARCHAR(64))");
+ statement.executeUpdate("CREATE TABLE " + databaseUser + "_InfoTable (Name VARCHAR(64), Value VARCHAR(64))");
+
+ statement.close();
+ connection.close();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Setup01.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ passed = false;
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Setup01.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ passed = false;
+ }
+
+ if (passed)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Setups/Setup02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Setups/Setup02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources02Setups/Setup02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,154 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: Setup02.java,v 1.6 2004/04/21 08:30:54 jcoleman Exp $
+//
+
+package org.jboss.jbossts.qa.JDBCResources02Setups;
+
+import org.jboss.jbossts.qa.JDBCResources02.*;
+import org.jboss.jbossts.qa.Utils.JDBCProfileStore;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+
+import java.sql.Connection;
+import java.sql.DriverManager;
+import java.sql.Statement;
+import java.util.Properties;
+
+public class Setup02
+{
+ public static void main(String[] args)
+ {
+ boolean passed = true;
+
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String profileName = args[args.length - 1];
+
+ int numberOfDrivers = JDBCProfileStore.numberOfDrivers(profileName);
+ for (int index = 0; index < numberOfDrivers; index++)
+ {
+ String driver = JDBCProfileStore.driver(profileName, index);
+
+ Class.forName(driver);
+ }
+
+ String databaseURL = JDBCProfileStore.databaseURL(profileName);
+ String databaseUser = JDBCProfileStore.databaseUser(profileName);
+ String databasePassword = JDBCProfileStore.databasePassword(profileName);
+ String databaseDynamicClass = JDBCProfileStore.databaseDynamicClass(profileName);
+
+ Connection connection;
+ if (databaseDynamicClass != null)
+ {
+ Properties databaseProperties = new Properties();
+
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.userName, databaseUser);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.password, databasePassword);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.dynamicClass, databaseDynamicClass);
+
+ connection = DriverManager.getConnection(databaseURL, databaseProperties);
+ }
+ else
+ {
+ connection = DriverManager.getConnection(databaseURL, databaseUser, databasePassword);
+ }
+
+ Statement statement = connection.createStatement();
+
+ try
+ {
+ System.err.println("DROP TABLE " + databaseUser + "_InfoTable");
+ statement.executeUpdate("DROP TABLE " + databaseUser + "_InfoTable");
+ }
+ catch (java.sql.SQLException s)
+ {
+ if(!(s.getSQLState().startsWith("42") // old ms sql 2000 drivers
+ || s.getSQLState().equals("S0005") // ms sql 2005 drivers
+ || s.getSQLState().equals("ZZZZZ"))) // sybase jConnect drivers
+ {
+ System.err.println("Setup01.main: " + s);
+ System.err.println("SQL state is: <" + s.getSQLState() + ">");
+ }
+ }
+ System.err.println("CREATE TABLE " + databaseUser + "_InfoTable (Name VARCHAR(64), Value VARCHAR(64))");
+ statement.executeUpdate("CREATE TABLE " + databaseUser + "_InfoTable (Name VARCHAR(64), Value VARCHAR(64))");
+
+ // Create an Index for the table just created. Microsoft SQL requires an index for Row Locking.
+ System.err.println("CREATE UNIQUE INDEX " + databaseUser + "_IT_Ind " +
+ "ON " + databaseUser + "_InfoTable (Name) ");
+ statement.executeUpdate("CREATE UNIQUE INDEX " + databaseUser + "_IT_Ind " +
+ "ON " + databaseUser + "_InfoTable (Name) ");
+
+ for (int index = 0; index < 10; index++)
+ {
+ String name = "Name_" + index;
+ String value = "Value_" + index;
+
+ System.err.println("INSERT INTO " + databaseUser + "_InfoTable VALUES(\'" + name + "\', \'" + value + "\')");
+ statement.executeUpdate("INSERT INTO " + databaseUser + "_InfoTable VALUES(\'" + name + "\', \'" + value + "\')");
+ }
+
+ statement.close();
+ connection.close();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Setup02.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ passed = false;
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Setup02.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ passed = false;
+ }
+
+ if (passed)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources03Cleanups/Cleanup01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources03Cleanups/Cleanup01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources03Cleanups/Cleanup01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,164 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: Cleanup01.java,v 1.5 2004/04/21 08:30:54 jcoleman Exp $
+//
+
+package org.jboss.jbossts.qa.JDBCResources03Cleanups;
+
+import org.jboss.jbossts.qa.JDBCResources03.*;
+import org.jboss.jbossts.qa.Utils.JDBCProfileStore;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+
+import java.sql.Connection;
+import java.sql.DriverManager;
+import java.sql.Statement;
+import java.util.Properties;
+
+public class Cleanup01
+{
+ public static void main(String[] args)
+ {
+ boolean success = false;
+ boolean trying = true;
+ int tries = 0;
+
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String profileName = args[args.length - 1];
+
+ int numberOfDrivers = JDBCProfileStore.numberOfDrivers(profileName);
+ for (int index = 0; index < numberOfDrivers; index++)
+ {
+ String driver = JDBCProfileStore.driver(profileName, index);
+
+ Class.forName(driver);
+ }
+
+ String databaseURL = JDBCProfileStore.databaseURL(profileName);
+ String databaseUser = JDBCProfileStore.databaseUser(profileName);
+ String databasePassword = JDBCProfileStore.databasePassword(profileName);
+ String databaseDynamicClass = JDBCProfileStore.databaseDynamicClass(profileName);
+
+ Connection connection;
+ if (databaseDynamicClass != null)
+ {
+ Properties databaseProperties = new Properties();
+
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.userName, databaseUser);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.password, databasePassword);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.dynamicClass, databaseDynamicClass);
+
+ connection = DriverManager.getConnection(databaseURL, databaseProperties);
+ }
+ else
+ {
+ connection = DriverManager.getConnection(databaseURL, databaseUser, databasePassword);
+ }
+
+ while (trying)
+ {
+ try
+ {
+ Statement statement = connection.createStatement();
+
+ System.err.println("DROP TABLE " + databaseUser + "_NumberTable");
+ statement.executeUpdate("DROP TABLE " + databaseUser + "_NumberTable");
+
+ statement.close();
+ connection.close();
+
+ trying = false;
+ success = true;
+ /* Server might have crashed and table might still be busy. */
+ }
+ catch (java.sql.SQLException s)
+ {
+ System.err.println("Cleanup01.main: " + s);
+ System.err.println("SQL state is: " + s.getSQLState());
+ if (s.getSQLState() == "42000" || /* no table to drop */
+ s.getSQLState() == "42S02" || /* table not found */
+ s.getSQLState() == null) /* connection failed */
+ {
+ trying = false;
+ }
+ else
+ {
+ tries++;
+ if (tries >= 6)
+ {
+ trying = false;
+ System.err.println("Giving up.");
+ }
+ else
+ {
+ try
+ {
+ System.err.println("Sleeping " + (tries * 10) + " seconds and re-trying ...");
+ Thread.sleep(tries * 10000);
+ }
+ catch (Exception e)
+ {
+ System.err.println("Cleanup01.main: " + e);
+ trying = false;
+ }
+ }
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Cleanup01.main: " + e);
+ trying = false;
+ }
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Cleanup01.main: " + exception);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Cleanup01.main: " + exception);
+ exception.printStackTrace(System.err);
+
+ success = false;
+ }
+
+ System.out.println(success ? "Passed" : "Failed");
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources03Clients/Client01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources03Clients/Client01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources03Clients/Client01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,143 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.JDBCResources03Clients;
+
+import org.jboss.jbossts.qa.JDBCResources03.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.IntHolder;
+
+public class Client01
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String numberTableIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ NumberTable numberTable = NumberTableHelper.narrow(ORBInterface.orb().string_to_object(numberTableIOR));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ IntHolder valueHolder1 = new IntHolder();
+ IntHolder valueHolder2 = new IntHolder();
+ IntHolder valueHolder3 = new IntHolder();
+ IntHolder valueHolder4 = new IntHolder();
+
+ numberTable.get("Name_0", valueHolder1);
+ numberTable.get("Name_1", valueHolder2);
+
+ System.err.println("Phase 0, Name_0: " + valueHolder1.value);
+ System.err.println("Phase 0, Name_1: " + valueHolder2.value);
+
+ numberTable.increase("Name_0");
+
+ Thread.sleep(15000);
+
+ numberTable.increase("Name_1");
+
+ numberTable.get("Name_0", valueHolder3);
+ numberTable.get("Name_1", valueHolder4);
+
+ System.err.println("Phase 1, Name_0: " + valueHolder3.value);
+ System.err.println("Phase 1, Name_1: " + valueHolder4.value);
+
+ OTS.current().commit(true);
+
+ correct = (valueHolder1.value == valueHolder2.value) && (valueHolder3.value == valueHolder4.value) &&
+ (valueHolder1.value == (valueHolder3.value - 1)) && (valueHolder2.value == (valueHolder4.value - 1));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (InvocationException exception)
+ {
+ // If the reason the exception was thrown was due to a 'can't serialize access'
+ // exception then we have passed otherwise we have failed
+
+ if (exception.myreason == Reason.ReasonCantSerializeAccess)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+
+ System.err.println("Client01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ finally
+ {
+// code change to stop database locking
+ try
+ {
+ if (OTS.current().get_control() != null)
+ {
+ OTS.current().rollback();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Finally has caught exception");
+ e.printStackTrace(System.err);
+ }
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources03Impls/JDBCNumberTableImpl01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources03Impls/JDBCNumberTableImpl01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources03Impls/JDBCNumberTableImpl01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,381 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: JDBCNumberTableImpl01.java,v 1.6 2004/06/11 09:14:25 jcoleman Exp $
+//
+
+package org.jboss.jbossts.qa.JDBCResources03Impls;
+
+import org.jboss.jbossts.qa.JDBCResources03.*;
+import org.omg.CORBA.IntHolder;
+
+import java.sql.*;
+import java.util.Properties;
+
+public class JDBCNumberTableImpl01 implements NumberTableOperations
+{
+ public JDBCNumberTableImpl01(String databaseURL, String databaseUser, String databasePassword, String databaseDynamicClass, int timeout)
+ throws InvocationException
+ {
+ _dbUser = databaseUser;
+ _databaseTimeout = timeout;
+ _databaseURL = databaseURL;
+ _dbUser = databaseUser;
+ _databasePassword = databasePassword;
+ _databaseDynamicClass = databaseDynamicClass;
+ _databaseTimeout = timeout;
+
+ try
+ {
+ _connection = getConnection();
+ Runtime.getRuntime().addShutdownHook(new JDBC01ShutdownThread());
+ DatabaseMetaData dbmd = _connection.getMetaData();
+ if (dbmd.getDatabaseProductName().startsWith("Microsoft"))
+ {
+ System.err.println("SQLServer message");
+ _useTimeout = true;
+ _message = "was deadlocked on";
+ }
+ else if (dbmd.getDatabaseProductName().equals("DBMS:cloudscape"))
+ {
+ System.err.println("setting CLOUD message");
+ _message = "A lock could not be obtained";
+ }
+ else if (dbmd.getDatabaseProductName().equals("FirstSQL/J"))
+ {
+ _useTimeout = true;
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("JDBCNumberTableImpl01.JDBCNumberTableImpl01: " + e);
+ throw new InvocationException();
+ }
+ }
+
+ public void get(String name, IntHolder value)
+ throws InvocationException
+ {
+ Statement statement = null;
+ ResultSet resultSet = null;
+
+ try
+ {
+ System.err.println("-- get called --");
+ statement = null;
+ if (!_newConnection)
+ {
+ statement = _connection.createStatement();
+ }
+ else
+ {
+ statement = getConnection().createStatement();
+ }
+
+ _newConnection = false;
+
+ if (_useTimeout)
+ {
+ statement.setQueryTimeout(_databaseTimeout);
+ }
+
+ System.err.println("SELECT Value FROM " + _dbUser + "_NumberTable WHERE Name = \'" + name + "\'");
+ resultSet = statement.executeQuery("SELECT Value FROM " + _dbUser + "_NumberTable WHERE Name = \'" + name + "\'");
+ resultSet.next();
+ value.value = resultSet.getInt("Value");
+ if (resultSet.next())
+ {
+ throw new Exception();
+ }
+ }
+ catch (java.sql.SQLException sqlException)
+ {
+ System.err.println("JDBCNumberTableImpl01.get: " + sqlException);
+ // Check error message to see if it is a "can't serialize access" message
+ String message = sqlException.getMessage();
+
+ if ((message != null) && (message.indexOf("connection is already associated with a different transaction") != -1))
+ {
+ try
+ {
+ _newConnection = true;
+ get(name, value);
+ }
+ catch (Exception e)
+ {
+ System.err.println("Extra exception: " + e);
+ }
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCNumberTableImpl01.get: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ finally
+ {
+ try
+ {
+ if (resultSet != null)
+ {
+ resultSet.close();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ try
+ {
+ if (statement != null)
+ {
+ statement.close();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ }
+ }
+
+ public void set(String name, int value)
+ throws InvocationException
+ {
+ Statement statement = null;
+
+ try
+ {
+ System.err.println("-- set called --");
+ statement = _connection.createStatement();
+ if (_useTimeout)
+ {
+ statement.setQueryTimeout(_databaseTimeout);
+ }
+
+ System.err.println("UPDATE " + _dbUser + "_NumberTable SET Value = " + value + " WHERE Name = \'" + name + "\'");
+ statement.executeUpdate("UPDATE " + _dbUser + "_NumberTable SET Value = " + value + " WHERE Name = \'" + name + "\'");
+ }
+ catch (java.sql.SQLException sqlException)
+ {
+ System.err.println("JDBCNumberTableImpl01.set: " + sqlException);
+ // Check error message to see if it is a "can't serialize access" message
+ String message = sqlException.getMessage();
+
+ if ((message != null) && (message.indexOf(_message) != -1))
+ {
+ throw new InvocationException(Reason.ReasonCantSerializeAccess);
+ }
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCNumberTableImpl01.set: " + exception);
+ exception.printStackTrace();
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ finally
+ {
+ try
+ {
+ if (statement != null)
+ {
+ statement.close();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ }
+ }
+
+ public void increase(String name)
+ throws InvocationException
+ {
+ Statement statement = null;
+
+ try
+ {
+ System.err.println("-- increase --");
+ statement = null;
+ if (!_newConnection)
+ {
+ statement = _connection.createStatement();
+ }
+ else
+ {
+ statement = getConnection().createStatement();
+ }
+
+ _newConnection = false;
+
+ if (_useTimeout)
+ {
+ statement.setQueryTimeout(_databaseTimeout);
+ }
+
+ System.err.println("UPDATE " + _dbUser + "_NumberTable SET Value = Value + 1 WHERE NAME = \'" + name + "\'");
+ statement.executeUpdate("UPDATE " + _dbUser + "_NumberTable SET Value = Value + 1 WHERE NAME = \'" + name + "\'");
+ }
+ catch (java.sql.SQLException sqlException)
+ {
+ System.err.println("JDBCNumberTableImpl01.increase: " + sqlException);
+ // Check error message to see if it is a "can't serialize access" message
+ String message = sqlException.getMessage();
+
+ if ((message != null) && (message.indexOf(_message) != -1))
+ {
+ throw new InvocationException(Reason.ReasonCantSerializeAccess);
+ }
+ if ((message != null) && (message.indexOf("connection is already associated with a different transaction") != -1))
+ {
+ try
+ {
+ _newConnection = true;
+ increase(name);
+ }
+ catch (InvocationException ie)
+ {
+ System.err.println("Invoc exception pass this to client");
+ if (ie.myreason == Reason.ReasonCantSerializeAccess)
+ {
+ throw new InvocationException(Reason.ReasonCantSerializeAccess);
+ }
+ else
+ {
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Extra exception: " + e);
+ }
+ }
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCNumberTableImpl01.increase: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ finally
+ {
+ try
+ {
+ if (statement != null)
+ {
+ statement.close();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ }
+ }
+
+ private Connection getConnection()
+ throws Exception
+ {
+ Connection connection = null;
+
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("Setting up connection");
+ }
+
+ try
+ {
+ if (_databaseDynamicClass != null)
+ {
+ Properties databaseProperties = new Properties();
+
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.userName, _dbUser);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.password, _databasePassword);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.dynamicClass, _databaseDynamicClass);
+
+ connection = DriverManager.getConnection(_databaseURL, databaseProperties);
+ }
+ else
+ {
+ connection = DriverManager.getConnection(_databaseURL, _dbUser, _databasePassword);
+ }
+
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("connection = " + connection);
+ System.err.println("Database URL = " + _databaseURL);
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCNumberTableImpl01.getConnection: " + exception);
+ throw new Exception("error in getConnection:" + exception);
+ }
+ return connection;
+ }
+
+ private Connection _connection;
+ private String _databaseURL;
+ private String _dbUser;
+ private String _databasePassword;
+ private String _databaseDynamicClass;
+ private int _databaseTimeout;
+ private boolean _useTimeout = false;
+ private boolean _newConnection = false;
+ private String _message = "can't serialize access";
+
+ /*
+ * We can't guarantee that finalize() will be called,
+ * so we have a thread that will close the database connection.
+ */
+ private class JDBC01ShutdownThread extends Thread
+ {
+ public void run()
+ {
+ System.err.println("JDBCNumberTableImpl01.JDBC01ShutdownThread: running");
+ try
+ {
+ if (_connection != null)
+ {
+ _connection.close();
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCNumberTableImpl01.JDBC01ShutdownThread: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources03Impls/JDBCNumberTableImpl02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources03Impls/JDBCNumberTableImpl02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources03Impls/JDBCNumberTableImpl02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,402 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: JDBCNumberTableImpl02.java,v 1.4 2004/06/11 09:14:25 jcoleman Exp $
+//
+
+package org.jboss.jbossts.qa.JDBCResources03Impls;
+
+import org.jboss.jbossts.qa.JDBCResources03.*;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.omg.CORBA.IntHolder;
+import org.omg.CosTransactions.Status;
+
+import java.sql.*;
+import java.util.Properties;
+
+public class JDBCNumberTableImpl02 implements NumberTableOperations
+{
+ public JDBCNumberTableImpl02(String databaseURL, String databaseUser, String databasePassword, String databaseDynamicClass, int timeout)
+ throws InvocationException
+ {
+ _dbUser = databaseUser;
+ _databaseTimeout = timeout;
+ _databaseURL = databaseURL;
+ _dbUser = databaseUser;
+ _databasePassword = databasePassword;
+ _databaseDynamicClass = databaseDynamicClass;
+
+ try
+ {
+ Connection _connection = getConnection();
+ DatabaseMetaData dbmd = _connection.getMetaData();
+ if (dbmd.getDatabaseProductName().startsWith("Microsoft"))
+ {
+ System.err.println("SQLServer message");
+ _useTimeout = true;
+ _message = "was deadlocked on";
+ }
+ else if (dbmd.getDatabaseProductName().equals("DBMS:cloudscape"))
+ {
+ System.err.println("setting CLOUD message");
+ _message = "A lock could not be obtained";
+ }
+ else if (dbmd.getDatabaseProductName().equals("FirstSQL/J"))
+ {
+ _useTimeout = true;
+ }
+ _connection.close();
+ }
+ catch (Exception e)
+ {
+ System.err.println("JDBCNumberTableImpl02.JDBCNumberTableImpl02: " + e);
+ throw new InvocationException();
+ }
+ }
+
+ public void get(String name, IntHolder value)
+ throws InvocationException
+ {
+ Connection connection = null;
+ Statement statement = null;
+ ResultSet resultSet = null;
+
+ try
+ {
+ System.err.println("-- get called --");
+ connection = getConnection();
+ statement = connection.createStatement();
+
+ if (_useTimeout)
+ {
+ statement.setQueryTimeout(_databaseTimeout);
+ }
+
+ System.err.println("SELECT Value FROM " + _dbUser + "_NumberTable WHERE Name = \'" + name + "\'");
+ resultSet = statement.executeQuery("SELECT Value FROM " + _dbUser + "_NumberTable WHERE Name = \'" + name + "\'");
+ resultSet.next();
+ value.value = resultSet.getInt("Value");
+ if (resultSet.next())
+ {
+ throw new Exception();
+ }
+ }
+ catch (java.sql.SQLException sqlException)
+ {
+ System.err.println("JDBCNumberTableImpl02.get: " + sqlException);
+ // Check error message to see if it is a "can't serialize access" message
+ String message = sqlException.getMessage();
+
+ if ((message != null) && (message.indexOf("Connection is already associated with a different transaction") != -1))
+ {
+ try
+ {
+ if (connection != null)
+ {
+ connection.close();
+ }
+ get(name, value);
+ }
+ catch (Exception e)
+ {
+ System.err.println("Extra exception: " + e);
+ }
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCNumberTableImpl02.get: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ finally
+ {
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("Performing explicit commit for non-transaction operation");
+ }
+ if (OTS.current().get_status().value() == Status._StatusNoTransaction)
+ {
+ try
+ {
+ connection.commit();
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ }
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("Closing connection");
+ }
+ try
+ {
+ if (resultSet != null)
+ {
+ resultSet.close();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ try
+ {
+ if (statement != null)
+ {
+ statement.close();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ try
+ {
+ if (connection != null)
+ {
+ connection.close();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ }
+ }
+
+ public void set(String name, int value)
+ throws InvocationException
+ {
+ Connection connection = null;
+ Statement statement = null;
+
+ try
+ {
+ System.err.println("-- set called --");
+ connection = getConnection();
+
+ statement = connection.createStatement();
+ if (_useTimeout)
+ {
+ statement.setQueryTimeout(_databaseTimeout);
+ }
+
+ System.err.println("UPDATE " + _dbUser + "_NumberTable SET Value = " + value + " WHERE Name = \'" + name + "\'");
+ statement.executeUpdate("UPDATE " + _dbUser + "_NumberTable SET Value = " + value + " WHERE Name = \'" + name + "\'");
+ }
+ catch (java.sql.SQLException sqlException)
+ {
+ System.err.println("JDBCNumberTableImpl02.set: " + sqlException);
+
+ // Check error message to see if it is a "can't serialize access" message
+ String message = sqlException.getMessage();
+
+ if ((message != null) && (message.indexOf(_message) != -1))
+ {
+ throw new InvocationException(Reason.ReasonCantSerializeAccess);
+ }
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCNumberTableImpl02.set: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ finally
+ {
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("Performing explicit commit for non-transaction operation");
+ }
+ if (OTS.current().get_status().value() == Status._StatusNoTransaction)
+ {
+ try
+ {
+ connection.commit();
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ }
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("Closing connection");
+ }
+ try
+ {
+ if (statement != null)
+ {
+ statement.close();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ try
+ {
+ if (connection != null)
+ {
+ connection.close();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ }
+ }
+
+ public void increase(String name)
+ throws InvocationException
+ {
+ Connection connection = null;
+ Statement statement = null;
+
+ try
+ {
+ System.err.println("-- increase --");
+ connection = getConnection();
+
+ statement = connection.createStatement();
+ if (_useTimeout)
+ {
+ statement.setQueryTimeout(_databaseTimeout);
+ }
+
+ System.err.println("UPDATE " + _dbUser + "_NumberTable SET Value = Value + 1 WHERE NAME = \'" + name + "\'");
+ statement.executeUpdate("UPDATE " + _dbUser + "_NumberTable SET Value = Value + 1 WHERE NAME = \'" + name + "\'");
+
+ statement.close();
+ connection.close();
+ }
+ catch (java.sql.SQLException sqlException)
+ {
+ System.err.println("JDBCNumberTableImpl02.increase: " + sqlException);
+
+ // Check error message to see if it is a "can't serialize access" message
+ String message = sqlException.getMessage();
+
+ if ((message != null) && (message.indexOf(_message) != -1))
+ {
+ throw new InvocationException(Reason.ReasonCantSerializeAccess);
+ }
+
+ if ((message != null) && (message.indexOf("Connection is already associated with a different transaction") != -1))
+ {
+ try
+ {
+ if (connection != null)
+ {
+ connection.close();
+ }
+ increase(name);
+ }
+ catch (InvocationException ie)
+ {
+ System.err.println("Invoc exception pass this to client");
+ if (ie.myreason == Reason.ReasonCantSerializeAccess)
+ {
+ throw new InvocationException(Reason.ReasonCantSerializeAccess);
+ }
+ else
+ {
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Extra exception: " + e);
+ }
+ }
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCNumberTableImpl02.increase: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ private Connection getConnection()
+ throws Exception
+ {
+ Connection connection = null;
+
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("Setting up connection");
+ }
+ try
+ {
+ if (_databaseDynamicClass != null)
+ {
+ Properties databaseProperties = new Properties();
+
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.userName, _dbUser);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.password, _databasePassword);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.dynamicClass, _databaseDynamicClass);
+
+ connection = DriverManager.getConnection(_databaseURL, databaseProperties);
+ }
+ else
+ {
+ connection = DriverManager.getConnection(_databaseURL, _dbUser, _databasePassword);
+ }
+
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("connection = " + connection);
+ System.err.println("Database URL = " + _databaseURL);
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCNumberTableImpl02.getConnection: " + exception);
+ throw new Exception("error in getConnection:" + exception);
+ }
+ return connection;
+ }
+
+ private String _databaseURL;
+ private String _dbUser;
+ private String _databasePassword;
+ private String _databaseDynamicClass;
+ private int _databaseTimeout;
+ private boolean _useTimeout = false;
+ private String _message = "can't serialize access";
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources03Impls/JDBCNumberTableImpl03.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources03Impls/JDBCNumberTableImpl03.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources03Impls/JDBCNumberTableImpl03.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,378 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: JDBCNumberTableImpl03.java,v 1.6 2004/06/11 09:14:25 jcoleman Exp $
+//
+
+package org.jboss.jbossts.qa.JDBCResources03Impls;
+
+import org.jboss.jbossts.qa.JDBCResources03.*;
+import org.omg.CORBA.IntHolder;
+
+import java.sql.*;
+import java.util.Hashtable;
+import java.util.Properties;
+
+public class JDBCNumberTableImpl03 implements NumberTableOperations
+{
+ public JDBCNumberTableImpl03(String databaseURL, String databaseUser, String databasePassword, String databaseDynamicClass, int timeout)
+ throws InvocationException
+ {
+ _dbUser = databaseUser;
+ _databaseTimeout = timeout;
+ _databaseURL = databaseURL;
+ _dbPassword = databasePassword;
+
+ try
+ {
+ if (databaseDynamicClass != null)
+ {
+ _databaseProperties = new Properties();
+
+ _databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.userName, databaseUser);
+ _databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.password, databasePassword);
+ _databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.dynamicClass, databaseDynamicClass);
+
+ _connection = DriverManager.getConnection(databaseURL, _databaseProperties);
+ }
+ else
+ {
+ _connection = DriverManager.getConnection(databaseURL, databaseUser, databasePassword);
+ }
+
+ DatabaseMetaData dbmd = _connection.getMetaData();
+ if (dbmd.getDatabaseProductName().startsWith("Microsoft"))
+ {
+ _useTimeout = true;
+ }
+ else if (dbmd.getDatabaseProductName().equals("FirstSQL/J"))
+ {
+ _useTimeout = true;
+ }
+
+ _connection.close();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCNumberTableImpl03.JDBCNumberTableImpl03: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public void get(String name, IntHolder value)
+ throws InvocationException
+ {
+ Statement statement = null;
+ ResultSet resultSet = null;
+
+ System.err.println("-- get called --");
+ while (true)
+ {
+ try
+ {
+ Connection conn = getConnection();
+ statement = conn.createStatement();
+ if (_useTimeout)
+ {
+ statement.setQueryTimeout(_databaseTimeout);
+ }
+
+ System.err.println("SELECT Value FROM " + _dbUser + "_NumberTable WHERE Name = \'" + name + "\'");
+ resultSet = statement.executeQuery("SELECT Value FROM " + _dbUser + "_NumberTable WHERE Name = \'" + name + "\'");
+ resultSet.next();
+ value.value = resultSet.getInt("Value");
+ if (resultSet.next())
+ {
+ throw new Exception();
+ }
+
+ try
+ {
+ javax.transaction.TransactionManager tm = com.arjuna.ats.jta.TransactionManager.transactionManager();
+ javax.transaction.Transaction tx = (javax.transaction.Transaction) tm.getTransaction();
+
+ _connections.put(tx, conn);
+ }
+ catch (Exception ex)
+ {
+ System.err.println(ex);
+ }
+
+ return;
+ }
+ catch (SQLException ex)
+ {
+ System.err.println("JDBCNumberTableImpl03.get: " + ex);
+ String message = ex.getMessage();
+
+ if (message.indexOf("already associated") == -1)
+ {
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCNumberTableImpl03.get: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ finally
+ {
+ try
+ {
+ if (resultSet != null)
+ {
+ resultSet.close();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ try
+ {
+ if (statement != null)
+ {
+ statement.close();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ }
+ }
+ }
+
+ public void set(String name, int value)
+ throws InvocationException
+ {
+ Statement statement = null;
+
+ System.err.println("-- set called --");
+ while (true)
+ {
+ try
+ {
+ Connection conn = getConnection();
+ statement = conn.createStatement();
+ if (_useTimeout)
+ {
+ statement.setQueryTimeout(_databaseTimeout);
+ }
+
+ System.err.println("UPDATE " + _dbUser + "_NumberTable SET Value = " + value + " WHERE Name = \'" + name + "\'");
+ statement.executeUpdate("UPDATE " + _dbUser + "_NumberTable SET Value = " + value + " WHERE Name = \'" + name + "\'");
+
+ try
+ {
+ javax.transaction.TransactionManager tm = com.arjuna.ats.jta.TransactionManager.transactionManager();
+ javax.transaction.Transaction tx = (javax.transaction.Transaction) tm.getTransaction();
+
+ _connections.put(tx, conn);
+ }
+ catch (Exception ex)
+ {
+ System.err.println(ex);
+ }
+
+ return;
+ }
+ catch (java.sql.SQLException sqlException)
+ {
+ System.err.println("JDBCNumberTableImpl03.set: " + sqlException);
+
+ // Check error message to see if it is a "can't serialize access" message
+ String message = sqlException.getMessage();
+
+ if ((message != null) && (message.indexOf("can't serialize access") != -1))
+ {
+ throw new InvocationException(Reason.ReasonCantSerializeAccess);
+ }
+ else if ((message != null) && (message.indexOf("deadlock") != -1))
+ {
+ throw new InvocationException(Reason.ReasonCantSerializeAccess);
+ }
+
+ if (message.indexOf("already associated") == -1)
+ {
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCNumberTableImpl03.set: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ finally
+ {
+ try
+ {
+ if (statement != null)
+ {
+ statement.close();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ }
+ }
+ }
+
+ public void increase(String name)
+ throws InvocationException
+ {
+ Statement statement = null;
+
+ System.err.println("-- set called --");
+ while (true)
+ {
+ try
+ {
+ Connection conn = getConnection();
+ statement = conn.createStatement();
+ if (_useTimeout)
+ {
+ statement.setQueryTimeout(_databaseTimeout);
+ }
+
+ System.err.println("UPDATE " + _dbUser + "_NumberTable SET Value = Value + 1 WHERE NAME = \'" + name + "\'");
+ statement.executeUpdate("UPDATE " + _dbUser + "_NumberTable SET Value = Value + 1 WHERE NAME = \'" + name + "\'");
+
+ try
+ {
+ javax.transaction.TransactionManager tm = com.arjuna.ats.jta.TransactionManager.transactionManager();
+ javax.transaction.Transaction tx = (javax.transaction.Transaction) tm.getTransaction();
+
+ _connections.put(tx, conn);
+ }
+ catch (Exception ex)
+ {
+ System.err.println(ex);
+ }
+
+ return;
+ }
+ catch (java.sql.SQLException sqlException)
+ {
+ System.err.println("JDBCNumberTableImpl03.increase: " + sqlException);
+ // Check error message to see if it is a "can't serialize access" message
+ String message = sqlException.getMessage();
+
+ if ((message != null) && (message.indexOf("can't serialize access") != -1))
+ {
+ throw new InvocationException(Reason.ReasonCantSerializeAccess);
+ }
+ else if ((message != null) && (message.indexOf("deadlock") != -1))
+ {
+ throw new InvocationException(Reason.ReasonCantSerializeAccess);
+ }
+
+ if (message.indexOf("already associated") == -1)
+ {
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCNumberTableImpl03.increase: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ finally
+ {
+ try
+ {
+ if (statement != null)
+ {
+ statement.close();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ }
+ }
+ }
+
+ private Connection getConnection() throws SQLException
+ {
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("Setting up connection");
+ }
+ try
+ {
+ javax.transaction.TransactionManager tm = com.arjuna.ats.jta.TransactionManager.transactionManager();
+ javax.transaction.Transaction tx = (javax.transaction.Transaction) tm.getTransaction();
+
+ Connection conn = (Connection) _connections.get(tx);
+
+ if (conn == null)
+ {
+ System.err.println("**creating connection");
+
+ if (_databaseProperties != null)
+ {
+ conn = DriverManager.getConnection(_databaseURL, _databaseProperties);
+ }
+ else
+ {
+ conn = DriverManager.getConnection(_databaseURL, _dbUser, _dbPassword);
+ }
+ }
+
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("conn = " + conn);
+ System.err.println("Database URL = " + _databaseURL);
+ }
+ System.err.println("returning " + conn + " for " + tx);
+
+ return conn;
+ }
+ catch (Exception ex)
+ {
+ throw new SQLException(ex.toString());
+ }
+ }
+
+ private Hashtable _connections = new Hashtable();
+ private Connection _connection;
+ private String _dbUser;
+ private int _databaseTimeout;
+ private boolean _useTimeout = false;
+ private Properties _databaseProperties;
+ private String _databaseURL;
+ private String _dbPassword;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources03Outcomes/Outcome01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources03Outcomes/Outcome01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources03Outcomes/Outcome01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,124 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.JDBCResources03Outcomes;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Outcome01.java,v 1.2 2003/06/26 11:44:13 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Outcome01.java,v 1.2 2003/06/26 11:44:13 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.JDBCResources03.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.IntHolder;
+
+public class Outcome01
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ int maxIndex = Integer.parseInt(args[args.length - 2]);
+
+ String numberTableIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ NumberTable numberTable = NumberTableHelper.narrow(ORBInterface.orb().string_to_object(numberTableIOR));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ for (int index = 0; correct && (index < maxIndex); index++)
+ {
+ String name = "Name_" + index;
+ IntHolder valueHolder = new IntHolder();
+
+ numberTable.get(name, valueHolder);
+
+ correct = correct && (valueHolder.value == maxIndex);
+ }
+
+ OTS.current().commit(true);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Outcome01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Outcome01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources03Servers/Server01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources03Servers/Server01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources03Servers/Server01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,110 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.JDBCResources03Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server01.java,v 1.2 2003/06/26 11:44:13 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server01.java,v 1.2 2003/06/26 11:44:13 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.JDBCResources03.*;
+import org.jboss.jbossts.qa.JDBCResources03Impls.JDBCNumberTableImpl01;
+import org.jboss.jbossts.qa.Utils.JDBCProfileStore;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server01
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String profileName = args[args.length - 2];
+
+ int numberOfDrivers = JDBCProfileStore.numberOfDrivers(profileName);
+ for (int index = 0; index < numberOfDrivers; index++)
+ {
+ String driver = JDBCProfileStore.driver(profileName, index);
+
+ Class.forName(driver);
+ }
+
+ String databaseURL = JDBCProfileStore.databaseURL(profileName);
+ String databaseUser = JDBCProfileStore.databaseUser(profileName);
+ String databasePassword = JDBCProfileStore.databasePassword(profileName);
+ String databaseDynamicClass = JDBCProfileStore.databaseDynamicClass(profileName);
+ int databaseTimeout = JDBCProfileStore.timeout(profileName);
+
+ JDBCNumberTableImpl01 jdbcNumberTableImpl = new JDBCNumberTableImpl01(databaseURL, databaseUser, databasePassword, databaseDynamicClass, databaseTimeout);
+ NumberTablePOATie servant = new NumberTablePOATie(jdbcNumberTableImpl);
+
+ OAInterface.objectIsReady(servant);
+ NumberTable jdbcNumberTable = NumberTableHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(jdbcNumberTable));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server01.main: " + exception);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources03Servers/Server02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources03Servers/Server02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources03Servers/Server02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,110 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.JDBCResources03Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server02.java,v 1.2 2003/06/26 11:44:13 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server02.java,v 1.2 2003/06/26 11:44:13 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.JDBCResources03.*;
+import org.jboss.jbossts.qa.JDBCResources03Impls.JDBCNumberTableImpl02;
+import org.jboss.jbossts.qa.Utils.JDBCProfileStore;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server02
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String profileName = args[args.length - 2];
+
+ int numberOfDrivers = JDBCProfileStore.numberOfDrivers(profileName);
+ for (int index = 0; index < numberOfDrivers; index++)
+ {
+ String driver = JDBCProfileStore.driver(profileName, index);
+
+ Class.forName(driver);
+ }
+
+ String databaseURL = JDBCProfileStore.databaseURL(profileName);
+ String databaseUser = JDBCProfileStore.databaseUser(profileName);
+ String databasePassword = JDBCProfileStore.databasePassword(profileName);
+ String databaseDynamicClass = JDBCProfileStore.databaseDynamicClass(profileName);
+ int databaseTimeout = JDBCProfileStore.timeout(profileName);
+
+ JDBCNumberTableImpl02 jdbcNumberTableImpl = new JDBCNumberTableImpl02(databaseURL, databaseUser, databasePassword, databaseDynamicClass, databaseTimeout);
+ NumberTablePOATie servant = new NumberTablePOATie(jdbcNumberTableImpl);
+
+ OAInterface.objectIsReady(servant);
+ NumberTable jdbcNumberTable = NumberTableHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(jdbcNumberTable));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server02.main: " + exception);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources03Servers/Server03.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources03Servers/Server03.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources03Servers/Server03.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,110 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.JDBCResources03Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server03.java,v 1.2 2003/06/26 11:44:13 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server03.java,v 1.2 2003/06/26 11:44:13 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.JDBCResources03.*;
+import org.jboss.jbossts.qa.JDBCResources03Impls.JDBCNumberTableImpl03;
+import org.jboss.jbossts.qa.Utils.JDBCProfileStore;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server03
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String profileName = args[args.length - 2];
+
+ int numberOfDrivers = JDBCProfileStore.numberOfDrivers(profileName);
+ for (int index = 0; index < numberOfDrivers; index++)
+ {
+ String driver = JDBCProfileStore.driver(profileName, index);
+
+ Class.forName(driver);
+ }
+
+ String databaseURL = JDBCProfileStore.databaseURL(profileName);
+ String databaseUser = JDBCProfileStore.databaseUser(profileName);
+ String databasePassword = JDBCProfileStore.databasePassword(profileName);
+ String databaseDynamicClass = JDBCProfileStore.databaseDynamicClass(profileName);
+ int databaseTimeout = JDBCProfileStore.timeout(profileName);
+
+ JDBCNumberTableImpl03 jdbcNumberTableImpl = new JDBCNumberTableImpl03(databaseURL, databaseUser, databasePassword, databaseDynamicClass, databaseTimeout);
+ NumberTablePOATie servant = new NumberTablePOATie(jdbcNumberTableImpl);
+
+ OAInterface.objectIsReady(servant);
+ NumberTable jdbcNumberTable = NumberTableHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(jdbcNumberTable));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server02.main: " + exception);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources03Setups/Setup01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources03Setups/Setup01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources03Setups/Setup01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,143 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: Setup01.java,v 1.7 2004/06/11 09:14:26 jcoleman Exp $
+//
+
+package org.jboss.jbossts.qa.JDBCResources03Setups;
+
+import org.jboss.jbossts.qa.JDBCResources03.*;
+import org.jboss.jbossts.qa.Utils.JDBCProfileStore;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+
+import java.sql.Connection;
+import java.sql.DriverManager;
+import java.sql.Statement;
+import java.util.Properties;
+
+public class Setup01
+{
+ public static void main(String[] args)
+ {
+ boolean passed = true;
+
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ int maxIndex = Integer.parseInt(args[args.length - 2]);
+
+ String profileName = args[args.length - 1];
+
+ int numberOfDrivers = JDBCProfileStore.numberOfDrivers(profileName);
+ for (int index = 0; index < numberOfDrivers; index++)
+ {
+ String driver = JDBCProfileStore.driver(profileName, index);
+
+ Class.forName(driver);
+ }
+
+ String databaseURL = JDBCProfileStore.databaseURL(profileName);
+ String databaseUser = JDBCProfileStore.databaseUser(profileName);
+ String databasePassword = JDBCProfileStore.databasePassword(profileName);
+ String databaseDynamicClass = JDBCProfileStore.databaseDynamicClass(profileName);
+
+ Connection connection;
+ if (databaseDynamicClass != null)
+ {
+ Properties databaseProperties = new Properties();
+
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.userName, databaseUser);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.password, databasePassword);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.dynamicClass, databaseDynamicClass);
+
+ connection = DriverManager.getConnection(databaseURL, databaseProperties);
+ }
+ else
+ {
+ connection = DriverManager.getConnection(databaseURL, databaseUser, databasePassword);
+ }
+ connection.setAutoCommit(true);
+ Statement statement = connection.createStatement();
+
+ try
+ {
+ System.err.println("DROP TABLE " + databaseUser + "_NumberTable");
+ statement.executeUpdate("DROP TABLE " + databaseUser + "_NumberTable");
+ }
+ catch (java.sql.SQLException s)
+ {
+ if(!(s.getSQLState().startsWith("42") // old ms sql 2000 drivers
+ || s.getSQLState().equals("S0005") // ms sql 2005 drivers
+ || s.getSQLState().equals("ZZZZZ"))) // sybase jConnect drivers
+ {
+ System.err.println("Setup01.main: " + s);
+ System.err.println("SQL state is: <" + s.getSQLState() + ">");
+ }
+ }
+ System.err.println("CREATE TABLE " + databaseUser + "_NumberTable (Name VARCHAR(64), Value INTEGER)");
+ statement.executeUpdate("CREATE TABLE " + databaseUser + "_NumberTable (Name VARCHAR(64), Value INTEGER)");
+
+ for (int index = 0; index < maxIndex; index++)
+ {
+ System.err.println("INSERT INTO " + databaseUser + "_NumberTable VALUES(\'Name_" + index + "\', 0)");
+ statement.executeUpdate("INSERT INTO " + databaseUser + "_NumberTable VALUES(\'Name_" + index + "\', 0)");
+ }
+
+ statement.close();
+ connection.close();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Setup01.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ passed = false;
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Setup01.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ passed = false;
+ }
+
+ if (passed)
+ {
+ System.out.println("Passed");
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources04Cleanups/Cleanup01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources04Cleanups/Cleanup01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources04Cleanups/Cleanup01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,164 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: Cleanup01.java,v 1.5 2004/04/21 08:30:55 jcoleman Exp $
+//
+
+package org.jboss.jbossts.qa.JDBCResources04Cleanups;
+
+import org.jboss.jbossts.qa.JDBCResources04.*;
+import org.jboss.jbossts.qa.Utils.JDBCProfileStore;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+
+import java.sql.Connection;
+import java.sql.DriverManager;
+import java.sql.Statement;
+import java.util.Properties;
+
+public class Cleanup01
+{
+ public static void main(String[] args)
+ {
+ boolean success = false;
+ boolean trying = true;
+ int tries = 0;
+
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String profileName = args[args.length - 1];
+
+ int numberOfDrivers = JDBCProfileStore.numberOfDrivers(profileName);
+ for (int index = 0; index < numberOfDrivers; index++)
+ {
+ String driver = JDBCProfileStore.driver(profileName, index);
+
+ Class.forName(driver);
+ }
+
+ String databaseURL = JDBCProfileStore.databaseURL(profileName);
+ String databaseUser = JDBCProfileStore.databaseUser(profileName);
+ String databasePassword = JDBCProfileStore.databasePassword(profileName);
+ String databaseDynamicClass = JDBCProfileStore.databaseDynamicClass(profileName);
+
+ Connection connection;
+ if (databaseDynamicClass != null)
+ {
+ Properties databaseProperties = new Properties();
+
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.userName, databaseUser);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.password, databasePassword);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.dynamicClass, databaseDynamicClass);
+
+ connection = DriverManager.getConnection(databaseURL, databaseProperties);
+ }
+ else
+ {
+ connection = DriverManager.getConnection(databaseURL, databaseUser, databasePassword);
+ }
+
+ while (trying)
+ {
+ try
+ {
+ Statement statement = connection.createStatement();
+
+ System.err.println("DROP TABLE " + databaseUser + "_NumberTable");
+ statement.executeUpdate("DROP TABLE " + databaseUser + "_NumberTable");
+
+ statement.close();
+ connection.close();
+
+ trying = false;
+ success = true;
+ /* Server might have crashed and table might still be busy. */
+ }
+ catch (java.sql.SQLException s)
+ {
+ System.err.println("Cleanup01.main: " + s);
+ System.err.println("SQL state is: " + s.getSQLState());
+ if (s.getSQLState() == "42000" || /* no table to drop */
+ s.getSQLState() == "42S02" || /* table not found */
+ s.getSQLState() == null) /* connection failed */
+ {
+ trying = false;
+ }
+ else
+ {
+ tries++;
+ if (tries >= 6)
+ {
+ trying = false;
+ System.err.println("Giving up.");
+ }
+ else
+ {
+ try
+ {
+ System.err.println("Sleeping " + (tries * 10) + " seconds and re-trying ...");
+ Thread.sleep(tries * 10000);
+ }
+ catch (Exception e)
+ {
+ System.err.println("Cleanup01.main: " + e);
+ trying = false;
+ }
+ }
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Cleanup01.main: " + e);
+ trying = false;
+ }
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Cleanup01.main: " + exception);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Cleanup01.main: " + exception);
+ exception.printStackTrace(System.err);
+
+ success = false;
+ }
+
+ System.out.println(success ? "Passed" : "Failed");
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources04Clients/Client01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources04Clients/Client01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources04Clients/Client01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,143 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.JDBCResources04Clients;
+
+import org.jboss.jbossts.qa.JDBCResources04.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.IntHolder;
+
+public class Client01
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String numberTableIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ NumberTable numberTable = NumberTableHelper.narrow(ORBInterface.orb().string_to_object(numberTableIOR));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ IntHolder valueHolder1 = new IntHolder();
+ IntHolder valueHolder2 = new IntHolder();
+ IntHolder valueHolder3 = new IntHolder();
+ IntHolder valueHolder4 = new IntHolder();
+
+ numberTable.get("Name_0", valueHolder1, OTS.current().get_control());
+ numberTable.get("Name_1", valueHolder2, OTS.current().get_control());
+
+ System.err.println("Phase 0, Name_0: " + valueHolder1.value);
+ System.err.println("Phase 0, Name_1: " + valueHolder2.value);
+
+ numberTable.increase("Name_0", OTS.current().get_control());
+
+ Thread.sleep(15000);
+
+ numberTable.increase("Name_1", OTS.current().get_control());
+
+ numberTable.get("Name_0", valueHolder3, OTS.current().get_control());
+ numberTable.get("Name_1", valueHolder4, OTS.current().get_control());
+
+ System.err.println("Phase 1, Name_0: " + valueHolder3.value);
+ System.err.println("Phase 1, Name_1: " + valueHolder4.value);
+
+ OTS.current().commit(true);
+
+ correct = (valueHolder1.value == valueHolder2.value) && (valueHolder3.value == valueHolder4.value) &&
+ (valueHolder1.value == (valueHolder3.value - 1)) && (valueHolder2.value == (valueHolder4.value - 1));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (InvocationException exception)
+ {
+ // If the reason the exception was thrown was due to a 'can't serialize access'
+ // exception then we have passed otherwise we have failed
+
+ if (exception.myreason == Reason.ReasonCantSerializeAccess)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+
+ System.err.println("Client01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ finally
+ {
+// code change to stop database locking
+ try
+ {
+ if (OTS.current().get_control() != null)
+ {
+ OTS.current().rollback();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Finally has caught exception");
+ e.printStackTrace(System.err);
+ }
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources04Impls/JDBCNumberTableImpl01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources04Impls/JDBCNumberTableImpl01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources04Impls/JDBCNumberTableImpl01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,430 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: JDBCNumberTableImpl01.java,v 1.10 2004/06/14 09:10:05 swheater Exp $
+//
+
+package org.jboss.jbossts.qa.JDBCResources04Impls;
+
+import org.jboss.jbossts.qa.JDBCResources04.*;
+import org.omg.CORBA.IntHolder;
+import org.omg.CosTransactions.Control;
+
+import java.sql.*;
+import java.util.Hashtable;
+import java.util.Properties;
+
+public class JDBCNumberTableImpl01 implements NumberTableOperations
+{
+ public JDBCNumberTableImpl01(String databaseURL, String databaseUser, String databasePassword, String databaseDynamicClass, int timeout)
+ throws InvocationException
+ {
+ _dbUser = databaseUser;
+ _databaseURL = databaseURL;
+ _databasePassword = databasePassword;
+ _databaseDynamicClass = databaseDynamicClass;
+ _databaseTimeout = timeout;
+
+ if (databaseDynamicClass != null)
+ {
+ _databaseProperties = new Properties();
+
+ _databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.userName, databaseUser);
+ _databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.password, databasePassword);
+ _databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.dynamicClass, databaseDynamicClass);
+ }
+
+ try
+ {
+ Connection connection = getConnection();
+ Runtime.getRuntime().addShutdownHook(new JDBC01ShutdownThread());
+ DatabaseMetaData dbmd = connection.getMetaData();
+ if (dbmd.getDatabaseProductName().startsWith("Microsoft"))
+ {
+ System.err.println("SQLServer message");
+ _useTimeout = true;
+ }
+ else if (dbmd.getDatabaseProductName().equals("DBMS:cloudscape"))
+ {
+ System.err.println("setting CLOUD message");
+ }
+
+ connection.close();
+ }
+ catch (Exception e)
+ {
+ System.err.println("JDBCNumberTableImpl01.JDBCNumberTableImpl01: " + e);
+ throw new InvocationException();
+ }
+ }
+
+ public void get(String name, IntHolder value, Control ctrl)
+ throws InvocationException
+ {
+ Connection connection = null;
+ Statement statement = null;
+ ResultSet resultSet = null;
+
+ try
+ {
+ com.arjuna.ats.jts.ExplicitInterposition interposition = new com.arjuna.ats.jts.ExplicitInterposition();
+ interposition.registerTransaction(ctrl);
+
+ try
+ {
+ System.err.println("-- get called --");
+ connection = getConnection();
+ statement = getConnection().createStatement();
+
+ if (_useTimeout)
+ {
+ statement.setQueryTimeout(_databaseTimeout);
+ }
+
+ System.err.println("SELECT Value FROM " + _dbUser + "_NumberTable WHERE Name = \'" + name + "\'");
+ resultSet = statement.executeQuery("SELECT Value FROM " + _dbUser + "_NumberTable WHERE Name = \'" + name + "\'");
+ resultSet.next();
+ value.value = resultSet.getInt("Value");
+ if (resultSet.next())
+ {
+ throw new Exception();
+ }
+
+ try
+ {
+ javax.transaction.TransactionManager tm = com.arjuna.ats.jta.TransactionManager.transactionManager();
+ javax.transaction.Transaction tx = (javax.transaction.Transaction) tm.getTransaction();
+
+ _connections.put(tx, connection);
+ }
+ catch (Exception ex)
+ {
+ System.err.println(ex);
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCNumberTableImpl01.get: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ catch (Error error)
+ {
+ System.err.println("JDBCNumberTableImpl01.get: " + error);
+ throw new InvocationException();
+ }
+ finally
+ {
+ try
+ {
+ if (resultSet != null)
+ {
+ resultSet.close();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ try
+ {
+ if (statement != null)
+ {
+ statement.close();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ try
+ {
+ interposition.unregisterTransaction();
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCNumberTableImpl01.get: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public void set(String name, int value, Control ctrl)
+ throws InvocationException
+ {
+ Connection connection = null;
+ Statement statement = null;
+
+ try
+ {
+ com.arjuna.ats.jts.ExplicitInterposition interposition = new com.arjuna.ats.jts.ExplicitInterposition();
+ interposition.registerTransaction(ctrl);
+
+ try
+ {
+ connection = getConnection();
+ statement = getConnection().createStatement();
+ if (_useTimeout)
+ {
+ statement.setQueryTimeout(_databaseTimeout);
+ }
+
+ System.err.println("UPDATE " + _dbUser + "_NumberTable SET Value = \'" + value + "\' WHERE Name = \'" + name + "\'");
+ statement.executeUpdate("UPDATE " + _dbUser + "_NumberTable SET Value = \'" + value + "\' WHERE Name = \'" + name + "\'");
+
+ try
+ {
+ javax.transaction.TransactionManager tm = com.arjuna.ats.jta.TransactionManager.transactionManager();
+ javax.transaction.Transaction tx = (javax.transaction.Transaction) tm.getTransaction();
+
+ _connections.put(tx, connection);
+ }
+ catch (Exception ex)
+ {
+ System.err.println(ex);
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCNumberTableImpl01.set: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ catch (Error error)
+ {
+ System.err.println("JDBCNumberTableImpl01.set: " + error);
+ throw new InvocationException();
+ }
+ finally
+ {
+ try
+ {
+ if (statement != null)
+ {
+ statement.close();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ try
+ {
+ interposition.unregisterTransaction();
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCNumberTableImpl01.set: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+
+ public void increase(String name, Control ctrl)
+ throws InvocationException
+ {
+ Connection connection = null;
+ Statement statement = null;
+
+ try
+ {
+ com.arjuna.ats.jts.ExplicitInterposition interposition = new com.arjuna.ats.jts.ExplicitInterposition();
+ interposition.registerTransaction(ctrl);
+
+ try
+ {
+ System.err.println("-- increase --");
+
+ connection = getConnection();
+ statement = getConnection().createStatement();
+
+ if (_useTimeout)
+ {
+ statement.setQueryTimeout(_databaseTimeout);
+ }
+
+ System.err.println("UPDATE " + _dbUser + "_NumberTable SET Value = Value + 1 WHERE NAME = \'" + name + "\'");
+ statement.executeUpdate("UPDATE " + _dbUser + "_NumberTable SET Value = Value + 1 WHERE NAME = \'" + name + "\'");
+
+ try
+ {
+ javax.transaction.TransactionManager tm = com.arjuna.ats.jta.TransactionManager.transactionManager();
+ javax.transaction.Transaction tx = (javax.transaction.Transaction) tm.getTransaction();
+
+ _connections.put(tx, connection);
+ }
+ catch (Exception ex)
+ {
+ System.err.println(ex);
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCNumberTableImpl01.increase: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ catch (Error error)
+ {
+ System.err.println("JDBCNumberTableImpl01.increase: " + error);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ finally
+ {
+ try
+ {
+ if (statement != null)
+ {
+ statement.close();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ try
+ {
+ interposition.unregisterTransaction();
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCNumberTableImpl01.increase: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+
+ private Connection getConnection()
+ throws Exception
+ {
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("Setting up connection");
+ }
+ try
+ {
+ javax.transaction.TransactionManager tm = com.arjuna.ats.jta.TransactionManager.transactionManager();
+ javax.transaction.Transaction tx = (javax.transaction.Transaction) tm.getTransaction();
+
+ Connection conn = (Connection) _connections.get(tx);
+
+ if (conn == null)
+ {
+ System.err.println("**creating connection");
+
+ if (_databaseProperties != null)
+ {
+ conn = DriverManager.getConnection(_databaseURL, _databaseProperties);
+ }
+ else
+ {
+ conn = DriverManager.getConnection(_databaseURL, _dbUser, _databasePassword);
+ }
+ }
+
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("conn = " + conn);
+ System.err.println("Database URL = " + _databaseURL);
+ }
+ System.err.println("returning " + conn + " for " + tx);
+
+ return conn;
+ }
+ catch (Exception ex)
+ {
+ throw new SQLException(ex.toString());
+ }
+ }
+
+ private Hashtable _connections = new Hashtable();
+ private String _databaseURL;
+ private String _dbUser;
+ private String _databasePassword;
+ private String _databaseDynamicClass;
+ private int _databaseTimeout;
+ private Properties _databaseProperties;
+ private boolean _useTimeout = false;
+
+ /*
+ * We can't guarantee that finalize() will be called,
+ * so we have a thread that will close the database connection.
+ */
+ private class JDBC01ShutdownThread extends Thread
+ {
+ public void run()
+ {
+ System.err.println("JDBCNumberTableImpl01.JDBC01ShutdownThread: running");
+ try
+ {
+ java.util.Enumeration connections = _connections.elements();
+ while (connections.hasMoreElements())
+ {
+ ((Connection) connections.nextElement()).close();
+ }
+ connections = null;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCNumberTableImpl01.JDBC01ShutdownThread: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources04Impls/JDBCNumberTableImpl02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources04Impls/JDBCNumberTableImpl02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources04Impls/JDBCNumberTableImpl02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,451 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: JDBCNumberTableImpl02.java,v 1.5 2004/06/11 15:48:48 swheater Exp $
+//
+
+package org.jboss.jbossts.qa.JDBCResources04Impls;
+
+import org.jboss.jbossts.qa.JDBCResources04.*;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.omg.CORBA.IntHolder;
+import org.omg.CosTransactions.Control;
+import org.omg.CosTransactions.Status;
+
+import java.sql.*;
+import java.util.Properties;
+
+public class JDBCNumberTableImpl02 implements NumberTableOperations
+{
+ public JDBCNumberTableImpl02(String databaseURL, String databaseUser, String databasePassword, String databaseDynamicClass, int timeout)
+ throws InvocationException
+ {
+ _dbUser = databaseUser;
+ _databaseURL = databaseURL;
+ _dbUser = databaseUser;
+ _databasePassword = databasePassword;
+ _databaseDynamicClass = databaseDynamicClass;
+ _databaseTimeout = timeout;
+
+ try
+ {
+ Connection connection = getConnection();
+ DatabaseMetaData dbmd = connection.getMetaData();
+ if (dbmd.getDatabaseProductName().startsWith("Microsoft"))
+ {
+ System.err.println("SQLServer message");
+ _useTimeout = true;
+ }
+ else if (dbmd.getDatabaseProductName().equals("DBMS:cloudscape"))
+ {
+ System.err.println("setting CLOUD message");
+ }
+
+ connection.close();
+ }
+ catch (Exception e)
+ {
+ System.err.println("JDBCNumberTableImpl01.JDBCNumberTableImpl01: " + e);
+ throw new InvocationException();
+ }
+ }
+
+ public void get(String name, IntHolder value, Control ctrl)
+ throws InvocationException
+ {
+ Statement statement = null;
+ Connection connection = null;
+ ResultSet resultSet = null;
+
+ try
+ {
+ com.arjuna.ats.jts.ExplicitInterposition interposition = new com.arjuna.ats.jts.ExplicitInterposition();
+ interposition.registerTransaction(ctrl);
+
+ try
+ {
+ System.err.println("-- get called --");
+ connection = getConnection();
+ statement = connection.createStatement();
+
+ if (_useTimeout)
+ {
+ statement.setQueryTimeout(_databaseTimeout);
+ }
+
+ System.err.println("SELECT Value FROM " + _dbUser + "_NumberTable WHERE Name = \'" + name + "\'");
+ resultSet = statement.executeQuery("SELECT Value FROM " + _dbUser + "_NumberTable WHERE Name = \'" + name + "\'");
+ resultSet.next();
+ value.value = resultSet.getInt("Value");
+ if (resultSet.next())
+ {
+ throw new Exception();
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCNumberTableImpl02.get: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ catch (Error error)
+ {
+ System.err.println("JDBCNumberTableImpl02.get: " + error);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ finally
+ {
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("Performing explicit commit for non-transaction operation");
+ }
+ if (OTS.current().get_status().value() == Status._StatusNoTransaction)
+ {
+ try
+ {
+ connection.commit();
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ }
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("Closing connection");
+ }
+ try
+ {
+ if (resultSet != null)
+ {
+ resultSet.close();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ try
+ {
+ if (statement != null)
+ {
+ statement.close();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ try
+ {
+ interposition.unregisterTransaction();
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ try
+ {
+ if (connection != null)
+ {
+ connection.close();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCNumberTableImpl02.get: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+
+ public void set(String name, int value, Control ctrl)
+ throws InvocationException
+ {
+ Statement statement = null;
+ Connection connection = null;
+
+ try
+ {
+ com.arjuna.ats.jts.ExplicitInterposition interposition = new com.arjuna.ats.jts.ExplicitInterposition();
+ interposition.registerTransaction(ctrl);
+
+ try
+ {
+ System.err.println("-- get called --");
+ connection = getConnection();
+ statement = connection.createStatement();
+ if (_useTimeout)
+ {
+ statement.setQueryTimeout(_databaseTimeout);
+ }
+
+ System.err.println("UPDATE " + _dbUser + "_NumberTable SET Value = \'" + value + "\' WHERE Name = \'" + name + "\'");
+ statement.executeUpdate("UPDATE " + _dbUser + "_NumberTable SET Value = \'" + value + "\' WHERE Name = \'" + name + "\'");
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCNumberTableImpl02.set: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ catch (Error error)
+ {
+ System.err.println("JDBCNumberTableImpl02.set: " + error);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ finally
+ {
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("Performing explicit commit for non-transaction operation");
+ }
+ if (OTS.current().get_status().value() == Status._StatusNoTransaction)
+ {
+ try
+ {
+ connection.commit();
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ }
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("Closing connection");
+ }
+ try
+ {
+ if (statement != null)
+ {
+ statement.close();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ try
+ {
+ interposition.unregisterTransaction();
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ try
+ {
+ if (connection != null)
+ {
+ connection.close();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCNumberTableImpl02.set: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+
+ public void increase(String name, Control ctrl)
+ throws InvocationException
+ {
+ Statement statement = null;
+ Connection connection = null;
+
+ try
+ {
+ com.arjuna.ats.jts.ExplicitInterposition interposition = new com.arjuna.ats.jts.ExplicitInterposition();
+ interposition.registerTransaction(ctrl);
+
+ try
+ {
+ System.err.println("-- increase --");
+ connection = getConnection();
+
+ statement = connection.createStatement();
+ if (_useTimeout)
+ {
+ statement.setQueryTimeout(_databaseTimeout);
+ }
+
+ System.err.println("UPDATE " + _dbUser + "_NumberTable SET Value = Value + 1 WHERE NAME = \'" + name + "\'");
+ statement.executeUpdate("UPDATE " + _dbUser + "_NumberTable SET Value = Value + 1 WHERE NAME = \'" + name + "\'");
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCNumberTableImpl02.increase: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ catch (Error error)
+ {
+ System.err.println("JDBCNumberTableImpl02.increase: " + error);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ finally
+ {
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("Performing explicit commit for non-transaction operation");
+ }
+ if (OTS.current().get_status().value() == Status._StatusNoTransaction)
+ {
+ try
+ {
+ connection.commit();
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ }
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("Closing connection");
+ }
+ try
+ {
+ if (statement != null)
+ {
+ statement.close();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ try
+ {
+ interposition.unregisterTransaction();
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ try
+ {
+ if (connection != null)
+ {
+ connection.close();
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("Ignoring exception: " + e);
+ e.printStackTrace(System.err);
+ }
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCNumberTableImpl02.increase: " + exception);
+ throw new InvocationException(Reason.ReasonUnknown);
+ }
+ }
+
+ private Connection getConnection()
+ throws Exception
+ {
+ Connection connection = null;
+
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("Setting up connection");
+ }
+ try
+ {
+ if (_databaseDynamicClass != null)
+ {
+ Properties databaseProperties = new Properties();
+
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.userName, _dbUser);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.password, _databasePassword);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.dynamicClass, _databaseDynamicClass);
+
+ connection = DriverManager.getConnection(_databaseURL, databaseProperties);
+ }
+ else
+ {
+ connection = DriverManager.getConnection(_databaseURL, _dbUser, _databasePassword);
+ }
+
+ if (System.getProperty("qa.debug") == "true")
+ {
+ System.err.println("connection = " + connection);
+ System.err.println("Database URL = " + _databaseURL);
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("JDBCNumberTableImpl01.getConnection: " + exception);
+ throw new Exception("error in getConnection:" + exception);
+ }
+ return connection;
+ }
+
+ private String _databaseURL;
+ private String _dbUser;
+ private String _databasePassword;
+ private String _databaseDynamicClass;
+ private int _databaseTimeout;
+ private boolean _useTimeout = false;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources04Outcomes/Outcome01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources04Outcomes/Outcome01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources04Outcomes/Outcome01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,124 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.JDBCResources04Outcomes;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Outcome01.java,v 1.2 2003/06/26 11:44:15 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Outcome01.java,v 1.2 2003/06/26 11:44:15 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.JDBCResources04.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.IntHolder;
+
+public class Outcome01
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ int maxIndex = Integer.parseInt(args[args.length - 2]);
+
+ String numberTableIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ NumberTable numberTable = NumberTableHelper.narrow(ORBInterface.orb().string_to_object(numberTableIOR));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ for (int index = 0; correct && (index < maxIndex); index++)
+ {
+ String name = "Name_" + index;
+ IntHolder valueHolder = new IntHolder();
+
+ numberTable.get(name, valueHolder, OTS.current().get_control());
+
+ correct = correct && (valueHolder.value == maxIndex);
+ }
+
+ OTS.current().commit(true);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Outcome01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Outcome01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources04Servers/Server01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources04Servers/Server01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources04Servers/Server01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,110 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.JDBCResources04Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server01.java,v 1.2 2003/06/26 11:44:15 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server01.java,v 1.2 2003/06/26 11:44:15 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.JDBCResources04.*;
+import org.jboss.jbossts.qa.JDBCResources04Impls.JDBCNumberTableImpl01;
+import org.jboss.jbossts.qa.Utils.JDBCProfileStore;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server01
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String profileName = args[args.length - 2];
+
+ int numberOfDrivers = JDBCProfileStore.numberOfDrivers(profileName);
+ for (int index = 0; index < numberOfDrivers; index++)
+ {
+ String driver = JDBCProfileStore.driver(profileName, index);
+
+ Class.forName(driver);
+ }
+
+ String databaseURL = JDBCProfileStore.databaseURL(profileName);
+ String databaseUser = JDBCProfileStore.databaseUser(profileName);
+ String databasePassword = JDBCProfileStore.databasePassword(profileName);
+ String databaseDynamicClass = JDBCProfileStore.databaseDynamicClass(profileName);
+ int databaseTimeout = JDBCProfileStore.timeout(profileName);
+
+ JDBCNumberTableImpl01 jdbcNumberTableImpl = new JDBCNumberTableImpl01(databaseURL, databaseUser, databasePassword, databaseDynamicClass, databaseTimeout);
+ NumberTablePOATie servant = new NumberTablePOATie(jdbcNumberTableImpl);
+
+ OAInterface.objectIsReady(servant);
+ NumberTable jdbcNumberTable = NumberTableHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(jdbcNumberTable));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server01.main: " + exception);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources04Servers/Server02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources04Servers/Server02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources04Servers/Server02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,110 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.JDBCResources04Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server02.java,v 1.2 2003/06/26 11:44:15 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server02.java,v 1.2 2003/06/26 11:44:15 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.JDBCResources04.*;
+import org.jboss.jbossts.qa.JDBCResources04Impls.JDBCNumberTableImpl02;
+import org.jboss.jbossts.qa.Utils.JDBCProfileStore;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server02
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String profileName = args[args.length - 2];
+
+ int numberOfDrivers = JDBCProfileStore.numberOfDrivers(profileName);
+ for (int index = 0; index < numberOfDrivers; index++)
+ {
+ String driver = JDBCProfileStore.driver(profileName, index);
+
+ Class.forName(driver);
+ }
+
+ String databaseURL = JDBCProfileStore.databaseURL(profileName);
+ String databaseUser = JDBCProfileStore.databaseUser(profileName);
+ String databasePassword = JDBCProfileStore.databasePassword(profileName);
+ String databaseDynamicClass = JDBCProfileStore.databaseDynamicClass(profileName);
+ int databaseTimeout = JDBCProfileStore.timeout(profileName);
+
+ JDBCNumberTableImpl02 jdbcNumberTableImpl = new JDBCNumberTableImpl02(databaseURL, databaseUser, databasePassword, databaseDynamicClass, databaseTimeout);
+ NumberTablePOATie servant = new NumberTablePOATie(jdbcNumberTableImpl);
+
+ OAInterface.objectIsReady(servant);
+ NumberTable jdbcNumberTable = NumberTableHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(jdbcNumberTable));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server02.main: " + exception);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources04Setups/Setup01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources04Setups/Setup01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JDBCResources04Setups/Setup01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,146 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: Setup01.java,v 1.6 2004/06/11 09:50:43 jcoleman Exp $
+//
+
+package org.jboss.jbossts.qa.JDBCResources04Setups;
+
+import org.jboss.jbossts.qa.JDBCResources04.*;
+import org.jboss.jbossts.qa.Utils.JDBCProfileStore;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+
+import java.sql.Connection;
+import java.sql.DriverManager;
+import java.sql.Statement;
+import java.util.Properties;
+
+public class Setup01
+{
+ public static void main(String[] args)
+ {
+ boolean passed = true;
+
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ int maxIndex = Integer.parseInt(args[args.length - 2]);
+
+ String profileName = args[args.length - 1];
+
+ int numberOfDrivers = JDBCProfileStore.numberOfDrivers(profileName);
+ for (int index = 0; index < numberOfDrivers; index++)
+ {
+ String driver = JDBCProfileStore.driver(profileName, index);
+
+ Class.forName(driver);
+ }
+
+ String databaseURL = JDBCProfileStore.databaseURL(profileName);
+ String databaseUser = JDBCProfileStore.databaseUser(profileName);
+ String databasePassword = JDBCProfileStore.databasePassword(profileName);
+ String databaseDynamicClass = JDBCProfileStore.databaseDynamicClass(profileName);
+
+ Connection connection;
+ if (databaseDynamicClass != null)
+ {
+ Properties databaseProperties = new Properties();
+
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.userName, databaseUser);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.password, databasePassword);
+ databaseProperties.put(com.arjuna.ats.jdbc.TransactionalDriver.dynamicClass, databaseDynamicClass);
+
+ connection = DriverManager.getConnection(databaseURL, databaseProperties);
+ }
+ else
+ {
+ connection = DriverManager.getConnection(databaseURL, databaseUser, databasePassword);
+ }
+
+ Statement statement = connection.createStatement();
+
+ try
+ {
+ System.err.println("DROP TABLE " + databaseUser + "_NumberTable");
+ statement.executeUpdate("DROP TABLE " + databaseUser + "_NumberTable");
+ }
+ catch (java.sql.SQLException s)
+ {
+ if(!(s.getSQLState().startsWith("42") // old ms sql 2000 drivers
+ || s.getSQLState().equals("S0005") // ms sql 2005 drivers
+ || s.getSQLState().equals("ZZZZZ"))) // sybase jConnect drivers
+ {
+ System.err.println("Setup01.main: " + s);
+ System.err.println("SQL state is: <" + s.getSQLState() + ">");
+ }
+ }
+ System.err.println("CREATE TABLE " + databaseUser + "_NumberTable (Name VARCHAR(64), Value INTEGER)");
+ statement.executeUpdate("CREATE TABLE " + databaseUser + "_NumberTable (Name VARCHAR(64), Value INTEGER)");
+
+ for (int index = 0; index < maxIndex; index++)
+ {
+ System.err.println("INSERT INTO " + databaseUser + "_NumberTable VALUES(\'Name_" + index + "\', 0)");
+ statement.executeUpdate("INSERT INTO " + databaseUser + "_NumberTable VALUES(\'Name_" + index + "\', 0)");
+ }
+
+ statement.close();
+ connection.close();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Setup01.main: " + exception);
+ System.out.println("Failed");
+ passed = false;
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Setup01.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ passed = false;
+ }
+
+ if (passed)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JTA01Tests/Test01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JTA01Tests/Test01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JTA01Tests/Test01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,169 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 2001,
+//
+// Hewlett-Packard Company,
+// HP Arjuna Labs.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: Test01.java,v 1.3 2004/03/19 14:34:36 nmcl Exp $
+//
+
+package org.jboss.jbossts.qa.JTA01Tests;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test01.java,v 1.3 2004/03/19 14:34:36 nmcl Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test01.java,v 1.3 2004/03/19 14:34:36 nmcl Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Utils.Setup;
+
+import javax.transaction.Status;
+
+public class Test01
+{
+ public static void main(String[] args)
+ {
+ Setup orbClass = null;
+
+ try
+ {
+ boolean needOrb = true;
+
+ for (int i = 0; i < args.length; i++)
+ {
+ if (args[i].equals("-local"))
+ {
+ needOrb = false;
+ }
+ }
+
+ if (needOrb)
+ {
+ Class c = Thread.currentThread().getContextClassLoader().loadClass("org.jboss.jbossts.qa.Utils.OrbSetup");
+
+ orbClass = (Setup) c.newInstance();
+
+ orbClass.start(args);
+ }
+
+ boolean correct = true;
+
+ javax.transaction.TransactionManager transactionManager = com.arjuna.ats.jta.TransactionManager.transactionManager();
+
+ try
+ {
+ transactionManager.commit();
+ correct = false;
+ }
+ catch (IllegalStateException illegalStateException)
+ {
+ }
+
+ try
+ {
+ transactionManager.rollback();
+ correct = false;
+ }
+ catch (IllegalStateException illegalStateException)
+ {
+ }
+
+ try
+ {
+ transactionManager.setRollbackOnly();
+ correct = false;
+ }
+ catch (IllegalStateException illegalStateException)
+ {
+ }
+
+ correct = correct && (transactionManager.getTransaction() == null);
+ correct = correct && (transactionManager.suspend() == null);
+ correct = correct && (transactionManager.getStatus() == Status.STATUS_NO_TRANSACTION);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.print("Test01.main: ");
+ exception.printStackTrace(System.err);
+ }
+ catch (Error error)
+ {
+ System.out.println("Failed");
+ System.err.print("Test01.main: ");
+ error.printStackTrace(System.err);
+ }
+
+ try
+ {
+ if (orbClass != null)
+ {
+ orbClass.stop();
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.print("Test01.main: ");
+ exception.printStackTrace(System.err);
+ }
+ catch (Error error)
+ {
+ System.err.print("Test01.main: ");
+ error.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JTA01Tests/Test02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JTA01Tests/Test02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JTA01Tests/Test02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,164 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 2001,
+//
+// Hewlett-Packard Company,
+// HP Arjuna Labs.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: Test02.java,v 1.3 2004/03/19 14:34:36 nmcl Exp $
+//
+
+package org.jboss.jbossts.qa.JTA01Tests;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test02.java,v 1.3 2004/03/19 14:34:36 nmcl Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test02.java,v 1.3 2004/03/19 14:34:36 nmcl Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Utils.Setup;
+
+import javax.transaction.NotSupportedException;
+import javax.transaction.Status;
+
+public class Test02
+{
+ public static void main(String[] args)
+ {
+ Setup orbClass = null;
+
+ try
+ {
+ boolean needOrb = true;
+
+ for (int i = 0; i < args.length; i++)
+ {
+ if (args[i].equals("-local"))
+ {
+ needOrb = false;
+ }
+ }
+
+ if (needOrb)
+ {
+ Class c = Thread.currentThread().getContextClassLoader().loadClass("org.jboss.jbossts.qa.Utils.OrbSetup");
+
+ orbClass = (Setup) c.newInstance();
+
+ orbClass.start(args);
+ }
+
+ boolean correct = true;
+
+ javax.transaction.TransactionManager transactionManager = com.arjuna.ats.jta.TransactionManager.transactionManager();
+
+ correct = correct && (transactionManager.getTransaction() == null);
+ correct = correct && (transactionManager.getStatus() == Status.STATUS_NO_TRANSACTION);
+
+ transactionManager.begin();
+
+ correct = correct && (transactionManager.getTransaction() != null);
+ correct = correct && (transactionManager.getStatus() == Status.STATUS_ACTIVE);
+
+ try
+ {
+ transactionManager.begin();
+ correct = false;
+ }
+ catch (NotSupportedException notSupportedException)
+ {
+ }
+
+ correct = correct && (transactionManager.getTransaction() != null);
+ correct = correct && (transactionManager.getStatus() == Status.STATUS_ACTIVE);
+
+ transactionManager.commit();
+
+ correct = correct && (transactionManager.getTransaction() == null);
+ correct = correct && (transactionManager.getStatus() == Status.STATUS_NO_TRANSACTION);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.print("Test02.main: ");
+ exception.printStackTrace(System.err);
+ }
+ catch (Error error)
+ {
+ System.out.println("Failed");
+ System.err.print("Test02.main: ");
+ error.printStackTrace(System.err);
+ }
+
+ try
+ {
+ if (orbClass != null)
+ {
+ orbClass.stop();
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.print("Test02.main: ");
+ exception.printStackTrace(System.err);
+ }
+ catch (Error error)
+ {
+ System.err.print("Test02.main: ");
+ error.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JTA01Tests/Test03.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JTA01Tests/Test03.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JTA01Tests/Test03.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,164 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 2001,
+//
+// Hewlett-Packard Company,
+// HP Arjuna Labs.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: Test03.java,v 1.3 2004/03/19 14:34:36 nmcl Exp $
+//
+
+package org.jboss.jbossts.qa.JTA01Tests;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test03.java,v 1.3 2004/03/19 14:34:36 nmcl Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test03.java,v 1.3 2004/03/19 14:34:36 nmcl Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Utils.Setup;
+
+import javax.transaction.NotSupportedException;
+import javax.transaction.Status;
+
+public class Test03
+{
+ public static void main(String[] args)
+ {
+ Setup orbClass = null;
+
+ try
+ {
+ boolean needOrb = true;
+
+ for (int i = 0; i < args.length; i++)
+ {
+ if (args[i].equals("-local"))
+ {
+ needOrb = false;
+ }
+ }
+
+ if (needOrb)
+ {
+ Class c = Thread.currentThread().getContextClassLoader().loadClass("org.jboss.jbossts.qa.Utils.OrbSetup");
+
+ orbClass = (Setup) c.newInstance();
+
+ orbClass.start(args);
+ }
+
+ boolean correct = true;
+
+ javax.transaction.TransactionManager transactionManager = com.arjuna.ats.jta.TransactionManager.transactionManager();
+
+ correct = correct && (transactionManager.getTransaction() == null);
+ correct = correct && (transactionManager.getStatus() == Status.STATUS_NO_TRANSACTION);
+
+ transactionManager.begin();
+
+ correct = correct && (transactionManager.getTransaction() != null);
+ correct = correct && (transactionManager.getStatus() == Status.STATUS_ACTIVE);
+
+ try
+ {
+ transactionManager.begin();
+ correct = false;
+ }
+ catch (NotSupportedException notSupportedException)
+ {
+ }
+
+ correct = correct && (transactionManager.getTransaction() != null);
+ correct = correct && (transactionManager.getStatus() == Status.STATUS_ACTIVE);
+
+ transactionManager.rollback();
+
+ correct = correct && (transactionManager.getTransaction() == null);
+ correct = correct && (transactionManager.getStatus() == Status.STATUS_NO_TRANSACTION);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.print("Test03.main: ");
+ exception.printStackTrace(System.err);
+ }
+ catch (Error error)
+ {
+ System.out.println("Failed");
+ System.err.print("Test03.main: ");
+ error.printStackTrace(System.err);
+ }
+
+ try
+ {
+ if (orbClass != null)
+ {
+ orbClass.stop();
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.print("Test03.main: ");
+ exception.printStackTrace(System.err);
+ }
+ catch (Error error)
+ {
+ System.err.print("Test03.main: ");
+ error.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JTA01Tests/Test04.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JTA01Tests/Test04.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JTA01Tests/Test04.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,163 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 2001,
+//
+// Hewlett-Packard Company,
+// HP Arjuna Labs.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: Test04.java,v 1.3 2004/03/19 14:34:36 nmcl Exp $
+//
+
+package org.jboss.jbossts.qa.JTA01Tests;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test04.java,v 1.3 2004/03/19 14:34:36 nmcl Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test04.java,v 1.3 2004/03/19 14:34:36 nmcl Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Utils.Setup;
+
+import javax.transaction.Status;
+
+public class Test04
+{
+ public static void main(String[] args)
+ {
+ Setup orbClass = null;
+
+ try
+ {
+ boolean needOrb = true;
+
+ for (int i = 0; i < args.length; i++)
+ {
+ if (args[i].equals("-local"))
+ {
+ needOrb = false;
+ }
+ }
+
+ if (needOrb)
+ {
+ Class c = Thread.currentThread().getContextClassLoader().loadClass("org.jboss.jbossts.qa.Utils.OrbSetup");
+
+ orbClass = (Setup) c.newInstance();
+
+ orbClass.start(args);
+ }
+
+ int numberOfTransactions = Integer.parseInt(args[args.length - 1]);
+
+ boolean correct = true;
+
+ javax.transaction.TransactionManager transactionManager = com.arjuna.ats.jta.TransactionManager.transactionManager();
+
+ for (int index = 0; index < numberOfTransactions; index++)
+ {
+ correct = correct && (transactionManager.getTransaction() == null);
+ correct = correct && (transactionManager.getStatus() == Status.STATUS_NO_TRANSACTION);
+
+ transactionManager.begin();
+
+ correct = correct && (transactionManager.getTransaction() != null);
+ correct = correct && (transactionManager.getStatus() == Status.STATUS_ACTIVE);
+
+ if ((index % 2) == 0)
+ {
+ transactionManager.commit();
+ }
+ else
+ {
+ transactionManager.rollback();
+ }
+ }
+
+ correct = correct && (transactionManager.getTransaction() == null);
+ correct = correct && (transactionManager.getStatus() == Status.STATUS_NO_TRANSACTION);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.print("Test04.main: ");
+ exception.printStackTrace(System.err);
+ }
+ catch (Error error)
+ {
+ System.out.println("Failed");
+ System.err.print("Test04.main: ");
+ error.printStackTrace(System.err);
+ }
+
+ try
+ {
+ if (orbClass != null)
+ {
+ orbClass.stop();
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.print("Test04.main: ");
+ exception.printStackTrace(System.err);
+ }
+ catch (Error error)
+ {
+ System.err.print("Test04.main: ");
+ error.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JTA01Tests/Test05.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JTA01Tests/Test05.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JTA01Tests/Test05.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,175 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 2001,
+//
+// Hewlett-Packard Company,
+// HP Arjuna Labs.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: Test05.java,v 1.3 2004/03/19 14:34:36 nmcl Exp $
+//
+
+package org.jboss.jbossts.qa.JTA01Tests;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test05.java,v 1.3 2004/03/19 14:34:36 nmcl Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test05.java,v 1.3 2004/03/19 14:34:36 nmcl Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Utils.Setup;
+
+import javax.transaction.Status;
+import javax.transaction.Transaction;
+
+public class Test05
+{
+ public static void main(String[] args)
+ {
+ Setup orbClass = null;
+
+ try
+ {
+ boolean needOrb = true;
+
+ for (int i = 0; i < args.length; i++)
+ {
+ if (args[i].equals("-local"))
+ {
+ needOrb = false;
+ }
+ }
+
+ if (needOrb)
+ {
+ Class c = Thread.currentThread().getContextClassLoader().loadClass("org.jboss.jbossts.qa.Utils.OrbSetup");
+
+ orbClass = (Setup) c.newInstance();
+
+ orbClass.start(args);
+ }
+
+ int numberOfTransactions = Integer.parseInt(args[args.length - 1]);
+
+ boolean correct = true;
+
+ javax.transaction.TransactionManager transactionManager = com.arjuna.ats.jta.TransactionManager.transactionManager();
+
+ Transaction[] transactions = new Transaction[numberOfTransactions];
+
+ for (int index = 0; index < transactions.length; index++)
+ {
+ correct = correct && (transactionManager.getTransaction() == null);
+ correct = correct && (transactionManager.getStatus() == Status.STATUS_NO_TRANSACTION);
+
+ transactionManager.begin();
+ transactions[index] = transactionManager.suspend();
+ }
+
+ correct = correct && (transactionManager.getTransaction() == null);
+ correct = correct && (transactionManager.getStatus() == Status.STATUS_NO_TRANSACTION);
+
+ for (int index = 0; index < transactions.length; index++)
+ {
+ transactionManager.resume(transactions[index]);
+
+ correct = correct && (transactionManager.getTransaction() != null);
+ correct = correct && (transactionManager.getStatus() == Status.STATUS_ACTIVE);
+
+ if ((index % 2) == 0)
+ {
+ transactionManager.commit();
+ }
+ else
+ {
+ transactionManager.rollback();
+ }
+ }
+
+ correct = correct && (transactionManager.getTransaction() == null);
+ correct = correct && (transactionManager.getStatus() == Status.STATUS_NO_TRANSACTION);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.print("Test05.main: ");
+ exception.printStackTrace(System.err);
+ }
+ catch (Error error)
+ {
+ System.out.println("Failed");
+ System.err.print("Test05.main: ");
+ error.printStackTrace(System.err);
+ }
+
+ try
+ {
+ if (orbClass != null)
+ {
+ orbClass.stop();
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.print("Test05.main: ");
+ exception.printStackTrace(System.err);
+ }
+ catch (Error error)
+ {
+ System.err.print("Test05.main: ");
+ error.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JTA01Tests/Test06.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JTA01Tests/Test06.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/JTA01Tests/Test06.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,220 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 2001,
+//
+// Hewlett-Packard Company,
+// HP Arjuna Labs.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: Test06.java,v 1.3 2004/03/19 14:34:36 nmcl Exp $
+//
+
+package org.jboss.jbossts.qa.JTA01Tests;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test06.java,v 1.3 2004/03/19 14:34:36 nmcl Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Test06.java,v 1.3 2004/03/19 14:34:36 nmcl Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Utils.Setup;
+
+import javax.transaction.Status;
+import javax.transaction.TransactionManager;
+
+public class Test06
+{
+ public static void main(String[] args)
+ {
+ Setup orbClass = null;
+
+ try
+ {
+ boolean needOrb = true;
+
+ for (int i = 0; i < args.length; i++)
+ {
+ if (args[i].equals("-local"))
+ {
+ needOrb = false;
+ }
+ }
+
+ if (needOrb)
+ {
+ Class c = Thread.currentThread().getContextClassLoader().loadClass("org.jboss.jbossts.qa.Utils.OrbSetup");
+
+ orbClass = (Setup) c.newInstance();
+
+ orbClass.start(args);
+ }
+
+ int numberOfWorkers = Integer.parseInt(args[args.length - 2]);
+ int numberOfTransactions = Integer.parseInt(args[args.length - 1]);
+
+ javax.transaction.TransactionManager transactionManager = com.arjuna.ats.jta.TransactionManager.transactionManager();
+
+ Worker[] workers = new Worker[numberOfWorkers];
+
+ for (int index = 0; index < workers.length; index++)
+ {
+ workers[index] = new Worker(numberOfTransactions, transactionManager);
+ }
+
+ for (int index = 0; index < workers.length; index++)
+ {
+ workers[index].start();
+ }
+
+ boolean correct = true;
+
+ for (int index = 0; index < workers.length; index++)
+ {
+ workers[index].join();
+ correct = correct && workers[index].isCorrect();
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.print("Test06.main: ");
+ exception.printStackTrace(System.err);
+ }
+ catch (Error error)
+ {
+ System.out.println("Failed");
+ System.err.print("Test06.main: ");
+ error.printStackTrace(System.err);
+ }
+
+ try
+ {
+ if (orbClass != null)
+ {
+ orbClass.stop();
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.print("Test06.main: ");
+ exception.printStackTrace(System.err);
+ }
+ catch (Error error)
+ {
+ System.err.print("Test06.main: ");
+ error.printStackTrace(System.err);
+ }
+ }
+
+
+ private static class Worker extends Thread
+ {
+ public Worker(int numberOfTransactions, TransactionManager transactionManager)
+ {
+ _numberOfTransactions = numberOfTransactions;
+ _transactionManager = transactionManager;
+ }
+
+ public void run()
+ {
+ try
+ {
+ for (int index = 0; index < _numberOfTransactions; index++)
+ {
+ _correct = _correct && (_transactionManager.getTransaction() == null);
+ _correct = _correct && (_transactionManager.getStatus() == Status.STATUS_NO_TRANSACTION);
+
+ _transactionManager.begin();
+
+ _correct = _correct && (_transactionManager.getTransaction() != null);
+ _correct = _correct && (_transactionManager.getStatus() == Status.STATUS_ACTIVE);
+
+ if ((index % 2) == 0)
+ {
+ _transactionManager.commit();
+ }
+ else
+ {
+ _transactionManager.rollback();
+ }
+ }
+
+ _correct = _correct && (_transactionManager.getTransaction() == null);
+ _correct = _correct && (_transactionManager.getStatus() == Status.STATUS_NO_TRANSACTION);
+ }
+ catch (Exception exception)
+ {
+ System.err.print("Test06.Worker.run: ");
+ exception.printStackTrace(System.err);
+ _correct = false;
+ }
+ catch (Error error)
+ {
+ System.err.print("Test06.Worker.run: ");
+ error.printStackTrace(System.err);
+ _correct = false;
+ }
+ }
+
+ public boolean isCorrect()
+ {
+ return _correct;
+ }
+
+ private boolean _correct = true;
+ private int _numberOfTransactions;
+ private TransactionManager _transactionManager;
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Misc/report.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Misc/report.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Misc/report.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,69 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+/*
+ * Copyright (C) 2003 by Arjuna Technologies Limited.
+ *
+ * Arjuna Technologies Limited
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: report.java,v 1.3 2004/07/12 10:26:09 kconner Exp $
+ */
+package org.jboss.jbossts.qa.Misc;
+
+public class report
+{
+ public static void main(String[] args)
+ {
+ com.arjuna.ats.arjuna.Info aInfo;
+ com.arjuna.ats.txoj.Info tInfo;
+ com.arjuna.orbportability.Info oInfo;
+ com.arjuna.ats.jts.Info jInfo;
+ com.arjuna.ats.jdbc.Info dInfo;
+
+ try
+ {
+ aInfo = new com.arjuna.ats.arjuna.Info();
+ System.out.println(aInfo);
+
+ tInfo = new com.arjuna.ats.txoj.Info();
+ System.out.println(tInfo);
+
+ oInfo = new com.arjuna.orbportability.Info();
+ System.out.println(oInfo);
+
+ jInfo = new com.arjuna.ats.jts.Info();
+ System.out.println(jInfo);
+
+ dInfo = new com.arjuna.ats.jdbc.Info();
+ System.out.println(dInfo);
+
+ System.out.println("Passed");
+ }
+ catch (Throwable t)
+ {
+ t.getMessage();
+ t.printStackTrace();
+ System.out.println("Failed");
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/OTSServerClients/Client01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/OTSServerClients/Client01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/OTSServerClients/Client01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,120 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.OTSServerClients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client01.java,v 1.2 2003/06/26 11:44:16 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client01.java,v 1.2 2003/06/26 11:44:16 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ORBServices;
+import org.omg.CosTransactions.Control;
+import org.omg.CosTransactions.Status;
+import org.omg.CosTransactions.TransactionFactory;
+import org.omg.CosTransactions.TransactionFactoryHelper;
+
+public class Client01
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ TransactionFactory transactionFactory = null;
+
+
+ String[] transactionFactoryParams = new String[1];
+ transactionFactoryParams[0] = ORBServices.otsKind;
+
+ transactionFactory = TransactionFactoryHelper.narrow(ORBServices.getService(ORBServices.transactionService, transactionFactoryParams));
+
+
+ boolean correct = true;
+ Control control = transactionFactory.create(0);
+
+ correct = correct && (control.get_coordinator().get_status() == Status.StatusActive);
+
+ control.get_terminator().commit(true);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/OTSServerClients/Client02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/OTSServerClients/Client02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/OTSServerClients/Client02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,120 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.OTSServerClients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client02.java,v 1.2 2003/06/26 11:44:17 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client02.java,v 1.2 2003/06/26 11:44:17 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ORBServices;
+import org.omg.CosTransactions.Control;
+import org.omg.CosTransactions.Status;
+import org.omg.CosTransactions.TransactionFactory;
+import org.omg.CosTransactions.TransactionFactoryHelper;
+
+public class Client02
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ TransactionFactory transactionFactory = null;
+
+
+ String[] transactionFactoryParams = new String[1];
+ transactionFactoryParams[0] = ORBServices.otsKind;
+
+ transactionFactory = TransactionFactoryHelper.narrow(ORBServices.getService(ORBServices.transactionService, transactionFactoryParams));
+
+
+ boolean correct = true;
+ Control control = transactionFactory.create(0);
+
+ correct = correct && (control.get_coordinator().get_status() == Status.StatusActive);
+
+ control.get_terminator().rollback();
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client02.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client02.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/OTSServerClients/Client03.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/OTSServerClients/Client03.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/OTSServerClients/Client03.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,135 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.OTSServerClients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client03.java,v 1.2 2003/06/26 11:44:17 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client03.java,v 1.2 2003/06/26 11:44:17 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ORBServices;
+import org.omg.CosTransactions.Control;
+import org.omg.CosTransactions.Status;
+import org.omg.CosTransactions.TransactionFactory;
+import org.omg.CosTransactions.TransactionFactoryHelper;
+
+public class Client03
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ TransactionFactory transactionFactory = null;
+
+
+ String[] transactionFactoryParams = new String[1];
+ transactionFactoryParams[0] = ORBServices.otsKind;
+
+ transactionFactory = TransactionFactoryHelper.narrow(ORBServices.getService(ORBServices.transactionService, transactionFactoryParams));
+
+
+ boolean correct = true;
+ Control control = transactionFactory.create(4);
+
+ Thread.sleep(8000);
+
+ correct = correct && (control.get_coordinator().get_status() == Status.StatusRolledBack);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (org.omg.CORBA.OBJECT_NOT_EXIST object_not_exist_exception)
+ {
+ // This test creates a transaction with timeout period of 4 seconds then
+ // sleeps for 8 seconds.
+ // When the timeout goes off at the transaction service, the transaction is
+ // rolled back and destroyed.
+ // The subsequent call to get-status on the transaction results in an
+ // org.omg.CORBA.OBJECT_NOT_EXIST exception being thrown.
+ // The JTS specification appears to be quite vague in this area, however our
+ // implementation is compliant with this vagueness.
+ // Hence, For the purposes of this test, org.omg.CORBA.OBJECT_NOT_EXIST being thrown
+ // does not indicate a failure - BD 20/06/01
+
+ System.out.println("Passed");
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client03.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client03.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/OTSServerClients/Client04.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/OTSServerClients/Client04.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/OTSServerClients/Client04.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.OTSServerClients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client04.java,v 1.2 2003/06/26 11:44:17 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client04.java,v 1.2 2003/06/26 11:44:17 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ORBServices;
+import org.omg.CORBA.BAD_OPERATION;
+import org.omg.CORBA.INVALID_TRANSACTION;
+import org.omg.CosTransactions.Control;
+import org.omg.CosTransactions.TransactionFactory;
+import org.omg.CosTransactions.TransactionFactoryHelper;
+
+public class Client04
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ TransactionFactory transactionFactory = null;
+
+
+ String[] transactionFactoryParams = new String[1];
+ transactionFactoryParams[0] = ORBServices.otsKind;
+
+ transactionFactory = TransactionFactoryHelper.narrow(ORBServices.getService(ORBServices.transactionService, transactionFactoryParams));
+
+
+ boolean correct;
+ Control control = transactionFactory.create(4);
+
+ Thread.sleep(8000);
+
+ try
+ {
+ control.get_terminator().commit(true);
+ correct = false;
+ }
+ catch (INVALID_TRANSACTION invalidTransaction)
+ {
+ correct = true;
+ }
+ catch (BAD_OPERATION badOperation)
+ {
+ correct = true;
+ }
+ catch (org.omg.CORBA.OBJECT_NOT_EXIST object_not_exist_exception)
+ {
+ // This test creates a transaction with timeout period of 4 seconds then
+ // sleeps for 8 seconds.
+ // When the timeout goes off at the transaction service, the transaction is
+ // rolled back and destroyed.
+ // The subsequent call to commit on the transaction results in an
+ // org.omg.CORBA.OBJECT_NOT_EXIST exception being thrown.
+ // The JTS specification appears to be quite vague in this area, however our
+ // implementation is compliant with this vagueness.
+ // Hence, For the purposes of this test, org.omg.CORBA.OBJECT_NOT_EXIST being thrown
+ // does not indicate a failure - BD 20/06/01
+
+ correct = true;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client04.main: commit exception = " + exception);
+ correct = false;
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client04.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client04.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/OTSServerClients/Client05.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/OTSServerClients/Client05.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/OTSServerClients/Client05.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.OTSServerClients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client05.java,v 1.2 2003/06/26 11:44:17 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client05.java,v 1.2 2003/06/26 11:44:17 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ORBServices;
+import org.omg.CORBA.BAD_OPERATION;
+import org.omg.CORBA.INVALID_TRANSACTION;
+import org.omg.CosTransactions.Control;
+import org.omg.CosTransactions.TransactionFactory;
+import org.omg.CosTransactions.TransactionFactoryHelper;
+
+public class Client05
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ TransactionFactory transactionFactory = null;
+
+
+ String[] transactionFactoryParams = new String[1];
+ transactionFactoryParams[0] = ORBServices.otsKind;
+
+ transactionFactory = TransactionFactoryHelper.narrow(ORBServices.getService(ORBServices.transactionService, transactionFactoryParams));
+
+
+ boolean correct;
+ Control control = transactionFactory.create(4);
+
+ Thread.sleep(8000);
+
+ try
+ {
+ control.get_terminator().commit(false);
+ correct = false;
+ }
+ catch (INVALID_TRANSACTION invalidTransaction)
+ {
+ correct = true;
+ }
+ catch (BAD_OPERATION badOperation)
+ {
+ correct = true;
+ }
+ catch (org.omg.CORBA.OBJECT_NOT_EXIST object_not_exist_exception)
+ {
+ // This test creates a transaction with timeout period of 4 seconds then
+ // sleeps for 8 seconds.
+ // When the timeout goes off at the transaction service, the transaction is
+ // rolled back and destroyed.
+ // The subsequent call to commit on the transaction results in an
+ // org.omg.CORBA.OBJECT_NOT_EXIST exception being thrown.
+ // The JTS specification appears to be quite vague in this area, however our
+ // implementation is compliant with this vagueness.
+ // Hence, For the purposes of this test, org.omg.CORBA.OBJECT_NOT_EXIST being thrown
+ // does not indicate a failure - BD 20/06/01
+
+ correct = true;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client05.main: commit exception = " + exception);
+ correct = false;
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client05.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client05.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/OTSServerClients/Client06.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/OTSServerClients/Client06.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/OTSServerClients/Client06.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.OTSServerClients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client06.java,v 1.2 2003/06/26 11:44:17 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client06.java,v 1.2 2003/06/26 11:44:17 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ORBServices;
+import org.omg.CORBA.BAD_OPERATION;
+import org.omg.CORBA.INVALID_TRANSACTION;
+import org.omg.CosTransactions.Control;
+import org.omg.CosTransactions.TransactionFactory;
+import org.omg.CosTransactions.TransactionFactoryHelper;
+
+public class Client06
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ TransactionFactory transactionFactory = null;
+
+
+ String[] transactionFactoryParams = new String[1];
+ transactionFactoryParams[0] = ORBServices.otsKind;
+
+ transactionFactory = TransactionFactoryHelper.narrow(ORBServices.getService(ORBServices.transactionService, transactionFactoryParams));
+
+
+ boolean correct;
+ Control control = transactionFactory.create(4);
+
+ Thread.sleep(8000);
+
+ try
+ {
+ control.get_terminator().rollback();
+ correct = false;
+ }
+ catch (INVALID_TRANSACTION invalidTransaction)
+ {
+ correct = true;
+ }
+ catch (BAD_OPERATION badOperation)
+ {
+ correct = true;
+ }
+ catch (org.omg.CORBA.OBJECT_NOT_EXIST object_not_exist_exception)
+ {
+ // This test creates a transaction with timeout period of 4 seconds then
+ // sleeps for 8 seconds.
+ // When the timeout goes off at the transaction service, the transaction is
+ // rolled back and destroyed.
+ // The subsequent call to rollback the transaction results in an
+ // org.omg.CORBA.OBJECT_NOT_EXIST exception being thrown.
+ // The JTS specification appears to be quite vague in this area, however our
+ // implementation is compliant with this vagueness.
+ // Hence, For the purposes of this test, org.omg.CORBA.OBJECT_NOT_EXIST being thrown
+ // does not indicate a failure - BD 20/06/01
+
+ correct = true;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client06.main: rollback exception = " + exception);
+ correct = false;
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client06.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client06.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/OTSServerClients/Client07.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/OTSServerClients/Client07.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/OTSServerClients/Client07.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,126 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.OTSServerClients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client07.java,v 1.2 2003/06/26 11:44:17 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client07.java,v 1.2 2003/06/26 11:44:17 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ORBServices;
+import org.omg.CosTransactions.Control;
+import org.omg.CosTransactions.Status;
+import org.omg.CosTransactions.TransactionFactory;
+import org.omg.CosTransactions.TransactionFactoryHelper;
+
+public class Client07
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ TransactionFactory transactionFactory = null;
+
+
+ String[] transactionFactoryParams = new String[1];
+ transactionFactoryParams[0] = ORBServices.otsKind;
+
+ transactionFactory = TransactionFactoryHelper.narrow(ORBServices.getService(ORBServices.transactionService, transactionFactoryParams));
+
+
+ int numberOfControls = Integer.parseInt(args[args.length - 1]);
+
+ boolean correct = true;
+
+ for (int index = 0; correct && (index < numberOfControls); index++)
+ {
+ Control control = transactionFactory.create(0);
+
+ correct = correct && (control.get_coordinator().get_status() == Status.StatusActive);
+
+ control.get_terminator().commit(true);
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client07.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client07.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/OTSServerClients/Client08.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/OTSServerClients/Client08.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/OTSServerClients/Client08.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,126 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.OTSServerClients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client08.java,v 1.2 2003/06/26 11:44:17 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client08.java,v 1.2 2003/06/26 11:44:17 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ORBServices;
+import org.omg.CosTransactions.Control;
+import org.omg.CosTransactions.Status;
+import org.omg.CosTransactions.TransactionFactory;
+import org.omg.CosTransactions.TransactionFactoryHelper;
+
+public class Client08
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ TransactionFactory transactionFactory = null;
+
+
+ String[] transactionFactoryParams = new String[1];
+ transactionFactoryParams[0] = ORBServices.otsKind;
+
+ transactionFactory = TransactionFactoryHelper.narrow(ORBServices.getService(ORBServices.transactionService, transactionFactoryParams));
+
+
+ int numberOfControls = Integer.parseInt(args[args.length - 1]);
+
+ boolean correct = true;
+
+ for (int index = 0; correct && (index < numberOfControls); index++)
+ {
+ Control control = transactionFactory.create(0);
+
+ correct = correct && (control.get_coordinator().get_status() == Status.StatusActive);
+
+ control.get_terminator().commit(false);
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client08.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client08.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/OTSServerClients/Client09.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/OTSServerClients/Client09.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/OTSServerClients/Client09.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,126 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.OTSServerClients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client09.java,v 1.2 2003/06/26 11:44:17 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client09.java,v 1.2 2003/06/26 11:44:17 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ORBServices;
+import org.omg.CosTransactions.Control;
+import org.omg.CosTransactions.Status;
+import org.omg.CosTransactions.TransactionFactory;
+import org.omg.CosTransactions.TransactionFactoryHelper;
+
+public class Client09
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ TransactionFactory transactionFactory = null;
+
+
+ String[] transactionFactoryParams = new String[1];
+ transactionFactoryParams[0] = ORBServices.otsKind;
+
+ transactionFactory = TransactionFactoryHelper.narrow(ORBServices.getService(ORBServices.transactionService, transactionFactoryParams));
+
+
+ int numberOfControls = Integer.parseInt(args[args.length - 1]);
+
+ boolean correct = true;
+
+ for (int index = 0; correct && (index < numberOfControls); index++)
+ {
+ Control control = transactionFactory.create(0);
+
+ correct = correct && (control.get_coordinator().get_status() == Status.StatusActive);
+
+ control.get_terminator().rollback();
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client09.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client09.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/OTSServerClients/Client10.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/OTSServerClients/Client10.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/OTSServerClients/Client10.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,130 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.OTSServerClients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client10.java,v 1.2 2003/06/26 11:44:17 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client10.java,v 1.2 2003/06/26 11:44:17 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ORBServices;
+import org.omg.CosTransactions.Control;
+import org.omg.CosTransactions.Status;
+import org.omg.CosTransactions.TransactionFactory;
+import org.omg.CosTransactions.TransactionFactoryHelper;
+
+public class Client10
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ TransactionFactory transactionFactory = null;
+
+
+ String[] transactionFactoryParams = new String[1];
+ transactionFactoryParams[0] = ORBServices.otsKind;
+
+ transactionFactory = TransactionFactoryHelper.narrow(ORBServices.getService(ORBServices.transactionService, transactionFactoryParams));
+
+
+ int numberOfControls = Integer.parseInt(args[args.length - 1]);
+
+ boolean correct = true;
+ Control[] controls = new Control[numberOfControls];
+
+ for (int index = 0; correct && (index < controls.length); index++)
+ {
+ controls[index] = transactionFactory.create(0);
+
+ correct = correct && (controls[index].get_coordinator().get_status() == Status.StatusActive);
+ }
+
+ for (int index = 0; correct && (index < controls.length); index++)
+ {
+ controls[index].get_terminator().commit(true);
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client10.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client10.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/OTSServerClients/Client11.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/OTSServerClients/Client11.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/OTSServerClients/Client11.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,130 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.OTSServerClients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client11.java,v 1.2 2003/06/26 11:44:17 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client11.java,v 1.2 2003/06/26 11:44:17 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ORBServices;
+import org.omg.CosTransactions.Control;
+import org.omg.CosTransactions.Status;
+import org.omg.CosTransactions.TransactionFactory;
+import org.omg.CosTransactions.TransactionFactoryHelper;
+
+public class Client11
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ TransactionFactory transactionFactory = null;
+
+
+ String[] transactionFactoryParams = new String[1];
+ transactionFactoryParams[0] = ORBServices.otsKind;
+
+ transactionFactory = TransactionFactoryHelper.narrow(ORBServices.getService(ORBServices.transactionService, transactionFactoryParams));
+
+
+ int numberOfControls = Integer.parseInt(args[args.length - 1]);
+
+ boolean correct = true;
+ Control[] controls = new Control[numberOfControls];
+
+ for (int index = 0; correct && (index < controls.length); index++)
+ {
+ controls[index] = transactionFactory.create(0);
+
+ correct = correct && (controls[index].get_coordinator().get_status() == Status.StatusActive);
+ }
+
+ for (int index = 0; correct && (index < controls.length); index++)
+ {
+ controls[index].get_terminator().commit(false);
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client11.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client11.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/OTSServerClients/Client12.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/OTSServerClients/Client12.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/OTSServerClients/Client12.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,130 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.OTSServerClients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client12.java,v 1.2 2003/06/26 11:44:17 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client12.java,v 1.2 2003/06/26 11:44:17 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ORBServices;
+import org.omg.CosTransactions.Control;
+import org.omg.CosTransactions.Status;
+import org.omg.CosTransactions.TransactionFactory;
+import org.omg.CosTransactions.TransactionFactoryHelper;
+
+public class Client12
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ TransactionFactory transactionFactory = null;
+
+
+ String[] transactionFactoryParams = new String[1];
+ transactionFactoryParams[0] = ORBServices.otsKind;
+
+ transactionFactory = TransactionFactoryHelper.narrow(ORBServices.getService(ORBServices.transactionService, transactionFactoryParams));
+
+
+ int numberOfControls = Integer.parseInt(args[args.length - 1]);
+
+ boolean correct = true;
+ Control[] controls = new Control[numberOfControls];
+
+ for (int index = 0; correct && (index < controls.length); index++)
+ {
+ controls[index] = transactionFactory.create(0);
+
+ correct = correct && (controls[index].get_coordinator().get_status() == Status.StatusActive);
+ }
+
+ for (int index = 0; correct && (index < controls.length); index++)
+ {
+ controls[index].get_terminator().rollback();
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client12.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client12.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/OTSServerClients/Client13.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/OTSServerClients/Client13.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/OTSServerClients/Client13.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,188 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.OTSServerClients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client13.java,v 1.2 2003/06/26 11:44:17 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client13.java,v 1.2 2003/06/26 11:44:17 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ORBServices;
+import org.omg.CosTransactions.Control;
+import org.omg.CosTransactions.Status;
+import org.omg.CosTransactions.TransactionFactory;
+import org.omg.CosTransactions.TransactionFactoryHelper;
+
+public class Client13
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ TransactionFactory transactionFactory = null;
+
+
+ String[] transactionFactoryParams = new String[1];
+ transactionFactoryParams[0] = ORBServices.otsKind;
+
+ transactionFactory = TransactionFactoryHelper.narrow(ORBServices.getService(ORBServices.transactionService, transactionFactoryParams));
+
+
+ int numberOfWorkers = Integer.parseInt(args[args.length - 2]);
+ int numberOfControls = Integer.parseInt(args[args.length - 1]);
+
+ boolean correct = true;
+
+ Worker[] workers = new Worker[numberOfWorkers];
+
+ for (int index = 0; index < workers.length; index++)
+ {
+ workers[index] = new Worker(numberOfControls, transactionFactory);
+ }
+
+ for (int index = 0; index < workers.length; index++)
+ {
+ workers[index].start();
+ }
+
+ for (int index = 0; index < workers.length; index++)
+ {
+ workers[index].join();
+ correct = correct && workers[index].isCorrect();
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client13.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client13.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+
+ private static class Worker extends Thread
+ {
+ public Worker(int numberOfControls, TransactionFactory transactionFactory)
+ {
+ _numberOfControls = numberOfControls;
+ _transactionFactory = transactionFactory;
+ }
+
+ public void run()
+ {
+ try
+ {
+ for (int index = 0; _correct && (index < _numberOfControls); index++)
+ {
+ Control control = _transactionFactory.create(0);
+
+ _correct = _correct && (control.get_coordinator().get_status() == Status.StatusActive);
+
+ int option = index % 3;
+
+ if (option == 0)
+ {
+ control.get_terminator().commit(true);
+ }
+ else if (option == 1)
+ {
+ control.get_terminator().commit(false);
+ }
+ else
+ {
+ control.get_terminator().rollback();
+ }
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client13.Worker.run: " + exception);
+ exception.printStackTrace(System.err);
+ _correct = false;
+ }
+ }
+
+ public boolean isCorrect()
+ {
+ return _correct;
+ }
+
+ private boolean _correct = true;
+ private int _numberOfControls;
+ private TransactionFactory _transactionFactory = null;
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/OTSServerClients/Client14.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/OTSServerClients/Client14.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/OTSServerClients/Client14.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,193 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.OTSServerClients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client14.java,v 1.2 2003/06/26 11:44:17 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client14.java,v 1.2 2003/06/26 11:44:17 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ORBServices;
+import org.omg.CosTransactions.Control;
+import org.omg.CosTransactions.Status;
+import org.omg.CosTransactions.TransactionFactory;
+import org.omg.CosTransactions.TransactionFactoryHelper;
+
+public class Client14
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ TransactionFactory transactionFactory = null;
+
+
+ String[] transactionFactoryParams = new String[1];
+ transactionFactoryParams[0] = ORBServices.otsKind;
+
+ transactionFactory = TransactionFactoryHelper.narrow(ORBServices.getService(ORBServices.transactionService, transactionFactoryParams));
+
+
+ int numberOfWorkers = Integer.parseInt(args[args.length - 2]);
+ int numberOfControls = Integer.parseInt(args[args.length - 1]);
+
+ boolean correct = true;
+
+ Worker[] workers = new Worker[numberOfWorkers];
+
+ for (int index = 0; index < workers.length; index++)
+ {
+ workers[index] = new Worker(numberOfControls, transactionFactory);
+ }
+
+ for (int index = 0; index < workers.length; index++)
+ {
+ workers[index].start();
+ }
+
+ for (int index = 0; index < workers.length; index++)
+ {
+ workers[index].join();
+ correct = correct && workers[index].isCorrect();
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client14.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client14.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+
+ private static class Worker extends Thread
+ {
+ public Worker(int numberOfControls, TransactionFactory transactionFactory)
+ {
+ _numberOfControls = numberOfControls;
+ _transactionFactory = transactionFactory;
+ }
+
+ public void run()
+ {
+ try
+ {
+ Control[] controls = new Control[_numberOfControls];
+
+ for (int index = 0; _correct && (index < controls.length); index++)
+ {
+ controls[index] = _transactionFactory.create(0);
+
+ _correct = _correct && (controls[index].get_coordinator().get_status() == Status.StatusActive);
+ }
+
+ for (int index = 0; _correct && (index < controls.length); index++)
+ {
+ int option = index % 3;
+
+ if (option == 0)
+ {
+ controls[index].get_terminator().commit(true);
+ }
+ else if (option == 1)
+ {
+ controls[index].get_terminator().commit(false);
+ }
+ else
+ {
+ controls[index].get_terminator().rollback();
+ }
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client14.Worker.run: " + exception);
+ exception.printStackTrace(System.err);
+ _correct = false;
+ }
+ }
+
+ public boolean isCorrect()
+ {
+ return _correct;
+ }
+
+ private boolean _correct = true;
+ private int _numberOfControls;
+ private TransactionFactory _transactionFactory = null;
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_NoTran_NoTranNullOper.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_NoTran_NoTranNullOper.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_NoTran_NoTranNullOper.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,128 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.PerfProfile01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ExplicitObject_NoTran_NoTranNullOper.java,v 1.2 2003/06/26 11:44:18 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ExplicitObject_NoTran_NoTranNullOper.java,v 1.2 2003/06/26 11:44:18 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.PerfProfile01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.PerformanceProfileStore;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+import java.util.Date;
+
+public class Client_ExplicitObject_NoTran_NoTranNullOper
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String prefix = args[args.length - 3];
+ int numberOfCalls = Integer.parseInt(args[args.length - 2]);
+ String explicitObjectIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+
+ ExplicitObject explicitObject = ExplicitObjectHelper.narrow(ORBInterface.orb().string_to_object(explicitObjectIOR));
+
+ boolean correct = true;
+
+ Date start = new Date();
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ explicitObject.no_tran_nulloper(null);
+ }
+
+ Date end = new Date();
+
+ float operationDuration = ((float) (end.getTime() - start.getTime())) / ((float) numberOfCalls);
+
+ System.err.println("Operation duration : " + operationDuration + "ms");
+ System.err.println("Test duration : " + (end.getTime() - start.getTime()) + "ms");
+
+ correct = PerformanceProfileStore.checkPerformance(prefix + "_ExplicitObject_NoTran_NoTranNullOper", operationDuration);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client_ExplicitObject_NoTran_NoTranNullOper.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client_ExplicitObject_NoTran_NoTranNullOper.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_NoTran_TranCommitNullOper.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_NoTran_TranCommitNullOper.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_NoTran_TranCommitNullOper.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,128 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.PerfProfile01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ExplicitObject_NoTran_TranCommitNullOper.java,v 1.2 2003/06/26 11:44:18 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ExplicitObject_NoTran_TranCommitNullOper.java,v 1.2 2003/06/26 11:44:18 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.PerfProfile01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.PerformanceProfileStore;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+import java.util.Date;
+
+public class Client_ExplicitObject_NoTran_TranCommitNullOper
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String prefix = args[args.length - 3];
+ int numberOfCalls = Integer.parseInt(args[args.length - 2]);
+ String explicitObjectIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+
+ ExplicitObject explicitObject = ExplicitObjectHelper.narrow(ORBInterface.orb().string_to_object(explicitObjectIOR));
+
+ boolean correct = true;
+
+ Date start = new Date();
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ explicitObject.tran_commit_nulloper(null);
+ }
+
+ Date end = new Date();
+
+ float operationDuration = ((float) (end.getTime() - start.getTime())) / ((float) numberOfCalls);
+
+ System.err.println("Operation duration : " + operationDuration + "ms");
+ System.err.println("Test duration : " + (end.getTime() - start.getTime()) + "ms");
+
+ correct = PerformanceProfileStore.checkPerformance(prefix + "_ExplicitObject_NoTran_TranCommitNullOper", operationDuration);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client_ExplicitObject_NoTran_TranCommitNullOper.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client_ExplicitObject_NoTran_TranCommitNullOper.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_NoTran_TranCommitReadLock.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_NoTran_TranCommitReadLock.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_NoTran_TranCommitReadLock.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,128 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.PerfProfile01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ExplicitObject_NoTran_TranCommitReadLock.java,v 1.2 2003/06/26 11:44:18 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ExplicitObject_NoTran_TranCommitReadLock.java,v 1.2 2003/06/26 11:44:18 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.PerfProfile01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.PerformanceProfileStore;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+import java.util.Date;
+
+public class Client_ExplicitObject_NoTran_TranCommitReadLock
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String prefix = args[args.length - 3];
+ int numberOfCalls = Integer.parseInt(args[args.length - 2]);
+ String explicitObjectIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+
+ ExplicitObject explicitObject = ExplicitObjectHelper.narrow(ORBInterface.orb().string_to_object(explicitObjectIOR));
+
+ boolean correct = true;
+
+ Date start = new Date();
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ explicitObject.tran_commit_readlock(null);
+ }
+
+ Date end = new Date();
+
+ float operationDuration = ((float) (end.getTime() - start.getTime())) / ((float) numberOfCalls);
+
+ System.err.println("Operation duration : " + operationDuration + "ms");
+ System.err.println("Test duration : " + (end.getTime() - start.getTime()) + "ms");
+
+ correct = PerformanceProfileStore.checkPerformance(prefix + "_ExplicitObject_NoTran_TranCommitReadLock", operationDuration);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client_ExplicitObject_NoTran_TranCommitReadLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client_ExplicitObject_NoTran_TranCommitReadLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_NoTran_TranCommitWriteLock.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_NoTran_TranCommitWriteLock.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_NoTran_TranCommitWriteLock.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,128 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.PerfProfile01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ExplicitObject_NoTran_TranCommitWriteLock.java,v 1.2 2003/06/26 11:44:18 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ExplicitObject_NoTran_TranCommitWriteLock.java,v 1.2 2003/06/26 11:44:18 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.PerfProfile01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.PerformanceProfileStore;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+import java.util.Date;
+
+public class Client_ExplicitObject_NoTran_TranCommitWriteLock
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String prefix = args[args.length - 3];
+ int numberOfCalls = Integer.parseInt(args[args.length - 2]);
+ String explicitObjectIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+
+ ExplicitObject explicitObject = ExplicitObjectHelper.narrow(ORBInterface.orb().string_to_object(explicitObjectIOR));
+
+ boolean correct = true;
+
+ Date start = new Date();
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ explicitObject.tran_commit_writelock(null);
+ }
+
+ Date end = new Date();
+
+ float operationDuration = ((float) (end.getTime() - start.getTime())) / ((float) numberOfCalls);
+
+ System.err.println("Operation duration : " + operationDuration + "ms");
+ System.err.println("Test duration : " + (end.getTime() - start.getTime()) + "ms");
+
+ correct = PerformanceProfileStore.checkPerformance(prefix + "_ExplicitObject_NoTran_TranCommitWriteLock", operationDuration);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client_ExplicitObject_NoTran_TranCommitWriteLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client_ExplicitObject_NoTran_TranCommitWriteLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_NoTran_TranRollbackNullOper.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_NoTran_TranRollbackNullOper.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_NoTran_TranRollbackNullOper.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,128 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.PerfProfile01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ExplicitObject_NoTran_TranRollbackNullOper.java,v 1.2 2003/06/26 11:44:18 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ExplicitObject_NoTran_TranRollbackNullOper.java,v 1.2 2003/06/26 11:44:18 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.PerfProfile01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.PerformanceProfileStore;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+import java.util.Date;
+
+public class Client_ExplicitObject_NoTran_TranRollbackNullOper
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String prefix = args[args.length - 3];
+ int numberOfCalls = Integer.parseInt(args[args.length - 2]);
+ String explicitObjectIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+
+ ExplicitObject explicitObject = ExplicitObjectHelper.narrow(ORBInterface.orb().string_to_object(explicitObjectIOR));
+
+ boolean correct = true;
+
+ Date start = new Date();
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ explicitObject.tran_rollback_nulloper(null);
+ }
+
+ Date end = new Date();
+
+ float operationDuration = ((float) (end.getTime() - start.getTime())) / ((float) numberOfCalls);
+
+ System.err.println("Operation duration : " + operationDuration + "ms");
+ System.err.println("Test duration : " + (end.getTime() - start.getTime()) + "ms");
+
+ correct = PerformanceProfileStore.checkPerformance(prefix + "_ExplicitObject_NoTran_TranRollbackNullOper", operationDuration);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client_ExplicitObject_NoTran_TranRollbackNullOper.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client_ExplicitObject_NoTran_TranRollbackNullOper.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_NoTran_TranRollbackReadLock.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_NoTran_TranRollbackReadLock.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_NoTran_TranRollbackReadLock.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,128 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.PerfProfile01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ExplicitObject_NoTran_TranRollbackReadLock.java,v 1.2 2003/06/26 11:44:18 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ExplicitObject_NoTran_TranRollbackReadLock.java,v 1.2 2003/06/26 11:44:18 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.PerfProfile01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.PerformanceProfileStore;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+import java.util.Date;
+
+public class Client_ExplicitObject_NoTran_TranRollbackReadLock
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String prefix = args[args.length - 3];
+ int numberOfCalls = Integer.parseInt(args[args.length - 2]);
+ String explicitObjectIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+
+ ExplicitObject explicitObject = ExplicitObjectHelper.narrow(ORBInterface.orb().string_to_object(explicitObjectIOR));
+
+ boolean correct = true;
+
+ Date start = new Date();
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ explicitObject.tran_rollback_readlock(null);
+ }
+
+ Date end = new Date();
+
+ float operationDuration = ((float) (end.getTime() - start.getTime())) / ((float) numberOfCalls);
+
+ System.err.println("Operation duration : " + operationDuration + "ms");
+ System.err.println("Test duration : " + (end.getTime() - start.getTime()) + "ms");
+
+ correct = PerformanceProfileStore.checkPerformance(prefix + "_ExplicitObject_NoTran_TranRollbackReadLock", operationDuration);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client_ExplicitObject_NoTran_TranRollbackReadLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client_ExplicitObject_NoTran_TranRollbackReadLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_NoTran_TranRollbackWriteLock.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_NoTran_TranRollbackWriteLock.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_NoTran_TranRollbackWriteLock.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,128 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.PerfProfile01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ExplicitObject_NoTran_TranRollbackWriteLock.java,v 1.2 2003/06/26 11:44:18 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ExplicitObject_NoTran_TranRollbackWriteLock.java,v 1.2 2003/06/26 11:44:18 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.PerfProfile01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.PerformanceProfileStore;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+import java.util.Date;
+
+public class Client_ExplicitObject_NoTran_TranRollbackWriteLock
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String prefix = args[args.length - 3];
+ int numberOfCalls = Integer.parseInt(args[args.length - 2]);
+ String explicitObjectIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+
+ ExplicitObject explicitObject = ExplicitObjectHelper.narrow(ORBInterface.orb().string_to_object(explicitObjectIOR));
+
+ boolean correct = true;
+
+ Date start = new Date();
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ explicitObject.tran_rollback_writelock(null);
+ }
+
+ Date end = new Date();
+
+ float operationDuration = ((float) (end.getTime() - start.getTime())) / ((float) numberOfCalls);
+
+ System.err.println("Operation duration : " + operationDuration + "ms");
+ System.err.println("Test duration : " + (end.getTime() - start.getTime()) + "ms");
+
+ correct = PerformanceProfileStore.checkPerformance(prefix + "_ExplicitObject_NoTran_TranRollbackWriteLock", operationDuration);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client_ExplicitObject_NoTran_TranRollbackWriteLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client_ExplicitObject_NoTran_TranRollbackWriteLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranCommit_NoTranNullOper.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranCommit_NoTranNullOper.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranCommit_NoTranNullOper.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,132 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.PerfProfile01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ExplicitObject_TranCommit_NoTranNullOper.java,v 1.2 2003/06/26 11:44:18 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ExplicitObject_TranCommit_NoTranNullOper.java,v 1.2 2003/06/26 11:44:18 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import org.jboss.jbossts.qa.PerfProfile01.*;
+import org.jboss.jbossts.qa.Utils.*;
+
+import java.util.Date;
+
+public class Client_ExplicitObject_TranCommit_NoTranNullOper
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String prefix = args[args.length - 3];
+ int numberOfCalls = Integer.parseInt(args[args.length - 2]);
+ String explicitObjectIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+
+ ExplicitObject explicitObject = ExplicitObjectHelper.narrow(ORBInterface.orb().string_to_object(explicitObjectIOR));
+
+ boolean correct = true;
+
+ Date start = new Date();
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ explicitObject.no_tran_nulloper(OTS.current().get_control());
+
+ atomicTransaction.commit(true);
+ }
+
+ Date end = new Date();
+
+ float operationDuration = ((float) (end.getTime() - start.getTime())) / ((float) numberOfCalls);
+
+ System.err.println("Operation duration : " + operationDuration + "ms");
+ System.err.println("Test duration : " + (end.getTime() - start.getTime()) + "ms");
+
+ correct = PerformanceProfileStore.checkPerformance(prefix + "_ExplicitObject_TranCommit_NoTranNullOper", operationDuration);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client_ExplicitObject_TranCommit_NoTranNullOper.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client_ExplicitObject_TranCommit_NoTranNullOper.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranCommit_NoTranReadLock.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranCommit_NoTranReadLock.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranCommit_NoTranReadLock.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,132 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.PerfProfile01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ExplicitObject_TranCommit_NoTranReadLock.java,v 1.2 2003/06/26 11:44:18 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ExplicitObject_TranCommit_NoTranReadLock.java,v 1.2 2003/06/26 11:44:18 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import org.jboss.jbossts.qa.PerfProfile01.*;
+import org.jboss.jbossts.qa.Utils.*;
+
+import java.util.Date;
+
+public class Client_ExplicitObject_TranCommit_NoTranReadLock
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String prefix = args[args.length - 3];
+ int numberOfCalls = Integer.parseInt(args[args.length - 2]);
+ String explicitObjectIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+
+ ExplicitObject explicitObject = ExplicitObjectHelper.narrow(ORBInterface.orb().string_to_object(explicitObjectIOR));
+
+ boolean correct = true;
+
+ Date start = new Date();
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ explicitObject.no_tran_readlock(OTS.current().get_control());
+
+ atomicTransaction.commit(true);
+ }
+
+ Date end = new Date();
+
+ float operationDuration = ((float) (end.getTime() - start.getTime())) / ((float) numberOfCalls);
+
+ System.err.println("Operation duration : " + operationDuration + "ms");
+ System.err.println("Test duration : " + (end.getTime() - start.getTime()) + "ms");
+
+ correct = PerformanceProfileStore.checkPerformance(prefix + "_ExplicitObject_TranCommit_NoTranReadLock", operationDuration);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client_ExplicitObject_TranCommit_NoTranReadLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client_ExplicitObject_TranCommit_NoTranReadLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranCommit_NoTranWriteLock.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranCommit_NoTranWriteLock.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranCommit_NoTranWriteLock.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,132 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.PerfProfile01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ExplicitObject_TranCommit_NoTranWriteLock.java,v 1.2 2003/06/26 11:44:18 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ExplicitObject_TranCommit_NoTranWriteLock.java,v 1.2 2003/06/26 11:44:18 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import org.jboss.jbossts.qa.PerfProfile01.*;
+import org.jboss.jbossts.qa.Utils.*;
+
+import java.util.Date;
+
+public class Client_ExplicitObject_TranCommit_NoTranWriteLock
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String prefix = args[args.length - 3];
+ int numberOfCalls = Integer.parseInt(args[args.length - 2]);
+ String explicitObjectIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+
+ ExplicitObject explicitObject = ExplicitObjectHelper.narrow(ORBInterface.orb().string_to_object(explicitObjectIOR));
+
+ boolean correct = true;
+
+ Date start = new Date();
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ explicitObject.no_tran_writelock(OTS.current().get_control());
+
+ atomicTransaction.commit(true);
+ }
+
+ Date end = new Date();
+
+ float operationDuration = ((float) (end.getTime() - start.getTime())) / ((float) numberOfCalls);
+
+ System.err.println("Operation duration : " + operationDuration + "ms");
+ System.err.println("Test duration : " + (end.getTime() - start.getTime()) + "ms");
+
+ correct = PerformanceProfileStore.checkPerformance(prefix + "_ExplicitObject_TranCommit_NoTranWriteLock", operationDuration);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client_ExplicitObject_TranCommit_NoTranWriteLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client_ExplicitObject_TranCommit_NoTranWriteLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranCommit_TranCommitNullOper.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranCommit_TranCommitNullOper.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranCommit_TranCommitNullOper.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,132 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.PerfProfile01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ExplicitObject_TranCommit_TranCommitNullOper.java,v 1.2 2003/06/26 11:44:18 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ExplicitObject_TranCommit_TranCommitNullOper.java,v 1.2 2003/06/26 11:44:18 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import org.jboss.jbossts.qa.PerfProfile01.*;
+import org.jboss.jbossts.qa.Utils.*;
+
+import java.util.Date;
+
+public class Client_ExplicitObject_TranCommit_TranCommitNullOper
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String prefix = args[args.length - 3];
+ int numberOfCalls = Integer.parseInt(args[args.length - 2]);
+ String explicitObjectIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+
+ ExplicitObject explicitObject = ExplicitObjectHelper.narrow(ORBInterface.orb().string_to_object(explicitObjectIOR));
+
+ boolean correct = true;
+
+ Date start = new Date();
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ explicitObject.tran_commit_nulloper(OTS.current().get_control());
+
+ atomicTransaction.commit(true);
+ }
+
+ Date end = new Date();
+
+ float operationDuration = ((float) (end.getTime() - start.getTime())) / ((float) numberOfCalls);
+
+ System.err.println("Operation duration : " + operationDuration + "ms");
+ System.err.println("Test duration : " + (end.getTime() - start.getTime()) + "ms");
+
+ correct = PerformanceProfileStore.checkPerformance(prefix + "_ExplicitObject_TranCommit_TranCommitNullOper", operationDuration);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client_ExplicitObject_TranCommit_TranCommitNullOper.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client_ExplicitObject_TranCommit_TranCommitNullOper.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranCommit_TranCommitReadLock.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranCommit_TranCommitReadLock.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranCommit_TranCommitReadLock.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,132 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.PerfProfile01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ExplicitObject_TranCommit_TranCommitReadLock.java,v 1.2 2003/06/26 11:44:18 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ExplicitObject_TranCommit_TranCommitReadLock.java,v 1.2 2003/06/26 11:44:18 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import org.jboss.jbossts.qa.PerfProfile01.*;
+import org.jboss.jbossts.qa.Utils.*;
+
+import java.util.Date;
+
+public class Client_ExplicitObject_TranCommit_TranCommitReadLock
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String prefix = args[args.length - 3];
+ int numberOfCalls = Integer.parseInt(args[args.length - 2]);
+ String explicitObjectIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+
+ ExplicitObject explicitObject = ExplicitObjectHelper.narrow(ORBInterface.orb().string_to_object(explicitObjectIOR));
+
+ boolean correct = true;
+
+ Date start = new Date();
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ explicitObject.tran_commit_readlock(OTS.current().get_control());
+
+ atomicTransaction.commit(true);
+ }
+
+ Date end = new Date();
+
+ float operationDuration = ((float) (end.getTime() - start.getTime())) / ((float) numberOfCalls);
+
+ System.err.println("Operation duration : " + operationDuration + "ms");
+ System.err.println("Test duration : " + (end.getTime() - start.getTime()) + "ms");
+
+ correct = PerformanceProfileStore.checkPerformance(prefix + "_ExplicitObject_TranCommit_TranCommitReadLock", operationDuration);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client_ExplicitObject_TranCommit_TranCommitReadLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client_ExplicitObject_TranCommit_TranCommitReadLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranCommit_TranCommitWriteLock.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranCommit_TranCommitWriteLock.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranCommit_TranCommitWriteLock.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,132 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.PerfProfile01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ExplicitObject_TranCommit_TranCommitWriteLock.java,v 1.2 2003/06/26 11:44:19 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ExplicitObject_TranCommit_TranCommitWriteLock.java,v 1.2 2003/06/26 11:44:19 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import org.jboss.jbossts.qa.PerfProfile01.*;
+import org.jboss.jbossts.qa.Utils.*;
+
+import java.util.Date;
+
+public class Client_ExplicitObject_TranCommit_TranCommitWriteLock
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String prefix = args[args.length - 3];
+ int numberOfCalls = Integer.parseInt(args[args.length - 2]);
+ String explicitObjectIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+
+ ExplicitObject explicitObject = ExplicitObjectHelper.narrow(ORBInterface.orb().string_to_object(explicitObjectIOR));
+
+ boolean correct = true;
+
+ Date start = new Date();
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ explicitObject.tran_commit_writelock(OTS.current().get_control());
+
+ atomicTransaction.commit(true);
+ }
+
+ Date end = new Date();
+
+ float operationDuration = ((float) (end.getTime() - start.getTime())) / ((float) numberOfCalls);
+
+ System.err.println("Operation duration : " + operationDuration + "ms");
+ System.err.println("Test duration : " + (end.getTime() - start.getTime()) + "ms");
+
+ correct = PerformanceProfileStore.checkPerformance(prefix + "_ExplicitObject_TranCommit_TranCommitWriteLock", operationDuration);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client_ExplicitObject_TranCommit_TranCommitWriteLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client_ExplicitObject_TranCommit_TranCommitWriteLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranCommit_TranRollbackNullOper.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranCommit_TranRollbackNullOper.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranCommit_TranRollbackNullOper.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,132 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.PerfProfile01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ExplicitObject_TranCommit_TranRollbackNullOper.java,v 1.2 2003/06/26 11:44:19 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ExplicitObject_TranCommit_TranRollbackNullOper.java,v 1.2 2003/06/26 11:44:19 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import org.jboss.jbossts.qa.PerfProfile01.*;
+import org.jboss.jbossts.qa.Utils.*;
+
+import java.util.Date;
+
+public class Client_ExplicitObject_TranCommit_TranRollbackNullOper
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String prefix = args[args.length - 3];
+ int numberOfCalls = Integer.parseInt(args[args.length - 2]);
+ String explicitObjectIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+
+ ExplicitObject explicitObject = ExplicitObjectHelper.narrow(ORBInterface.orb().string_to_object(explicitObjectIOR));
+
+ boolean correct = true;
+
+ Date start = new Date();
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ explicitObject.tran_rollback_nulloper(OTS.current().get_control());
+
+ atomicTransaction.commit(true);
+ }
+
+ Date end = new Date();
+
+ float operationDuration = ((float) (end.getTime() - start.getTime())) / ((float) numberOfCalls);
+
+ System.err.println("Operation duration : " + operationDuration + "ms");
+ System.err.println("Test duration : " + (end.getTime() - start.getTime()) + "ms");
+
+ correct = PerformanceProfileStore.checkPerformance(prefix + "_ExplicitObject_TranCommit_TranRollbackNullOper", operationDuration);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client_ExplicitObject_TranCommit_TranRollbackNullOper.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client_ExplicitObject_TranCommit_TranRollbackNullOper.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranCommit_TranRollbackReadLock.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranCommit_TranRollbackReadLock.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranCommit_TranRollbackReadLock.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,132 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.PerfProfile01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ExplicitObject_TranCommit_TranRollbackReadLock.java,v 1.2 2003/06/26 11:44:19 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ExplicitObject_TranCommit_TranRollbackReadLock.java,v 1.2 2003/06/26 11:44:19 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import org.jboss.jbossts.qa.PerfProfile01.*;
+import org.jboss.jbossts.qa.Utils.*;
+
+import java.util.Date;
+
+public class Client_ExplicitObject_TranCommit_TranRollbackReadLock
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String prefix = args[args.length - 3];
+ int numberOfCalls = Integer.parseInt(args[args.length - 2]);
+ String explicitObjectIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+
+ ExplicitObject explicitObject = ExplicitObjectHelper.narrow(ORBInterface.orb().string_to_object(explicitObjectIOR));
+
+ boolean correct = true;
+
+ Date start = new Date();
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ explicitObject.tran_rollback_readlock(OTS.current().get_control());
+
+ atomicTransaction.commit(true);
+ }
+
+ Date end = new Date();
+
+ float operationDuration = ((float) (end.getTime() - start.getTime())) / ((float) numberOfCalls);
+
+ System.err.println("Operation duration : " + operationDuration + "ms");
+ System.err.println("Test duration : " + (end.getTime() - start.getTime()) + "ms");
+
+ correct = PerformanceProfileStore.checkPerformance(prefix + "_ExplicitObject_TranCommit_TranRollbackReadLock", operationDuration);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client_ExplicitObject_TranCommit_TranRollbackReadLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client_ExplicitObject_TranCommit_TranRollbackReadLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranCommit_TranRollbackWriteLock.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranCommit_TranRollbackWriteLock.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranCommit_TranRollbackWriteLock.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,132 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.PerfProfile01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ExplicitObject_TranCommit_TranRollbackWriteLock.java,v 1.2 2003/06/26 11:44:19 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ExplicitObject_TranCommit_TranRollbackWriteLock.java,v 1.2 2003/06/26 11:44:19 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import org.jboss.jbossts.qa.PerfProfile01.*;
+import org.jboss.jbossts.qa.Utils.*;
+
+import java.util.Date;
+
+public class Client_ExplicitObject_TranCommit_TranRollbackWriteLock
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String prefix = args[args.length - 3];
+ int numberOfCalls = Integer.parseInt(args[args.length - 2]);
+ String explicitObjectIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+
+ ExplicitObject explicitObject = ExplicitObjectHelper.narrow(ORBInterface.orb().string_to_object(explicitObjectIOR));
+
+ boolean correct = true;
+
+ Date start = new Date();
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ explicitObject.tran_rollback_writelock(OTS.current().get_control());
+
+ atomicTransaction.commit(true);
+ }
+
+ Date end = new Date();
+
+ float operationDuration = ((float) (end.getTime() - start.getTime())) / ((float) numberOfCalls);
+
+ System.err.println("Operation duration : " + operationDuration + "ms");
+ System.err.println("Test duration : " + (end.getTime() - start.getTime()) + "ms");
+
+ correct = PerformanceProfileStore.checkPerformance(prefix + "_ExplicitObject_TranCommit_TranRollbackWriteLock", operationDuration);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client_ExplicitObject_TranCommit_TranRollbackWriteLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client_ExplicitObject_TranCommit_TranRollbackWriteLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranRollback_NoTranNullOper.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranRollback_NoTranNullOper.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranRollback_NoTranNullOper.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,132 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.PerfProfile01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ExplicitObject_TranRollback_NoTranNullOper.java,v 1.2 2003/06/26 11:44:19 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ExplicitObject_TranRollback_NoTranNullOper.java,v 1.2 2003/06/26 11:44:19 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import org.jboss.jbossts.qa.PerfProfile01.*;
+import org.jboss.jbossts.qa.Utils.*;
+
+import java.util.Date;
+
+public class Client_ExplicitObject_TranRollback_NoTranNullOper
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String prefix = args[args.length - 3];
+ int numberOfCalls = Integer.parseInt(args[args.length - 2]);
+ String explicitObjectIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+
+ ExplicitObject explicitObject = ExplicitObjectHelper.narrow(ORBInterface.orb().string_to_object(explicitObjectIOR));
+
+ boolean correct = true;
+
+ Date start = new Date();
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ explicitObject.no_tran_nulloper(OTS.current().get_control());
+
+ atomicTransaction.rollback();
+ }
+
+ Date end = new Date();
+
+ float operationDuration = ((float) (end.getTime() - start.getTime())) / ((float) numberOfCalls);
+
+ System.err.println("Operation duration : " + operationDuration + "ms");
+ System.err.println("Test duration : " + (end.getTime() - start.getTime()) + "ms");
+
+ correct = PerformanceProfileStore.checkPerformance(prefix + "_ExplicitObject_TranRollback_NoTranNullOper", operationDuration);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client_ExplicitObject_TranRollback_NoTranNullOper.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client_ExplicitObject_TranRollback_NoTranNullOper.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranRollback_NoTranReadLock.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranRollback_NoTranReadLock.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranRollback_NoTranReadLock.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,132 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.PerfProfile01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ExplicitObject_TranRollback_NoTranReadLock.java,v 1.2 2003/06/26 11:44:19 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ExplicitObject_TranRollback_NoTranReadLock.java,v 1.2 2003/06/26 11:44:19 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import org.jboss.jbossts.qa.PerfProfile01.*;
+import org.jboss.jbossts.qa.Utils.*;
+
+import java.util.Date;
+
+public class Client_ExplicitObject_TranRollback_NoTranReadLock
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String prefix = args[args.length - 3];
+ int numberOfCalls = Integer.parseInt(args[args.length - 2]);
+ String explicitObjectIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+
+ ExplicitObject explicitObject = ExplicitObjectHelper.narrow(ORBInterface.orb().string_to_object(explicitObjectIOR));
+
+ boolean correct = true;
+
+ Date start = new Date();
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ explicitObject.no_tran_readlock(OTS.current().get_control());
+
+ atomicTransaction.rollback();
+ }
+
+ Date end = new Date();
+
+ float operationDuration = ((float) (end.getTime() - start.getTime())) / ((float) numberOfCalls);
+
+ System.err.println("Operation duration : " + operationDuration + "ms");
+ System.err.println("Test duration : " + (end.getTime() - start.getTime()) + "ms");
+
+ correct = PerformanceProfileStore.checkPerformance(prefix + "_ExplicitObject_TranRollback_NoTranReadLock", operationDuration);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client_ExplicitObject_TranRollback_NoTranReadLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client_ExplicitObject_TranRollback_NoTranReadLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranRollback_NoTranWriteLock.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranRollback_NoTranWriteLock.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranRollback_NoTranWriteLock.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,132 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.PerfProfile01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ExplicitObject_TranRollback_NoTranWriteLock.java,v 1.2 2003/06/26 11:44:19 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ExplicitObject_TranRollback_NoTranWriteLock.java,v 1.2 2003/06/26 11:44:19 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import org.jboss.jbossts.qa.PerfProfile01.*;
+import org.jboss.jbossts.qa.Utils.*;
+
+import java.util.Date;
+
+public class Client_ExplicitObject_TranRollback_NoTranWriteLock
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String prefix = args[args.length - 3];
+ int numberOfCalls = Integer.parseInt(args[args.length - 2]);
+ String explicitObjectIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+
+ ExplicitObject explicitObject = ExplicitObjectHelper.narrow(ORBInterface.orb().string_to_object(explicitObjectIOR));
+
+ boolean correct = true;
+
+ Date start = new Date();
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ explicitObject.no_tran_writelock(OTS.current().get_control());
+
+ atomicTransaction.rollback();
+ }
+
+ Date end = new Date();
+
+ float operationDuration = ((float) (end.getTime() - start.getTime())) / ((float) numberOfCalls);
+
+ System.err.println("Operation duration : " + operationDuration + "ms");
+ System.err.println("Test duration : " + (end.getTime() - start.getTime()) + "ms");
+
+ correct = PerformanceProfileStore.checkPerformance(prefix + "_ExplicitObject_TranRollback_NoTranWriteLock", operationDuration);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client_ExplicitObject_TranRollback_NoTranWriteLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client_ExplicitObject_TranRollback_NoTranWriteLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranRollback_TranCommitNullOper.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranRollback_TranCommitNullOper.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranRollback_TranCommitNullOper.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,132 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.PerfProfile01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ExplicitObject_TranRollback_TranCommitNullOper.java,v 1.2 2003/06/26 11:44:19 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ExplicitObject_TranRollback_TranCommitNullOper.java,v 1.2 2003/06/26 11:44:19 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import org.jboss.jbossts.qa.PerfProfile01.*;
+import org.jboss.jbossts.qa.Utils.*;
+
+import java.util.Date;
+
+public class Client_ExplicitObject_TranRollback_TranCommitNullOper
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String prefix = args[args.length - 3];
+ int numberOfCalls = Integer.parseInt(args[args.length - 2]);
+ String explicitObjectIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+
+ ExplicitObject explicitObject = ExplicitObjectHelper.narrow(ORBInterface.orb().string_to_object(explicitObjectIOR));
+
+ boolean correct = true;
+
+ Date start = new Date();
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ explicitObject.tran_commit_nulloper(OTS.current().get_control());
+
+ atomicTransaction.rollback();
+ }
+
+ Date end = new Date();
+
+ float operationDuration = ((float) (end.getTime() - start.getTime())) / ((float) numberOfCalls);
+
+ System.err.println("Operation duration : " + operationDuration + "ms");
+ System.err.println("Test duration : " + (end.getTime() - start.getTime()) + "ms");
+
+ correct = PerformanceProfileStore.checkPerformance(prefix + "_ExplicitObject_TranRollback_TranCommitNullOper", operationDuration);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client_ExplicitObject_TranRollback_TranCommitNullOper.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client_ExplicitObject_TranRollback_TranCommitNullOper.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranRollback_TranCommitReadLock.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranRollback_TranCommitReadLock.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranRollback_TranCommitReadLock.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,132 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.PerfProfile01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ExplicitObject_TranRollback_TranCommitReadLock.java,v 1.2 2003/06/26 11:44:19 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ExplicitObject_TranRollback_TranCommitReadLock.java,v 1.2 2003/06/26 11:44:19 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import org.jboss.jbossts.qa.PerfProfile01.*;
+import org.jboss.jbossts.qa.Utils.*;
+
+import java.util.Date;
+
+public class Client_ExplicitObject_TranRollback_TranCommitReadLock
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String prefix = args[args.length - 3];
+ int numberOfCalls = Integer.parseInt(args[args.length - 2]);
+ String explicitObjectIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+
+ ExplicitObject explicitObject = ExplicitObjectHelper.narrow(ORBInterface.orb().string_to_object(explicitObjectIOR));
+
+ boolean correct = true;
+
+ Date start = new Date();
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ explicitObject.tran_commit_readlock(OTS.current().get_control());
+
+ atomicTransaction.rollback();
+ }
+
+ Date end = new Date();
+
+ float operationDuration = ((float) (end.getTime() - start.getTime())) / ((float) numberOfCalls);
+
+ System.err.println("Operation duration : " + operationDuration + "ms");
+ System.err.println("Test duration : " + (end.getTime() - start.getTime()) + "ms");
+
+ correct = PerformanceProfileStore.checkPerformance(prefix + "_ExplicitObject_TranRollback_TranCommitReadLock", operationDuration);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client_ExplicitObject_TranRollback_TranCommitReadLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client_ExplicitObject_TranRollback_TranCommitReadLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranRollback_TranCommitWriteLock.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranRollback_TranCommitWriteLock.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranRollback_TranCommitWriteLock.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,132 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.PerfProfile01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ExplicitObject_TranRollback_TranCommitWriteLock.java,v 1.2 2003/06/26 11:44:19 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ExplicitObject_TranRollback_TranCommitWriteLock.java,v 1.2 2003/06/26 11:44:19 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import org.jboss.jbossts.qa.PerfProfile01.*;
+import org.jboss.jbossts.qa.Utils.*;
+
+import java.util.Date;
+
+public class Client_ExplicitObject_TranRollback_TranCommitWriteLock
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String prefix = args[args.length - 3];
+ int numberOfCalls = Integer.parseInt(args[args.length - 2]);
+ String explicitObjectIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+
+ ExplicitObject explicitObject = ExplicitObjectHelper.narrow(ORBInterface.orb().string_to_object(explicitObjectIOR));
+
+ boolean correct = true;
+
+ Date start = new Date();
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ explicitObject.tran_commit_writelock(OTS.current().get_control());
+
+ atomicTransaction.rollback();
+ }
+
+ Date end = new Date();
+
+ float operationDuration = ((float) (end.getTime() - start.getTime())) / ((float) numberOfCalls);
+
+ System.err.println("Operation duration : " + operationDuration + "ms");
+ System.err.println("Test duration : " + (end.getTime() - start.getTime()) + "ms");
+
+ correct = PerformanceProfileStore.checkPerformance(prefix + "_ExplicitObject_TranRollback_TranCommitWriteLock", operationDuration);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client_ExplicitObject_TranRollback_TranCommitWriteLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client_ExplicitObject_TranRollback_TranCommitWriteLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranRollback_TranRollbackNullOper.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranRollback_TranRollbackNullOper.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranRollback_TranRollbackNullOper.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,132 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.PerfProfile01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ExplicitObject_TranRollback_TranRollbackNullOper.java,v 1.2 2003/06/26 11:44:19 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ExplicitObject_TranRollback_TranRollbackNullOper.java,v 1.2 2003/06/26 11:44:19 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import org.jboss.jbossts.qa.PerfProfile01.*;
+import org.jboss.jbossts.qa.Utils.*;
+
+import java.util.Date;
+
+public class Client_ExplicitObject_TranRollback_TranRollbackNullOper
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String prefix = args[args.length - 3];
+ int numberOfCalls = Integer.parseInt(args[args.length - 2]);
+ String explicitObjectIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+
+ ExplicitObject explicitObject = ExplicitObjectHelper.narrow(ORBInterface.orb().string_to_object(explicitObjectIOR));
+
+ boolean correct = true;
+
+ Date start = new Date();
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ explicitObject.tran_rollback_nulloper(OTS.current().get_control());
+
+ atomicTransaction.rollback();
+ }
+
+ Date end = new Date();
+
+ float operationDuration = ((float) (end.getTime() - start.getTime())) / ((float) numberOfCalls);
+
+ System.err.println("Operation duration : " + operationDuration + "ms");
+ System.err.println("Test duration : " + (end.getTime() - start.getTime()) + "ms");
+
+ correct = PerformanceProfileStore.checkPerformance(prefix + "_ExplicitObject_TranRollback_TranRollbackNullOper", operationDuration);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client_ExplicitObject_TranRollback_TranRollbackNullOper.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client_ExplicitObject_TranRollback_TranRollbackNullOper.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranRollback_TranRollbackReadLock.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranRollback_TranRollbackReadLock.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranRollback_TranRollbackReadLock.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,132 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.PerfProfile01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ExplicitObject_TranRollback_TranRollbackReadLock.java,v 1.2 2003/06/26 11:44:19 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ExplicitObject_TranRollback_TranRollbackReadLock.java,v 1.2 2003/06/26 11:44:19 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import org.jboss.jbossts.qa.PerfProfile01.*;
+import org.jboss.jbossts.qa.Utils.*;
+
+import java.util.Date;
+
+public class Client_ExplicitObject_TranRollback_TranRollbackReadLock
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String prefix = args[args.length - 3];
+ int numberOfCalls = Integer.parseInt(args[args.length - 2]);
+ String explicitObjectIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+
+ ExplicitObject explicitObject = ExplicitObjectHelper.narrow(ORBInterface.orb().string_to_object(explicitObjectIOR));
+
+ boolean correct = true;
+
+ Date start = new Date();
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ explicitObject.tran_rollback_readlock(OTS.current().get_control());
+
+ atomicTransaction.rollback();
+ }
+
+ Date end = new Date();
+
+ float operationDuration = ((float) (end.getTime() - start.getTime())) / ((float) numberOfCalls);
+
+ System.err.println("Operation duration : " + operationDuration + "ms");
+ System.err.println("Test duration : " + (end.getTime() - start.getTime()) + "ms");
+
+ correct = PerformanceProfileStore.checkPerformance(prefix + "_ExplicitObject_TranRollback_TranRollbackReadLock", operationDuration);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client_ExplicitObject_TranRollback_TranRollbackReadLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client_ExplicitObject_TranRollback_TranRollbackReadLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranRollback_TranRollbackWriteLock.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranRollback_TranRollbackWriteLock.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ExplicitObject_TranRollback_TranRollbackWriteLock.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,132 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.PerfProfile01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ExplicitObject_TranRollback_TranRollbackWriteLock.java,v 1.2 2003/06/26 11:44:19 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ExplicitObject_TranRollback_TranRollbackWriteLock.java,v 1.2 2003/06/26 11:44:19 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import org.jboss.jbossts.qa.PerfProfile01.*;
+import org.jboss.jbossts.qa.Utils.*;
+
+import java.util.Date;
+
+public class Client_ExplicitObject_TranRollback_TranRollbackWriteLock
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String prefix = args[args.length - 3];
+ int numberOfCalls = Integer.parseInt(args[args.length - 2]);
+ String explicitObjectIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+
+ ExplicitObject explicitObject = ExplicitObjectHelper.narrow(ORBInterface.orb().string_to_object(explicitObjectIOR));
+
+ boolean correct = true;
+
+ Date start = new Date();
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ explicitObject.tran_rollback_writelock(OTS.current().get_control());
+
+ atomicTransaction.rollback();
+ }
+
+ Date end = new Date();
+
+ float operationDuration = ((float) (end.getTime() - start.getTime())) / ((float) numberOfCalls);
+
+ System.err.println("Operation duration : " + operationDuration + "ms");
+ System.err.println("Test duration : " + (end.getTime() - start.getTime()) + "ms");
+
+ correct = PerformanceProfileStore.checkPerformance(prefix + "_ExplicitObject_TranRollback_TranRollbackWriteLock", operationDuration);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client_ExplicitObject_TranRollback_TranRollbackWriteLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client_ExplicitObject_TranRollback_TranRollbackWriteLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_NoTran_NoTranNullOper.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_NoTran_NoTranNullOper.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_NoTran_NoTranNullOper.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,128 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.PerfProfile01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ImplicitObject_NoTran_NoTranNullOper.java,v 1.2 2003/06/26 11:44:19 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ImplicitObject_NoTran_NoTranNullOper.java,v 1.2 2003/06/26 11:44:19 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.PerfProfile01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.PerformanceProfileStore;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+import java.util.Date;
+
+public class Client_ImplicitObject_NoTran_NoTranNullOper
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String prefix = args[args.length - 3];
+ int numberOfCalls = Integer.parseInt(args[args.length - 2]);
+ String implicitObjectIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+
+ ImplicitObject implicitObject = ImplicitObjectHelper.narrow(ORBInterface.orb().string_to_object(implicitObjectIOR));
+
+ boolean correct = true;
+
+ Date start = new Date();
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ implicitObject.no_tran_nulloper();
+ }
+
+ Date end = new Date();
+
+ float operationDuration = ((float) (end.getTime() - start.getTime())) / ((float) numberOfCalls);
+
+ System.err.println("Operation duration : " + operationDuration + "ms");
+ System.err.println("Test duration : " + (end.getTime() - start.getTime()) + "ms");
+
+ correct = PerformanceProfileStore.checkPerformance(prefix + "_ImplicitObject_NoTran_NoTranNullOper", operationDuration);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client_ImplicitObject_NoTran_NoTranNullOper.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client_ImplicitObject_NoTran_NoTranNullOper.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_NoTran_TranCommitNullOper.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_NoTran_TranCommitNullOper.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_NoTran_TranCommitNullOper.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,128 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.PerfProfile01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ImplicitObject_NoTran_TranCommitNullOper.java,v 1.2 2003/06/26 11:44:19 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ImplicitObject_NoTran_TranCommitNullOper.java,v 1.2 2003/06/26 11:44:19 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.PerfProfile01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.PerformanceProfileStore;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+import java.util.Date;
+
+public class Client_ImplicitObject_NoTran_TranCommitNullOper
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String prefix = args[args.length - 3];
+ int numberOfCalls = Integer.parseInt(args[args.length - 2]);
+ String implicitObjectIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+
+ ImplicitObject implicitObject = ImplicitObjectHelper.narrow(ORBInterface.orb().string_to_object(implicitObjectIOR));
+
+ boolean correct = true;
+
+ Date start = new Date();
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ implicitObject.tran_commit_nulloper();
+ }
+
+ Date end = new Date();
+
+ float operationDuration = ((float) (end.getTime() - start.getTime())) / ((float) numberOfCalls);
+
+ System.err.println("Operation duration : " + operationDuration + "ms");
+ System.err.println("Test duration : " + (end.getTime() - start.getTime()) + "ms");
+
+ correct = PerformanceProfileStore.checkPerformance(prefix + "_ImplicitObject_NoTran_TranCommitNullOper", operationDuration);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client_ImplicitObject_NoTran_TranCommitNullOper.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client_ImplicitObject_NoTran_TranCommitNullOper.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_NoTran_TranCommitReadLock.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_NoTran_TranCommitReadLock.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_NoTran_TranCommitReadLock.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,128 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.PerfProfile01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ImplicitObject_NoTran_TranCommitReadLock.java,v 1.2 2003/06/26 11:44:19 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ImplicitObject_NoTran_TranCommitReadLock.java,v 1.2 2003/06/26 11:44:19 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.PerfProfile01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.PerformanceProfileStore;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+import java.util.Date;
+
+public class Client_ImplicitObject_NoTran_TranCommitReadLock
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String prefix = args[args.length - 3];
+ int numberOfCalls = Integer.parseInt(args[args.length - 2]);
+ String implicitObjectIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+
+ ImplicitObject implicitObject = ImplicitObjectHelper.narrow(ORBInterface.orb().string_to_object(implicitObjectIOR));
+
+ boolean correct = true;
+
+ Date start = new Date();
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ implicitObject.tran_commit_readlock();
+ }
+
+ Date end = new Date();
+
+ float operationDuration = ((float) (end.getTime() - start.getTime())) / ((float) numberOfCalls);
+
+ System.err.println("Operation duration : " + operationDuration + "ms");
+ System.err.println("Test duration : " + (end.getTime() - start.getTime()) + "ms");
+
+ correct = PerformanceProfileStore.checkPerformance(prefix + "_ImplicitObject_NoTran_TranCommitReadLock", operationDuration);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client_ImplicitObject_NoTran_TranCommitReadLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client_ImplicitObject_NoTran_TranCommitReadLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_NoTran_TranCommitWriteLock.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_NoTran_TranCommitWriteLock.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_NoTran_TranCommitWriteLock.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,128 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.PerfProfile01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ImplicitObject_NoTran_TranCommitWriteLock.java,v 1.2 2003/06/26 11:44:19 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ImplicitObject_NoTran_TranCommitWriteLock.java,v 1.2 2003/06/26 11:44:19 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.PerfProfile01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.PerformanceProfileStore;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+import java.util.Date;
+
+public class Client_ImplicitObject_NoTran_TranCommitWriteLock
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String prefix = args[args.length - 3];
+ int numberOfCalls = Integer.parseInt(args[args.length - 2]);
+ String implicitObjectIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+
+ ImplicitObject implicitObject = ImplicitObjectHelper.narrow(ORBInterface.orb().string_to_object(implicitObjectIOR));
+
+ boolean correct = true;
+
+ Date start = new Date();
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ implicitObject.tran_commit_writelock();
+ }
+
+ Date end = new Date();
+
+ float operationDuration = ((float) (end.getTime() - start.getTime())) / ((float) numberOfCalls);
+
+ System.err.println("Operation duration : " + operationDuration + "ms");
+ System.err.println("Test duration : " + (end.getTime() - start.getTime()) + "ms");
+
+ correct = PerformanceProfileStore.checkPerformance(prefix + "_ImplicitObject_NoTran_TranCommitWriteLock", operationDuration);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client_ImplicitObject_NoTran_TranCommitWriteLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client_ImplicitObject_NoTran_TranCommitWriteLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_NoTran_TranRollbackNullOper.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_NoTran_TranRollbackNullOper.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_NoTran_TranRollbackNullOper.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,128 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.PerfProfile01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ImplicitObject_NoTran_TranRollbackNullOper.java,v 1.2 2003/06/26 11:44:19 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ImplicitObject_NoTran_TranRollbackNullOper.java,v 1.2 2003/06/26 11:44:19 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.PerfProfile01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.PerformanceProfileStore;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+import java.util.Date;
+
+public class Client_ImplicitObject_NoTran_TranRollbackNullOper
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String prefix = args[args.length - 3];
+ int numberOfCalls = Integer.parseInt(args[args.length - 2]);
+ String implicitObjectIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+
+ ImplicitObject implicitObject = ImplicitObjectHelper.narrow(ORBInterface.orb().string_to_object(implicitObjectIOR));
+
+ boolean correct = true;
+
+ Date start = new Date();
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ implicitObject.tran_rollback_nulloper();
+ }
+
+ Date end = new Date();
+
+ float operationDuration = ((float) (end.getTime() - start.getTime())) / ((float) numberOfCalls);
+
+ System.err.println("Operation duration : " + operationDuration + "ms");
+ System.err.println("Test duration : " + (end.getTime() - start.getTime()) + "ms");
+
+ correct = PerformanceProfileStore.checkPerformance(prefix + "_ImplicitObject_NoTran_TranRollbackNullOper", operationDuration);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client_ImplicitObject_NoTran_TranRollbackNullOper.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client_ImplicitObject_NoTran_TranRollbackNullOper.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_NoTran_TranRollbackReadLock.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_NoTran_TranRollbackReadLock.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_NoTran_TranRollbackReadLock.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,128 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.PerfProfile01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ImplicitObject_NoTran_TranRollbackReadLock.java,v 1.2 2003/06/26 11:44:19 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ImplicitObject_NoTran_TranRollbackReadLock.java,v 1.2 2003/06/26 11:44:19 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.PerfProfile01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.PerformanceProfileStore;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+import java.util.Date;
+
+public class Client_ImplicitObject_NoTran_TranRollbackReadLock
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String prefix = args[args.length - 3];
+ int numberOfCalls = Integer.parseInt(args[args.length - 2]);
+ String implicitObjectIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+
+ ImplicitObject implicitObject = ImplicitObjectHelper.narrow(ORBInterface.orb().string_to_object(implicitObjectIOR));
+
+ boolean correct = true;
+
+ Date start = new Date();
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ implicitObject.tran_rollback_readlock();
+ }
+
+ Date end = new Date();
+
+ float operationDuration = ((float) (end.getTime() - start.getTime())) / ((float) numberOfCalls);
+
+ System.err.println("Operation duration : " + operationDuration + "ms");
+ System.err.println("Test duration : " + (end.getTime() - start.getTime()) + "ms");
+
+ correct = PerformanceProfileStore.checkPerformance(prefix + "_ImplicitObject_NoTran_TranRollbackReadLock", operationDuration);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client_ImplicitObject_NoTran_TranRollbackReadLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client_ImplicitObject_NoTran_TranRollbackReadLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_NoTran_TranRollbackWriteLock.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_NoTran_TranRollbackWriteLock.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_NoTran_TranRollbackWriteLock.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,128 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.PerfProfile01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ImplicitObject_NoTran_TranRollbackWriteLock.java,v 1.2 2003/06/26 11:44:19 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ImplicitObject_NoTran_TranRollbackWriteLock.java,v 1.2 2003/06/26 11:44:19 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.PerfProfile01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.PerformanceProfileStore;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+import java.util.Date;
+
+public class Client_ImplicitObject_NoTran_TranRollbackWriteLock
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String prefix = args[args.length - 3];
+ int numberOfCalls = Integer.parseInt(args[args.length - 2]);
+ String implicitObjectIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+
+ ImplicitObject implicitObject = ImplicitObjectHelper.narrow(ORBInterface.orb().string_to_object(implicitObjectIOR));
+
+ boolean correct = true;
+
+ Date start = new Date();
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ implicitObject.tran_rollback_writelock();
+ }
+
+ Date end = new Date();
+
+ float operationDuration = ((float) (end.getTime() - start.getTime())) / ((float) numberOfCalls);
+
+ System.err.println("Operation duration : " + operationDuration + "ms");
+ System.err.println("Test duration : " + (end.getTime() - start.getTime()) + "ms");
+
+ correct = PerformanceProfileStore.checkPerformance(prefix + "_ImplicitObject_NoTran_TranRollbackWriteLock", operationDuration);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client_ImplicitObject_NoTran_TranRollbackWriteLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client_ImplicitObject_NoTran_TranRollbackWriteLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranCommit_NoTranNullOper.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranCommit_NoTranNullOper.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranCommit_NoTranNullOper.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,135 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.PerfProfile01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ImplicitObject_TranCommit_NoTranNullOper.java,v 1.2 2003/06/26 11:44:20 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ImplicitObject_TranCommit_NoTranNullOper.java,v 1.2 2003/06/26 11:44:20 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import org.jboss.jbossts.qa.PerfProfile01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.PerformanceProfileStore;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+import java.util.Date;
+
+public class Client_ImplicitObject_TranCommit_NoTranNullOper
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String prefix = args[args.length - 3];
+ int numberOfCalls = Integer.parseInt(args[args.length - 2]);
+ String implicitObjectIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+
+ ImplicitObject implicitObject = ImplicitObjectHelper.narrow(ORBInterface.orb().string_to_object(implicitObjectIOR));
+
+ boolean correct = true;
+
+ Date start = new Date();
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ implicitObject.no_tran_nulloper();
+
+ atomicTransaction.commit(true);
+ }
+
+ Date end = new Date();
+
+ float operationDuration = ((float) (end.getTime() - start.getTime())) / ((float) numberOfCalls);
+
+ System.err.println("Operation duration : " + operationDuration + "ms");
+ System.err.println("Test duration : " + (end.getTime() - start.getTime()) + "ms");
+
+ correct = PerformanceProfileStore.checkPerformance(prefix + "_ImplicitObject_TranCommit_NoTranNullOper", operationDuration);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client_ImplicitObject_TranCommit_NoTranNullOper.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client_ImplicitObject_TranCommit_NoTranNullOper.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranCommit_NoTranReadLock.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranCommit_NoTranReadLock.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranCommit_NoTranReadLock.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,135 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.PerfProfile01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ImplicitObject_TranCommit_NoTranReadLock.java,v 1.2 2003/06/26 11:44:20 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ImplicitObject_TranCommit_NoTranReadLock.java,v 1.2 2003/06/26 11:44:20 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import org.jboss.jbossts.qa.PerfProfile01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.PerformanceProfileStore;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+import java.util.Date;
+
+public class Client_ImplicitObject_TranCommit_NoTranReadLock
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String prefix = args[args.length - 3];
+ int numberOfCalls = Integer.parseInt(args[args.length - 2]);
+ String implicitObjectIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+
+ ImplicitObject implicitObject = ImplicitObjectHelper.narrow(ORBInterface.orb().string_to_object(implicitObjectIOR));
+
+ boolean correct = true;
+
+ Date start = new Date();
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ implicitObject.no_tran_readlock();
+
+ atomicTransaction.commit(true);
+ }
+
+ Date end = new Date();
+
+ float operationDuration = ((float) (end.getTime() - start.getTime())) / ((float) numberOfCalls);
+
+ System.err.println("Operation duration : " + operationDuration + "ms");
+ System.err.println("Test duration : " + (end.getTime() - start.getTime()) + "ms");
+
+ correct = PerformanceProfileStore.checkPerformance(prefix + "_ImplicitObject_TranCommit_NoTranReadLock", operationDuration);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client_ImplicitObject_TranCommit_NoTranReadLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client_ImplicitObject_TranCommit_NoTranReadLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranCommit_NoTranWriteLock.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranCommit_NoTranWriteLock.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranCommit_NoTranWriteLock.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,135 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.PerfProfile01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ImplicitObject_TranCommit_NoTranWriteLock.java,v 1.2 2003/06/26 11:44:20 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ImplicitObject_TranCommit_NoTranWriteLock.java,v 1.2 2003/06/26 11:44:20 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import org.jboss.jbossts.qa.PerfProfile01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.PerformanceProfileStore;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+import java.util.Date;
+
+public class Client_ImplicitObject_TranCommit_NoTranWriteLock
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String prefix = args[args.length - 3];
+ int numberOfCalls = Integer.parseInt(args[args.length - 2]);
+ String implicitObjectIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+
+ ImplicitObject implicitObject = ImplicitObjectHelper.narrow(ORBInterface.orb().string_to_object(implicitObjectIOR));
+
+ boolean correct = true;
+
+ Date start = new Date();
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ implicitObject.no_tran_writelock();
+
+ atomicTransaction.commit(true);
+ }
+
+ Date end = new Date();
+
+ float operationDuration = ((float) (end.getTime() - start.getTime())) / ((float) numberOfCalls);
+
+ System.err.println("Operation duration : " + operationDuration + "ms");
+ System.err.println("Test duration : " + (end.getTime() - start.getTime()) + "ms");
+
+ correct = PerformanceProfileStore.checkPerformance(prefix + "_ImplicitObject_TranCommit_NoTranWriteLock", operationDuration);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client_ImplicitObject_TranCommit_NoTranWriteLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client_ImplicitObject_TranCommit_NoTranWriteLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranCommit_TranCommitNullOper.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranCommit_TranCommitNullOper.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranCommit_TranCommitNullOper.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,135 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.PerfProfile01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ImplicitObject_TranCommit_TranCommitNullOper.java,v 1.2 2003/06/26 11:44:20 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ImplicitObject_TranCommit_TranCommitNullOper.java,v 1.2 2003/06/26 11:44:20 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import org.jboss.jbossts.qa.PerfProfile01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.PerformanceProfileStore;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+import java.util.Date;
+
+public class Client_ImplicitObject_TranCommit_TranCommitNullOper
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String prefix = args[args.length - 3];
+ int numberOfCalls = Integer.parseInt(args[args.length - 2]);
+ String implicitObjectIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+
+ ImplicitObject implicitObject = ImplicitObjectHelper.narrow(ORBInterface.orb().string_to_object(implicitObjectIOR));
+
+ boolean correct = true;
+
+ Date start = new Date();
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ implicitObject.tran_commit_nulloper();
+
+ atomicTransaction.commit(true);
+ }
+
+ Date end = new Date();
+
+ float operationDuration = ((float) (end.getTime() - start.getTime())) / ((float) numberOfCalls);
+
+ System.err.println("Operation duration : " + operationDuration + "ms");
+ System.err.println("Test duration : " + (end.getTime() - start.getTime()) + "ms");
+
+ correct = PerformanceProfileStore.checkPerformance(prefix + "_ImplicitObject_TranCommit_TranCommitNullOper", operationDuration);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client_ImplicitObject_TranCommit_TranCommitNullOper.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client_ImplicitObject_TranCommit_TranCommitNullOper.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranCommit_TranCommitReadLock.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranCommit_TranCommitReadLock.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranCommit_TranCommitReadLock.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,135 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.PerfProfile01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ImplicitObject_TranCommit_TranCommitReadLock.java,v 1.2 2003/06/26 11:44:20 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ImplicitObject_TranCommit_TranCommitReadLock.java,v 1.2 2003/06/26 11:44:20 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import org.jboss.jbossts.qa.PerfProfile01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.PerformanceProfileStore;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+import java.util.Date;
+
+public class Client_ImplicitObject_TranCommit_TranCommitReadLock
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String prefix = args[args.length - 3];
+ int numberOfCalls = Integer.parseInt(args[args.length - 2]);
+ String implicitObjectIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+
+ ImplicitObject implicitObject = ImplicitObjectHelper.narrow(ORBInterface.orb().string_to_object(implicitObjectIOR));
+
+ boolean correct = true;
+
+ Date start = new Date();
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ implicitObject.tran_commit_readlock();
+
+ atomicTransaction.commit(true);
+ }
+
+ Date end = new Date();
+
+ float operationDuration = ((float) (end.getTime() - start.getTime())) / ((float) numberOfCalls);
+
+ System.err.println("Operation duration : " + operationDuration + "ms");
+ System.err.println("Test duration : " + (end.getTime() - start.getTime()) + "ms");
+
+ correct = PerformanceProfileStore.checkPerformance(prefix + "_ImplicitObject_TranCommit_TranCommitReadLock", operationDuration);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client_ImplicitObject_TranCommit_TranCommitReadLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client_ImplicitObject_TranCommit_TranCommitReadLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranCommit_TranCommitWriteLock.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranCommit_TranCommitWriteLock.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranCommit_TranCommitWriteLock.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,135 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.PerfProfile01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ImplicitObject_TranCommit_TranCommitWriteLock.java,v 1.2 2003/06/26 11:44:20 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ImplicitObject_TranCommit_TranCommitWriteLock.java,v 1.2 2003/06/26 11:44:20 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import org.jboss.jbossts.qa.PerfProfile01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.PerformanceProfileStore;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+import java.util.Date;
+
+public class Client_ImplicitObject_TranCommit_TranCommitWriteLock
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String prefix = args[args.length - 3];
+ int numberOfCalls = Integer.parseInt(args[args.length - 2]);
+ String implicitObjectIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+
+ ImplicitObject implicitObject = ImplicitObjectHelper.narrow(ORBInterface.orb().string_to_object(implicitObjectIOR));
+
+ boolean correct = true;
+
+ Date start = new Date();
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ implicitObject.tran_commit_writelock();
+
+ atomicTransaction.commit(true);
+ }
+
+ Date end = new Date();
+
+ float operationDuration = ((float) (end.getTime() - start.getTime())) / ((float) numberOfCalls);
+
+ System.err.println("Operation duration : " + operationDuration + "ms");
+ System.err.println("Test duration : " + (end.getTime() - start.getTime()) + "ms");
+
+ correct = PerformanceProfileStore.checkPerformance(prefix + "_ImplicitObject_TranCommit_TranCommitWriteLock", operationDuration);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client_ImplicitObject_TranCommit_TranCommitWriteLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client_ImplicitObject_TranCommit_TranCommitWriteLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranCommit_TranRollbackNullOper.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranCommit_TranRollbackNullOper.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranCommit_TranRollbackNullOper.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,135 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.PerfProfile01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ImplicitObject_TranCommit_TranRollbackNullOper.java,v 1.2 2003/06/26 11:44:20 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ImplicitObject_TranCommit_TranRollbackNullOper.java,v 1.2 2003/06/26 11:44:20 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import org.jboss.jbossts.qa.PerfProfile01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.PerformanceProfileStore;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+import java.util.Date;
+
+public class Client_ImplicitObject_TranCommit_TranRollbackNullOper
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String prefix = args[args.length - 3];
+ int numberOfCalls = Integer.parseInt(args[args.length - 2]);
+ String implicitObjectIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+
+ ImplicitObject implicitObject = ImplicitObjectHelper.narrow(ORBInterface.orb().string_to_object(implicitObjectIOR));
+
+ boolean correct = true;
+
+ Date start = new Date();
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ implicitObject.tran_rollback_nulloper();
+
+ atomicTransaction.commit(true);
+ }
+
+ Date end = new Date();
+
+ float operationDuration = ((float) (end.getTime() - start.getTime())) / ((float) numberOfCalls);
+
+ System.err.println("Operation duration : " + operationDuration + "ms");
+ System.err.println("Test duration : " + (end.getTime() - start.getTime()) + "ms");
+
+ correct = PerformanceProfileStore.checkPerformance(prefix + "_ImplicitObject_TranCommit_TranRollbackNullOper", operationDuration);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client_ImplicitObject_TranCommit_TranRollbackNullOper.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client_ImplicitObject_TranCommit_TranRollbackNullOper.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranCommit_TranRollbackReadLock.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranCommit_TranRollbackReadLock.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranCommit_TranRollbackReadLock.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,135 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.PerfProfile01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ImplicitObject_TranCommit_TranRollbackReadLock.java,v 1.2 2003/06/26 11:44:20 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ImplicitObject_TranCommit_TranRollbackReadLock.java,v 1.2 2003/06/26 11:44:20 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import org.jboss.jbossts.qa.PerfProfile01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.PerformanceProfileStore;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+import java.util.Date;
+
+public class Client_ImplicitObject_TranCommit_TranRollbackReadLock
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String prefix = args[args.length - 3];
+ int numberOfCalls = Integer.parseInt(args[args.length - 2]);
+ String implicitObjectIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+
+ ImplicitObject implicitObject = ImplicitObjectHelper.narrow(ORBInterface.orb().string_to_object(implicitObjectIOR));
+
+ boolean correct = true;
+
+ Date start = new Date();
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ implicitObject.tran_rollback_readlock();
+
+ atomicTransaction.commit(true);
+ }
+
+ Date end = new Date();
+
+ float operationDuration = ((float) (end.getTime() - start.getTime())) / ((float) numberOfCalls);
+
+ System.err.println("Operation duration : " + operationDuration + "ms");
+ System.err.println("Test duration : " + (end.getTime() - start.getTime()) + "ms");
+
+ correct = PerformanceProfileStore.checkPerformance(prefix + "_ImplicitObject_TranCommit_TranRollbackReadLock", operationDuration);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client_ImplicitObject_TranCommit_TranRollbackReadLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client_ImplicitObject_TranCommit_TranRollbackReadLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranCommit_TranRollbackWriteLock.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranCommit_TranRollbackWriteLock.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranCommit_TranRollbackWriteLock.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,135 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.PerfProfile01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ImplicitObject_TranCommit_TranRollbackWriteLock.java,v 1.2 2003/06/26 11:44:20 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ImplicitObject_TranCommit_TranRollbackWriteLock.java,v 1.2 2003/06/26 11:44:20 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import org.jboss.jbossts.qa.PerfProfile01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.PerformanceProfileStore;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+import java.util.Date;
+
+public class Client_ImplicitObject_TranCommit_TranRollbackWriteLock
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String prefix = args[args.length - 3];
+ int numberOfCalls = Integer.parseInt(args[args.length - 2]);
+ String implicitObjectIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+
+ ImplicitObject implicitObject = ImplicitObjectHelper.narrow(ORBInterface.orb().string_to_object(implicitObjectIOR));
+
+ boolean correct = true;
+
+ Date start = new Date();
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ implicitObject.tran_rollback_writelock();
+
+ atomicTransaction.commit(true);
+ }
+
+ Date end = new Date();
+
+ float operationDuration = ((float) (end.getTime() - start.getTime())) / ((float) numberOfCalls);
+
+ System.err.println("Operation duration : " + operationDuration + "ms");
+ System.err.println("Test duration : " + (end.getTime() - start.getTime()) + "ms");
+
+ correct = PerformanceProfileStore.checkPerformance(prefix + "_ImplicitObject_TranCommit_TranRollbackWriteLock", operationDuration);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client_ImplicitObject_TranCommit_TranRollbackWriteLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client_ImplicitObject_TranCommit_TranRollbackWriteLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranRollback_NoTranNullOper.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranRollback_NoTranNullOper.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranRollback_NoTranNullOper.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,135 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.PerfProfile01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ImplicitObject_TranRollback_NoTranNullOper.java,v 1.2 2003/06/26 11:44:20 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ImplicitObject_TranRollback_NoTranNullOper.java,v 1.2 2003/06/26 11:44:20 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import org.jboss.jbossts.qa.PerfProfile01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.PerformanceProfileStore;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+import java.util.Date;
+
+public class Client_ImplicitObject_TranRollback_NoTranNullOper
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String prefix = args[args.length - 3];
+ int numberOfCalls = Integer.parseInt(args[args.length - 2]);
+ String implicitObjectIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+
+ ImplicitObject implicitObject = ImplicitObjectHelper.narrow(ORBInterface.orb().string_to_object(implicitObjectIOR));
+
+ boolean correct = true;
+
+ Date start = new Date();
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ implicitObject.no_tran_nulloper();
+
+ atomicTransaction.rollback();
+ }
+
+ Date end = new Date();
+
+ float operationDuration = ((float) (end.getTime() - start.getTime())) / ((float) numberOfCalls);
+
+ System.err.println("Operation duration : " + operationDuration + "ms");
+ System.err.println("Test duration : " + (end.getTime() - start.getTime()) + "ms");
+
+ correct = PerformanceProfileStore.checkPerformance(prefix + "_ImplicitObject_TranRollback_NoTranNullOper", operationDuration);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client_ImplicitObject_TranRollback_NoTranNullOper.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client_ImplicitObject_TranRollback_NoTranNullOper.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranRollback_NoTranReadLock.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranRollback_NoTranReadLock.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranRollback_NoTranReadLock.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,135 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.PerfProfile01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ImplicitObject_TranRollback_NoTranReadLock.java,v 1.2 2003/06/26 11:44:20 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ImplicitObject_TranRollback_NoTranReadLock.java,v 1.2 2003/06/26 11:44:20 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import org.jboss.jbossts.qa.PerfProfile01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.PerformanceProfileStore;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+import java.util.Date;
+
+public class Client_ImplicitObject_TranRollback_NoTranReadLock
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String prefix = args[args.length - 3];
+ int numberOfCalls = Integer.parseInt(args[args.length - 2]);
+ String implicitObjectIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+
+ ImplicitObject implicitObject = ImplicitObjectHelper.narrow(ORBInterface.orb().string_to_object(implicitObjectIOR));
+
+ boolean correct = true;
+
+ Date start = new Date();
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ implicitObject.no_tran_readlock();
+
+ atomicTransaction.rollback();
+ }
+
+ Date end = new Date();
+
+ float operationDuration = ((float) (end.getTime() - start.getTime())) / ((float) numberOfCalls);
+
+ System.err.println("Operation duration : " + operationDuration + "ms");
+ System.err.println("Test duration : " + (end.getTime() - start.getTime()) + "ms");
+
+ correct = PerformanceProfileStore.checkPerformance(prefix + "_ImplicitObject_TranRollback_NoTranReadLock", operationDuration);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client_ImplicitObject_TranRollback_NoTranReadLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client_ImplicitObject_TranRollback_NoTranReadLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranRollback_NoTranWriteLock.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranRollback_NoTranWriteLock.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranRollback_NoTranWriteLock.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,135 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.PerfProfile01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ImplicitObject_TranRollback_NoTranWriteLock.java,v 1.2 2003/06/26 11:44:20 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ImplicitObject_TranRollback_NoTranWriteLock.java,v 1.2 2003/06/26 11:44:20 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import org.jboss.jbossts.qa.PerfProfile01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.PerformanceProfileStore;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+import java.util.Date;
+
+public class Client_ImplicitObject_TranRollback_NoTranWriteLock
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String prefix = args[args.length - 3];
+ int numberOfCalls = Integer.parseInt(args[args.length - 2]);
+ String implicitObjectIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+
+ ImplicitObject implicitObject = ImplicitObjectHelper.narrow(ORBInterface.orb().string_to_object(implicitObjectIOR));
+
+ boolean correct = true;
+
+ Date start = new Date();
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ implicitObject.no_tran_writelock();
+
+ atomicTransaction.rollback();
+ }
+
+ Date end = new Date();
+
+ float operationDuration = ((float) (end.getTime() - start.getTime())) / ((float) numberOfCalls);
+
+ System.err.println("Operation duration : " + operationDuration + "ms");
+ System.err.println("Test duration : " + (end.getTime() - start.getTime()) + "ms");
+
+ correct = PerformanceProfileStore.checkPerformance(prefix + "_ImplicitObject_TranRollback_NoTranWriteLock", operationDuration);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client_ImplicitObject_TranRollback_NoTranWriteLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client_ImplicitObject_TranRollback_NoTranWriteLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranRollback_TranCommitNullOper.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranRollback_TranCommitNullOper.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranRollback_TranCommitNullOper.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,135 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.PerfProfile01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ImplicitObject_TranRollback_TranCommitNullOper.java,v 1.2 2003/06/26 11:44:20 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ImplicitObject_TranRollback_TranCommitNullOper.java,v 1.2 2003/06/26 11:44:20 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import org.jboss.jbossts.qa.PerfProfile01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.PerformanceProfileStore;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+import java.util.Date;
+
+public class Client_ImplicitObject_TranRollback_TranCommitNullOper
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String prefix = args[args.length - 3];
+ int numberOfCalls = Integer.parseInt(args[args.length - 2]);
+ String implicitObjectIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+
+ ImplicitObject implicitObject = ImplicitObjectHelper.narrow(ORBInterface.orb().string_to_object(implicitObjectIOR));
+
+ boolean correct = true;
+
+ Date start = new Date();
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ implicitObject.tran_commit_nulloper();
+
+ atomicTransaction.rollback();
+ }
+
+ Date end = new Date();
+
+ float operationDuration = ((float) (end.getTime() - start.getTime())) / ((float) numberOfCalls);
+
+ System.err.println("Operation duration : " + operationDuration + "ms");
+ System.err.println("Test duration : " + (end.getTime() - start.getTime()) + "ms");
+
+ correct = PerformanceProfileStore.checkPerformance(prefix + "_ImplicitObject_TranRollback_TranCommitNullOper", operationDuration);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client_ImplicitObject_TranRollback_TranCommitNullOper.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client_ImplicitObject_TranRollback_TranCommitNullOper.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranRollback_TranCommitReadLock.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranRollback_TranCommitReadLock.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranRollback_TranCommitReadLock.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,135 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.PerfProfile01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ImplicitObject_TranRollback_TranCommitReadLock.java,v 1.2 2003/06/26 11:44:20 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ImplicitObject_TranRollback_TranCommitReadLock.java,v 1.2 2003/06/26 11:44:20 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import org.jboss.jbossts.qa.PerfProfile01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.PerformanceProfileStore;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+import java.util.Date;
+
+public class Client_ImplicitObject_TranRollback_TranCommitReadLock
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String prefix = args[args.length - 3];
+ int numberOfCalls = Integer.parseInt(args[args.length - 2]);
+ String implicitObjectIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+
+ ImplicitObject implicitObject = ImplicitObjectHelper.narrow(ORBInterface.orb().string_to_object(implicitObjectIOR));
+
+ boolean correct = true;
+
+ Date start = new Date();
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ implicitObject.tran_commit_readlock();
+
+ atomicTransaction.rollback();
+ }
+
+ Date end = new Date();
+
+ float operationDuration = ((float) (end.getTime() - start.getTime())) / ((float) numberOfCalls);
+
+ System.err.println("Operation duration : " + operationDuration + "ms");
+ System.err.println("Test duration : " + (end.getTime() - start.getTime()) + "ms");
+
+ correct = PerformanceProfileStore.checkPerformance(prefix + "_ImplicitObject_TranRollback_TranCommitReadLock", operationDuration);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client_ImplicitObject_TranRollback_TranCommitReadLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client_ImplicitObject_TranRollback_TranCommitReadLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranRollback_TranCommitWriteLock.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranRollback_TranCommitWriteLock.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranRollback_TranCommitWriteLock.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,135 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.PerfProfile01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ImplicitObject_TranRollback_TranCommitWriteLock.java,v 1.2 2003/06/26 11:44:20 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ImplicitObject_TranRollback_TranCommitWriteLock.java,v 1.2 2003/06/26 11:44:20 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import org.jboss.jbossts.qa.PerfProfile01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.PerformanceProfileStore;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+import java.util.Date;
+
+public class Client_ImplicitObject_TranRollback_TranCommitWriteLock
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String prefix = args[args.length - 3];
+ int numberOfCalls = Integer.parseInt(args[args.length - 2]);
+ String implicitObjectIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+
+ ImplicitObject implicitObject = ImplicitObjectHelper.narrow(ORBInterface.orb().string_to_object(implicitObjectIOR));
+
+ boolean correct = true;
+
+ Date start = new Date();
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ implicitObject.tran_commit_writelock();
+
+ atomicTransaction.rollback();
+ }
+
+ Date end = new Date();
+
+ float operationDuration = ((float) (end.getTime() - start.getTime())) / ((float) numberOfCalls);
+
+ System.err.println("Operation duration : " + operationDuration + "ms");
+ System.err.println("Test duration : " + (end.getTime() - start.getTime()) + "ms");
+
+ correct = PerformanceProfileStore.checkPerformance(prefix + "_ImplicitObject_TranRollback_TranCommitWriteLock", operationDuration);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client_ImplicitObject_TranRollback_TranCommitWriteLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client_ImplicitObject_TranRollback_TranCommitWriteLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranRollback_TranRollbackNullOper.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranRollback_TranRollbackNullOper.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranRollback_TranRollbackNullOper.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,135 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.PerfProfile01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ImplicitObject_TranRollback_TranRollbackNullOper.java,v 1.2 2003/06/26 11:44:20 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ImplicitObject_TranRollback_TranRollbackNullOper.java,v 1.2 2003/06/26 11:44:20 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import org.jboss.jbossts.qa.PerfProfile01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.PerformanceProfileStore;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+import java.util.Date;
+
+public class Client_ImplicitObject_TranRollback_TranRollbackNullOper
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String prefix = args[args.length - 3];
+ int numberOfCalls = Integer.parseInt(args[args.length - 2]);
+ String implicitObjectIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+
+ ImplicitObject implicitObject = ImplicitObjectHelper.narrow(ORBInterface.orb().string_to_object(implicitObjectIOR));
+
+ boolean correct = true;
+
+ Date start = new Date();
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ implicitObject.tran_rollback_nulloper();
+
+ atomicTransaction.rollback();
+ }
+
+ Date end = new Date();
+
+ float operationDuration = ((float) (end.getTime() - start.getTime())) / ((float) numberOfCalls);
+
+ System.err.println("Operation duration : " + operationDuration + "ms");
+ System.err.println("Test duration : " + (end.getTime() - start.getTime()) + "ms");
+
+ correct = PerformanceProfileStore.checkPerformance(prefix + "_ImplicitObject_TranRollback_TranRollbackNullOper", operationDuration);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client_ImplicitObject_TranRollback_TranRollbackNullOper.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client_ImplicitObject_TranRollback_TranRollbackNullOper.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranRollback_TranRollbackReadLock.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranRollback_TranRollbackReadLock.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranRollback_TranRollbackReadLock.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,135 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.PerfProfile01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ImplicitObject_TranRollback_TranRollbackReadLock.java,v 1.2 2003/06/26 11:44:20 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ImplicitObject_TranRollback_TranRollbackReadLock.java,v 1.2 2003/06/26 11:44:20 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import org.jboss.jbossts.qa.PerfProfile01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.PerformanceProfileStore;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+import java.util.Date;
+
+public class Client_ImplicitObject_TranRollback_TranRollbackReadLock
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String prefix = args[args.length - 3];
+ int numberOfCalls = Integer.parseInt(args[args.length - 2]);
+ String implicitObjectIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+
+ ImplicitObject implicitObject = ImplicitObjectHelper.narrow(ORBInterface.orb().string_to_object(implicitObjectIOR));
+
+ boolean correct = true;
+
+ Date start = new Date();
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ implicitObject.tran_rollback_readlock();
+
+ atomicTransaction.rollback();
+ }
+
+ Date end = new Date();
+
+ float operationDuration = ((float) (end.getTime() - start.getTime())) / ((float) numberOfCalls);
+
+ System.err.println("Operation duration : " + operationDuration + "ms");
+ System.err.println("Test duration : " + (end.getTime() - start.getTime()) + "ms");
+
+ correct = PerformanceProfileStore.checkPerformance(prefix + "_ImplicitObject_TranRollback_TranRollbackReadLock", operationDuration);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client_ImplicitObject_TranRollback_TranRollbackReadLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client_ImplicitObject_TranRollback_TranRollbackReadLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranRollback_TranRollbackWriteLock.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranRollback_TranRollbackWriteLock.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Clients/Client_ImplicitObject_TranRollback_TranRollbackWriteLock.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,135 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.PerfProfile01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ImplicitObject_TranRollback_TranRollbackWriteLock.java,v 1.2 2003/06/26 11:44:20 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client_ImplicitObject_TranRollback_TranRollbackWriteLock.java,v 1.2 2003/06/26 11:44:20 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import org.jboss.jbossts.qa.PerfProfile01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.PerformanceProfileStore;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+import java.util.Date;
+
+public class Client_ImplicitObject_TranRollback_TranRollbackWriteLock
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String prefix = args[args.length - 3];
+ int numberOfCalls = Integer.parseInt(args[args.length - 2]);
+ String implicitObjectIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+
+ ImplicitObject implicitObject = ImplicitObjectHelper.narrow(ORBInterface.orb().string_to_object(implicitObjectIOR));
+
+ boolean correct = true;
+
+ Date start = new Date();
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ implicitObject.tran_rollback_writelock();
+
+ atomicTransaction.rollback();
+ }
+
+ Date end = new Date();
+
+ float operationDuration = ((float) (end.getTime() - start.getTime())) / ((float) numberOfCalls);
+
+ System.err.println("Operation duration : " + operationDuration + "ms");
+ System.err.println("Test duration : " + (end.getTime() - start.getTime()) + "ms");
+
+ correct = PerformanceProfileStore.checkPerformance(prefix + "_ImplicitObject_TranRollback_TranRollbackWriteLock", operationDuration);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client_ImplicitObject_TranRollback_TranRollbackWriteLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client_ImplicitObject_TranRollback_TranRollbackWriteLock.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Impls/AITExplicitObjectImpl01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Impls/AITExplicitObjectImpl01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Impls/AITExplicitObjectImpl01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,685 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: AITExplicitObjectImpl01.java,v 1.2 2003/06/26 11:44:23 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.PerfProfile01Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AITExplicitObjectImpl01.java,v 1.2 2003/06/26 11:44:23 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AITExplicitObjectImpl01.java,v 1.2 2003/06/26 11:44:23 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.arjuna.ObjectType;
+import com.arjuna.ats.arjuna.common.Uid;
+import com.arjuna.ats.arjuna.state.InputObjectState;
+import com.arjuna.ats.arjuna.state.OutputObjectState;
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import com.arjuna.ats.txoj.Lock;
+import com.arjuna.ats.txoj.LockManager;
+import com.arjuna.ats.txoj.LockMode;
+import com.arjuna.ats.txoj.LockResult;
+import org.jboss.jbossts.qa.PerfProfile01.*;
+import org.omg.CosTransactions.Control;
+import org.omg.CosTransactions.Status;
+
+public class AITExplicitObjectImpl01 extends LockManager implements ExplicitObjectOperations
+{
+ public AITExplicitObjectImpl01()
+ throws InvocationException
+ {
+ super(ObjectType.ANDPERSISTENT);
+
+ _value = 0;
+
+ try
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ if (setlock(new Lock(LockMode.WRITE), 0) == LockResult.GRANTED)
+ {
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ System.err.println("AITExplicitObjectImpl01.AITExplicitObjectImpl01: failed to get lock");
+ atomicTransaction.rollback();
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITExplicitObjectImpl01.AITExplicitObjectImpl01: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public AITExplicitObjectImpl01(Uid uid)
+ throws InvocationException
+ {
+ super(uid);
+ }
+
+ public void finalize()
+ throws Throwable
+ {
+ try
+ {
+ super.terminate();
+ super.finalize();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITExplicitObjectImpl01.finalize: " + exception);
+ throw exception;
+ }
+ }
+
+ public void no_tran_nulloper(Control ctrl)
+ throws InvocationException
+ {
+ try
+ {
+ com.arjuna.ats.jts.ExplicitInterposition interposition = new com.arjuna.ats.jts.ExplicitInterposition();
+
+ interposition.registerTransaction(ctrl);
+
+ interposition.unregisterTransaction();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITExplicitObjectImpl01.no_tran_nulloper: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public void no_tran_readlock(Control ctrl)
+ throws InvocationException
+ {
+ try
+ {
+ com.arjuna.ats.jts.ExplicitInterposition interposition = new com.arjuna.ats.jts.ExplicitInterposition();
+
+ interposition.registerTransaction(ctrl);
+
+ try
+ {
+ if (setlock(new Lock(LockMode.READ), 0) != LockResult.GRANTED)
+ {
+ System.err.println("AITExplicitObjectImpl01.no_tran_readlock: failed to get lock");
+// Modified 15/01/2001 K Jones: Removed 'interposition.unregisterTransaction()'
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ interposition.unregisterTransaction();
+
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITExplicitObjectImpl01.no_tran_readlock: " + exception);
+
+ interposition.unregisterTransaction();
+
+ throw new InvocationException();
+ }
+ catch (Error error)
+ {
+ System.err.println("AITExplicitObjectImpl01.no_tran_readlock: " + error);
+
+ interposition.unregisterTransaction();
+
+ throw new InvocationException();
+ }
+
+ interposition.unregisterTransaction();
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITExplicitObjectImpl01.no_tran_readlock: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public void no_tran_writelock(Control ctrl)
+ throws InvocationException
+ {
+ try
+ {
+ com.arjuna.ats.jts.ExplicitInterposition interposition = new com.arjuna.ats.jts.ExplicitInterposition();
+
+ interposition.registerTransaction(ctrl);
+
+ try
+ {
+ if (setlock(new Lock(LockMode.WRITE), 0) != LockResult.GRANTED)
+ {
+ System.err.println("AITExplicitObjectImpl01.no_tran_writelock: failed to get lock");
+
+// Modified 15/01/2001 K Jones: Removed 'interposition.unregisterTransaction()'
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ interposition.unregisterTransaction();
+
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITExplicitObjectImpl01.no_tran_writelock: " + exception);
+ interposition.unregisterTransaction();
+
+ throw new InvocationException();
+ }
+ catch (Error error)
+ {
+ System.err.println("AITExplicitObjectImpl01.no_tran_writelock: " + error);
+ throw new InvocationException();
+ }
+
+ interposition.unregisterTransaction();
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITExplicitObjectImpl01.no_tran_writelock: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public void tran_commit_nulloper(Control ctrl)
+ throws InvocationException
+ {
+ try
+ {
+ com.arjuna.ats.jts.ExplicitInterposition interposition = new com.arjuna.ats.jts.ExplicitInterposition();
+
+ interposition.registerTransaction(ctrl);
+
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ try
+ {
+ atomicTransaction.begin();
+
+ atomicTransaction.commit(true);
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITExplicitObjectImpl01.tran_commit_nulloper: " + exception);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ interposition.unregisterTransaction();
+
+ throw new InvocationException();
+ }
+ catch (Error error)
+ {
+ System.err.println("AITExplicitObjectImpl01.tran_commit_nulloper: " + error);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ interposition.unregisterTransaction();
+
+ throw new InvocationException();
+ }
+
+ interposition.unregisterTransaction();
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITExplicitObjectImpl01.tran_commit_nulloper: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public void tran_commit_readlock(Control ctrl)
+ throws InvocationException
+ {
+ try
+ {
+ com.arjuna.ats.jts.ExplicitInterposition interposition = new com.arjuna.ats.jts.ExplicitInterposition();
+
+ interposition.registerTransaction(ctrl);
+
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ try
+ {
+ atomicTransaction.begin();
+
+ if (setlock(new Lock(LockMode.READ), 0) == LockResult.GRANTED)
+ {
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ atomicTransaction.rollback();
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ interposition.unregisterTransaction();
+
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITExplicitObjectImpl01.tran_commit_readlock: " + exception);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ interposition.unregisterTransaction();
+
+ throw new InvocationException();
+ }
+ catch (Error error)
+ {
+ System.err.println("AITExplicitObjectImpl01.tran_commit_readlock: " + error);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ interposition.unregisterTransaction();
+
+ throw new InvocationException();
+ }
+
+ interposition.unregisterTransaction();
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITExplicitObjectImpl01.tran_commit_readlock: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public void tran_commit_writelock(Control ctrl)
+ throws InvocationException
+ {
+ try
+ {
+ com.arjuna.ats.jts.ExplicitInterposition interposition = new com.arjuna.ats.jts.ExplicitInterposition();
+
+ interposition.registerTransaction(ctrl);
+
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ try
+ {
+ atomicTransaction.begin();
+
+ if (setlock(new Lock(LockMode.WRITE), 0) == LockResult.GRANTED)
+ {
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ atomicTransaction.rollback();
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ interposition.unregisterTransaction();
+
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITExplicitObjectImpl01.tran_commit_writelock: " + exception);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ interposition.unregisterTransaction();
+
+ throw new InvocationException();
+ }
+ catch (Error error)
+ {
+ System.err.println("AITExplicitObjectImpl01.tran_commit_writelock: " + error);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ interposition.unregisterTransaction();
+
+ throw new InvocationException();
+ }
+
+ interposition.unregisterTransaction();
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITExplicitObjectImpl01.tran_commit_writelock: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public void tran_rollback_nulloper(Control ctrl)
+ throws InvocationException
+ {
+ try
+ {
+ com.arjuna.ats.jts.ExplicitInterposition interposition = new com.arjuna.ats.jts.ExplicitInterposition();
+
+ interposition.registerTransaction(ctrl);
+
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ try
+ {
+ atomicTransaction.begin();
+
+ atomicTransaction.rollback();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITExplicitObjectImpl01.tran_rollback_nulloper: " + exception);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ interposition.unregisterTransaction();
+
+ throw new InvocationException();
+ }
+ catch (Error error)
+ {
+ System.err.println("AITExplicitObjectImpl01.tran_rollback_nulloper: " + error);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ interposition.unregisterTransaction();
+
+ throw new InvocationException();
+ }
+
+ interposition.unregisterTransaction();
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITExplicitObjectImpl01.tran_rollback_nulloper: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public void tran_rollback_readlock(Control ctrl)
+ throws InvocationException
+ {
+ try
+ {
+ com.arjuna.ats.jts.ExplicitInterposition interposition = new com.arjuna.ats.jts.ExplicitInterposition();
+
+ interposition.registerTransaction(ctrl);
+
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ try
+ {
+ atomicTransaction.begin();
+
+ if (setlock(new Lock(LockMode.READ), 0) == LockResult.GRANTED)
+ {
+ atomicTransaction.rollback();
+ }
+ else
+ {
+ atomicTransaction.rollback();
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ interposition.unregisterTransaction();
+
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITExplicitObjectImpl01.tran_rollback_readlock: " + exception);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ interposition.unregisterTransaction();
+
+ throw new InvocationException();
+ }
+ catch (Error error)
+ {
+ System.err.println("AITExplicitObjectImpl01.tran_rollback_readlock: " + error);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ interposition.unregisterTransaction();
+
+ throw new InvocationException();
+ }
+
+ interposition.unregisterTransaction();
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITExplicitObjectImpl01.tran_rollback_readlock: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public void tran_rollback_writelock(Control ctrl)
+ throws InvocationException
+ {
+ try
+ {
+ com.arjuna.ats.jts.ExplicitInterposition interposition = new com.arjuna.ats.jts.ExplicitInterposition();
+
+ interposition.registerTransaction(ctrl);
+
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ try
+ {
+ atomicTransaction.begin();
+
+ if (setlock(new Lock(LockMode.WRITE), 0) == LockResult.GRANTED)
+ {
+ atomicTransaction.rollback();
+ }
+ else
+ {
+ atomicTransaction.rollback();
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ interposition.unregisterTransaction();
+
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITExplicitObjectImpl01.tran_rollback_writelock: " + exception);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ interposition.unregisterTransaction();
+
+ throw new InvocationException();
+ }
+ catch (Error error)
+ {
+ System.err.println("AITExplicitObjectImpl01.tran_rollback_writelock: " + error);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ interposition.unregisterTransaction();
+
+ throw new InvocationException();
+ }
+
+ interposition.unregisterTransaction();
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITExplicitObjectImpl01.tran_rollback_writelock: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public boolean save_state(OutputObjectState objectState, int objectType)
+ {
+ super.save_state(objectState, objectType);
+ try
+ {
+ objectState.packInt(_value);
+ return true;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITExplicitObjectImpl01.save_state: " + exception);
+ return false;
+ }
+ }
+
+ public boolean restore_state(InputObjectState objectState, int objectType)
+ {
+ super.restore_state(objectState, objectType);
+ try
+ {
+ _value = objectState.unpackInt();
+ return true;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITExplicitObjectImpl01.restore_state: " + exception);
+ return false;
+ }
+ }
+
+ public String type()
+ {
+ return "/StateManager/LockManager/AITExplicitObjectImpl01";
+ }
+
+ private int _value;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Impls/AITImplicitObjectImpl01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Impls/AITImplicitObjectImpl01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Impls/AITImplicitObjectImpl01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,482 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: AITImplicitObjectImpl01.java,v 1.2 2003/06/26 11:44:23 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.PerfProfile01Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AITImplicitObjectImpl01.java,v 1.2 2003/06/26 11:44:23 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: AITImplicitObjectImpl01.java,v 1.2 2003/06/26 11:44:23 rbegg Exp $
+ */
+
+
+import com.arjuna.ats.arjuna.ObjectType;
+import com.arjuna.ats.arjuna.common.Uid;
+import com.arjuna.ats.arjuna.state.InputObjectState;
+import com.arjuna.ats.arjuna.state.OutputObjectState;
+import com.arjuna.ats.jts.extensions.AtomicTransaction;
+import com.arjuna.ats.txoj.Lock;
+import com.arjuna.ats.txoj.LockManager;
+import com.arjuna.ats.txoj.LockMode;
+import com.arjuna.ats.txoj.LockResult;
+import org.jboss.jbossts.qa.PerfProfile01.*;
+import org.omg.CosTransactions.Status;
+
+public class AITImplicitObjectImpl01 extends LockManager implements ImplicitObjectOperations
+{
+ public AITImplicitObjectImpl01()
+ throws InvocationException
+ {
+ super(ObjectType.ANDPERSISTENT);
+
+ _value = 0;
+
+ try
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ atomicTransaction.begin();
+
+ if (setlock(new Lock(LockMode.WRITE), 0) == LockResult.GRANTED)
+ {
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ System.err.println("AITImplicitObjectImpl01.AITImplicitObjectImpl01: failed to get lock");
+ atomicTransaction.rollback();
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITImplicitObjectImpl01.AITImplicitObjectImpl01: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public AITImplicitObjectImpl01(Uid uid)
+ throws InvocationException
+ {
+ super(uid);
+ }
+
+ public void finalize()
+ throws Throwable
+ {
+ try
+ {
+ super.terminate();
+ super.finalize();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITImplicitObjectImpl01.finalize: " + exception);
+ throw exception;
+ }
+ }
+
+ public void no_tran_nulloper()
+ throws InvocationException
+ {
+ }
+
+ public void no_tran_readlock()
+ throws InvocationException
+ {
+ try
+ {
+ if (setlock(new Lock(LockMode.READ), 0) != LockResult.GRANTED)
+ {
+ System.err.println("AITImplicitObjectImpl01.no_tran_readlock: failed to get lock");
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITImplicitObjectImpl01.no_tran_readlock: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public void no_tran_writelock()
+ throws InvocationException
+ {
+ try
+ {
+ if (setlock(new Lock(LockMode.WRITE), 0) != LockResult.GRANTED)
+ {
+ System.err.println("AITImplicitObjectImpl01.no_tran_writelock: failed to get lock");
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITImplicitObjectImpl01.no_tran_writelock: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public void tran_commit_nulloper()
+ throws InvocationException
+ {
+ try
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ try
+ {
+ atomicTransaction.begin();
+
+ atomicTransaction.commit(true);
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITImplicitObjectImpl01.tran_commit_nulloper: " + exception);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITImplicitObjectImpl01.tran_commit_nulloper: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public void tran_commit_readlock()
+ throws InvocationException
+ {
+ try
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ try
+ {
+ atomicTransaction.begin();
+
+ if (setlock(new Lock(LockMode.READ), 0) == LockResult.GRANTED)
+ {
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ atomicTransaction.rollback();
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITImplicitObjectImpl01.tran_commit_readlock: " + exception);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITImplicitObjectImpl01.tran_commit_readlock: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public void tran_commit_writelock()
+ throws InvocationException
+ {
+ try
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ try
+ {
+ atomicTransaction.begin();
+
+ if (setlock(new Lock(LockMode.WRITE), 0) == LockResult.GRANTED)
+ {
+ atomicTransaction.commit(true);
+ }
+ else
+ {
+ atomicTransaction.rollback();
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITImplicitObjectImpl01.tran_commit_writelock: " + exception);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITImplicitObjectImpl01.tran_commit_writelock: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public void tran_rollback_nulloper()
+ throws InvocationException
+ {
+ try
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ try
+ {
+ atomicTransaction.begin();
+
+ atomicTransaction.rollback();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITImplicitObjectImpl01.tran_rollback_nulloper: " + exception);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITImplicitObjectImpl01.tran_rollback_nulloper: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public void tran_rollback_readlock()
+ throws InvocationException
+ {
+ try
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ try
+ {
+ atomicTransaction.begin();
+
+ if (setlock(new Lock(LockMode.READ), 0) == LockResult.GRANTED)
+ {
+ atomicTransaction.rollback();
+ }
+ else
+ {
+ atomicTransaction.rollback();
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITImplicitObjectImpl01.tran_rollback_readlock: " + exception);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITImplicitObjectImpl01.tran_rollback_readlock: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public void tran_rollback_writelock()
+ throws InvocationException
+ {
+ try
+ {
+ AtomicTransaction atomicTransaction = new AtomicTransaction();
+
+ try
+ {
+ atomicTransaction.begin();
+
+ if (setlock(new Lock(LockMode.WRITE), 0) == LockResult.GRANTED)
+ {
+ atomicTransaction.rollback();
+ }
+ else
+ {
+ atomicTransaction.rollback();
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITImplicitObjectImpl01.tran_rollback_writelock: " + exception);
+ if (atomicTransaction.get_status() == Status.StatusActive)
+ {
+ atomicTransaction.rollback();
+ }
+
+ throw new InvocationException();
+ }
+ }
+ catch (InvocationException invocationException)
+ {
+ throw invocationException;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITImplicitObjectImpl01.tran_rollback_writelock: " + exception);
+ throw new InvocationException();
+ }
+ }
+
+ public boolean save_state(OutputObjectState objectState, int objectType)
+ {
+ super.save_state(objectState, objectType);
+ try
+ {
+ objectState.packInt(_value);
+ return true;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITImplicitObjectImpl01.save_state: " + exception);
+ return false;
+ }
+ }
+
+ public boolean restore_state(InputObjectState objectState, int objectType)
+ {
+ super.restore_state(objectState, objectType);
+ try
+ {
+ _value = objectState.unpackInt();
+ return true;
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AITImplicitObjectImpl01.restore_state: " + exception);
+ return false;
+ }
+ }
+
+ public String type()
+ {
+ return "/StateManager/LockManager/AITImplicitObjectImpl01";
+ }
+
+ private int _value;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Servers/Server_AIT01_ExplicitObject.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Servers/Server_AIT01_ExplicitObject.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Servers/Server_AIT01_ExplicitObject.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,93 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.PerfProfile01Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server_AIT01_ExplicitObject.java,v 1.2 2003/06/26 11:44:23 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server_AIT01_ExplicitObject.java,v 1.2 2003/06/26 11:44:23 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.PerfProfile01.*;
+import org.jboss.jbossts.qa.PerfProfile01Impls.AITExplicitObjectImpl01;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server_AIT01_ExplicitObject
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ AITExplicitObjectImpl01 aitExplicitObjectImpl = new AITExplicitObjectImpl01();
+ ExplicitObjectPOATie servant = new ExplicitObjectPOATie(aitExplicitObjectImpl);
+
+ OAInterface.objectIsReady(servant);
+ ExplicitObject aitExplicitObject = ExplicitObjectHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(aitExplicitObject));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server_AIT01_ExplicitObject.main: " + exception);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Servers/Server_AIT01_ImplicitObject.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Servers/Server_AIT01_ImplicitObject.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfile01Servers/Server_AIT01_ImplicitObject.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,93 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.PerfProfile01Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server_AIT01_ImplicitObject.java,v 1.2 2003/06/26 11:44:23 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server_AIT01_ImplicitObject.java,v 1.2 2003/06/26 11:44:23 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.PerfProfile01.*;
+import org.jboss.jbossts.qa.PerfProfile01Impls.AITImplicitObjectImpl01;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server_AIT01_ImplicitObject
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ AITImplicitObjectImpl01 aitImplicitObjectImpl = new AITImplicitObjectImpl01();
+ ImplicitObjectPOATie servant = new ImplicitObjectPOATie(aitImplicitObjectImpl);
+
+ OAInterface.objectIsReady(servant);
+ ImplicitObject aitImplicitObject = ImplicitObjectHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(aitImplicitObject));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server_AIT01_ImplicitObject.main: " + exception);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfileIOClients/OpenWriteSyncClose.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfileIOClients/OpenWriteSyncClose.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfileIOClients/OpenWriteSyncClose.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,92 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.PerfProfileIOClients;
+
+import org.jboss.jbossts.qa.Utils.PerformanceProfileStore;
+
+import java.io.File;
+import java.io.FileDescriptor;
+import java.io.RandomAccessFile;
+import java.util.Date;
+
+public class OpenWriteSyncClose
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ String prefix = args[args.length - 3];
+ int numberOfCalls = Integer.parseInt(args[args.length - 2]);
+ int blockSize = Integer.parseInt(args[args.length - 1]);
+
+ boolean correct = true;
+
+ File file = new File("test.tmp");
+ byte[] block = new byte[blockSize];
+
+ Date start = new Date();
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ RandomAccessFile randomAccessFile = new RandomAccessFile(file, "rw");
+ FileDescriptor fileDescriptor = randomAccessFile.getFD();
+
+ randomAccessFile.write(block);
+ fileDescriptor.sync();
+ randomAccessFile.close();
+ }
+
+ Date end = new Date();
+
+ file.delete();
+
+ float operationDuration = ((float) (end.getTime() - start.getTime())) / ((float) numberOfCalls);
+
+ System.out.println("Operation duration : " + operationDuration + "ms");
+ System.out.println("Test duration : " + (end.getTime() - start.getTime()) + "ms");
+
+ correct = PerformanceProfileStore.checkPerformance(prefix + "_OpenWriteSyncClose", operationDuration);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("OpenWriteSyncClose.main: " + exception);
+ System.out.println("Failed");
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfileIOClients/WriteSync.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfileIOClients/WriteSync.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfileIOClients/WriteSync.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,91 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.PerfProfileIOClients;
+
+import org.jboss.jbossts.qa.Utils.PerformanceProfileStore;
+
+import java.io.File;
+import java.io.FileDescriptor;
+import java.io.RandomAccessFile;
+import java.util.Date;
+
+public class WriteSync
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ String prefix = args[args.length - 3];
+ int numberOfCalls = Integer.parseInt(args[args.length - 2]);
+ int blockSize = Integer.parseInt(args[args.length - 1]);
+
+ boolean correct = true;
+
+ File file = new File("test.tmp");
+ RandomAccessFile randomAccessFile = new RandomAccessFile(file, "rw");
+ FileDescriptor fileDescriptor = randomAccessFile.getFD();
+ byte[] block = new byte[blockSize];
+
+ Date start = new Date();
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ randomAccessFile.write(block);
+ fileDescriptor.sync();
+ }
+
+ Date end = new Date();
+
+ randomAccessFile.close();
+ file.delete();
+
+ float operationDuration = ((float) (end.getTime() - start.getTime())) / ((float) numberOfCalls);
+
+ System.out.println("Operation duration : " + operationDuration + "ms");
+ System.out.println("Test duration : " + (end.getTime() - start.getTime()) + "ms");
+
+ correct = PerformanceProfileStore.checkPerformance(prefix + "_WriteSync", operationDuration);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("WriteSync.main: " + exception);
+ System.out.println("Failed");
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfileIOClients/WriteSyncSeek.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfileIOClients/WriteSyncSeek.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/PerfProfileIOClients/WriteSyncSeek.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,92 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.PerfProfileIOClients;
+
+import org.jboss.jbossts.qa.Utils.PerformanceProfileStore;
+
+import java.io.File;
+import java.io.FileDescriptor;
+import java.io.RandomAccessFile;
+import java.util.Date;
+
+public class WriteSyncSeek
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ String prefix = args[args.length - 3];
+ int numberOfCalls = Integer.parseInt(args[args.length - 2]);
+ int blockSize = Integer.parseInt(args[args.length - 1]);
+
+ boolean correct = true;
+
+ File file = new File("test.tmp");
+ RandomAccessFile randomAccessFile = new RandomAccessFile(file, "rw");
+ FileDescriptor fileDescriptor = randomAccessFile.getFD();
+ byte[] block = new byte[blockSize];
+
+ Date start = new Date();
+
+ for (int index = 0; index < numberOfCalls; index++)
+ {
+ randomAccessFile.write(block);
+ fileDescriptor.sync();
+ randomAccessFile.seek(0);
+ }
+
+ Date end = new Date();
+
+ randomAccessFile.close();
+ file.delete();
+
+ float operationDuration = ((float) (end.getTime() - start.getTime())) / ((float) numberOfCalls);
+
+ System.out.println("Operation duration : " + operationDuration + "ms");
+ System.out.println("Test duration : " + (end.getTime() - start.getTime()) + "ms");
+
+ correct = PerformanceProfileStore.checkPerformance(prefix + "_WriteSyncSeek", operationDuration);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("WriteSyncSeek.main: " + exception);
+ System.out.println("Failed");
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients1/Client001.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients1/Client001.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients1/Client001.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,137 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients1;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client001.java,v 1.3 2003/07/07 13:43:12 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client001.java,v 1.3 2003/07/07 13:43:12 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client001
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ ResourceBehavior[] resourceBehaviors = new ResourceBehavior[1];
+ resourceBehaviors[0] = new ResourceBehavior();
+ resourceBehaviors[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ OTS.current().rollback_only();
+
+ service.oper(resourceBehaviors);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service.is_correct();
+ if (!correct)
+ {
+ System.err.println("service.is_correct() returned false");
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client001.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client001.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients1/Client002.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients1/Client002.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients1/Client002.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,124 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients1;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client002.java,v 1.2 2003/06/26 11:44:24 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client002.java,v 1.2 2003/06/26 11:44:24 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client002
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ ResourceBehavior[] resourceBehaviors = new ResourceBehavior[1];
+ resourceBehaviors[0] = new ResourceBehavior();
+ resourceBehaviors[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service.oper(resourceBehaviors);
+
+ OTS.current().commit(true);
+
+ correct = service.is_correct();
+
+ correct = correct && (service.get_resource_trace(0) == ResourceTrace.ResourceTraceCommitOnePhase);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client002.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client002.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients1/Client003.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients1/Client003.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients1/Client003.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,137 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients1;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client003.java,v 1.3 2003/07/07 13:43:12 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client003.java,v 1.3 2003/07/07 13:43:12 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client003
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ ResourceBehavior[] resourceBehaviors = new ResourceBehavior[1];
+ resourceBehaviors[0] = new ResourceBehavior();
+ resourceBehaviors[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorRaiseHeuristicHazard;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service.oper(resourceBehaviors);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service.is_correct();
+ if (!correct)
+ {
+ System.err.println("service.is_correct() returned false");
+ }
+
+ correct = correct && (service.get_resource_trace(0) == ResourceTrace.ResourceTraceCommitOnePhaseForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client003.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client003.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients1/Client004.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients1/Client004.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients1/Client004.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,137 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients1;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client004.java,v 1.3 2003/07/07 13:43:12 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client004.java,v 1.3 2003/07/07 13:43:12 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client004
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ ResourceBehavior[] resourceBehaviors = new ResourceBehavior[1];
+ resourceBehaviors[0] = new ResourceBehavior();
+ resourceBehaviors[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorRaiseTransactionRolledback;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service.oper(resourceBehaviors);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service.is_correct();
+ if (!correct)
+ {
+ System.err.println("service.is_correct() returned false");
+ }
+
+ correct = correct && (service.get_resource_trace(0) == ResourceTrace.ResourceTraceCommitOnePhase);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client004.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client004.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients1/Client005.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients1/Client005.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients1/Client005.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,124 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients1;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client005.java,v 1.2 2003/06/26 11:44:24 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client005.java,v 1.2 2003/06/26 11:44:24 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client005
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ ResourceBehavior[] resourceBehaviors = new ResourceBehavior[1];
+ resourceBehaviors[0] = new ResourceBehavior();
+ resourceBehaviors[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service.oper(resourceBehaviors);
+
+ OTS.current().rollback();
+
+ correct = service.is_correct();
+
+ correct = correct && (service.get_resource_trace(0) == ResourceTrace.ResourceTraceRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client005.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client005.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients1/Client006.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients1/Client006.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients1/Client006.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,139 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients1;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client006.java,v 1.3 2003/07/07 13:43:12 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client006.java,v 1.3 2003/07/07 13:43:12 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client006
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ ResourceBehavior[] resourceBehaviors = new ResourceBehavior[1];
+ resourceBehaviors[0] = new ResourceBehavior();
+ resourceBehaviors[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service.oper(resourceBehaviors);
+
+ OTS.current().rollback_only();
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service.is_correct();
+ if (!correct)
+ {
+ System.err.println("service.is_correct() returned false");
+ }
+
+ correct = correct && (service.get_resource_trace(0) == ResourceTrace.ResourceTraceRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client006.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client006.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client001.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client001.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client001.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client001.java,v 1.3 2003/07/07 13:43:12 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client001.java,v 1.3 2003/07/07 13:43:12 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client001
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ OTS.current().commit(true);
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommit);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommit);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client001.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client001.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client002.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client002.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client002.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client002.java,v 1.3 2003/07/07 13:43:12 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client002.java,v 1.3 2003/07/07 13:43:12 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client002
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseNotPrepared;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommit);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommit);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client002.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client002.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client003.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client003.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client003.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,158 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client003.java,v 1.3 2003/07/07 13:43:12 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client003.java,v 1.3 2003/07/07 13:43:12 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client003
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicRollback;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommit);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommitForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client003.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client003.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client004.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client004.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client004.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client004.java,v 1.3 2003/07/07 13:43:13 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client004.java,v 1.3 2003/07/07 13:43:13 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client004
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommit);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommitForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client004.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client004.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client005.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client005.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client005.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client005.java,v 1.3 2003/07/07 13:43:13 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client005.java,v 1.3 2003/07/07 13:43:13 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client005
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommit);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommitForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client005.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client005.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client006.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client006.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client006.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client006.java,v 1.3 2003/07/07 13:43:13 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client006.java,v 1.3 2003/07/07 13:43:13 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client006
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseNotPrepared;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommit);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommit);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client006.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client006.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client007.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client007.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client007.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client007.java,v 1.3 2003/07/07 13:43:13 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client007.java,v 1.3 2003/07/07 13:43:13 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client007
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseNotPrepared;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseNotPrepared;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommit);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommit);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client007.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client007.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client008.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client008.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client008.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,154 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client008.java,v 1.3 2003/07/07 13:43:13 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client008.java,v 1.3 2003/07/07 13:43:13 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client008
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseNotPrepared;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicRollback;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommit);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommitForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client008.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client008.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client009.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client009.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client009.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client009.java,v 1.3 2003/07/07 13:43:13 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client009.java,v 1.3 2003/07/07 13:43:13 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client009
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseNotPrepared;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommit);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommitForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client009.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client009.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client010.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client010.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client010.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client010.java,v 1.3 2003/07/07 13:43:13 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client010.java,v 1.3 2003/07/07 13:43:13 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client010
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseNotPrepared;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommit);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommitForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client010.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client010.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client011.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client011.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client011.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client011.java,v 1.3 2003/07/07 13:43:13 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client011.java,v 1.3 2003/07/07 13:43:13 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client011
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicRollback;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommitForget);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommit);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client011.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client011.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client012.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client012.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client012.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client012.java,v 1.3 2003/07/07 13:43:13 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client012.java,v 1.3 2003/07/07 13:43:13 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client012
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicRollback;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseNotPrepared;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommitForget);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommit);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client012.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client012.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client013.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client013.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client013.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,154 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 2500,
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client013.java,v 1.3 2003/07/07 13:43:13 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client013.java,v 1.3 2003/07/07 13:43:13 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client013
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicRollback;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommitForget);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommitForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client013.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client013.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client014.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client014.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client014.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client014.java,v 1.3 2003/07/07 13:43:13 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client014.java,v 1.3 2003/07/07 13:43:13 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client014
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicRollback;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommitForget);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommitForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client014.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client014.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client015.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client015.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client015.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client015.java,v 1.3 2003/07/07 13:43:13 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client015.java,v 1.3 2003/07/07 13:43:13 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client015
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicRollback;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommitForget);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommitForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client015.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client015.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client016.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client016.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client016.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client016.java,v 1.3 2003/07/07 13:43:13 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client016.java,v 1.3 2003/07/07 13:43:13 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client016
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommitForget);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommit);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client016.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client016.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client017.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client017.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client017.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client017.java,v 1.3 2003/07/07 13:43:13 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client017.java,v 1.3 2003/07/07 13:43:13 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client017
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseNotPrepared;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommitForget);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommit);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client017.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client017.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client018.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client018.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client018.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,158 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 2500,
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client018.java,v 1.3 2003/07/07 13:43:13 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client018.java,v 1.3 2003/07/07 13:43:13 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client018
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicRollback;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommitForget);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommitForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client018.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client018.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client019.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client019.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client019.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client019.java,v 1.3 2003/07/07 13:43:13 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client019.java,v 1.3 2003/07/07 13:43:13 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client019
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommitForget);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommitForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client019.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client019.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client020.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client020.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client020.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client020.java,v 1.3 2003/07/07 13:43:13 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client020.java,v 1.3 2003/07/07 13:43:13 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client020
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommitForget);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommitForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client020.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client020.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client021.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client021.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client021.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client021.java,v 1.3 2003/07/07 13:43:13 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client021.java,v 1.3 2003/07/07 13:43:13 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client021
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommitForget);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommit);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client021.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client021.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client022.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client022.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client022.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client022.java,v 1.3 2003/07/07 13:43:13 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client022.java,v 1.3 2003/07/07 13:43:13 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client022
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseNotPrepared;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommitForget);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommit);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client022.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client022.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client023.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client023.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client023.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,154 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 2500,
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client023.java,v 1.3 2003/07/07 13:43:13 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client023.java,v 1.3 2003/07/07 13:43:13 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client023
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicRollback;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommitForget);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommitForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client023.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client023.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client024.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client024.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client024.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client024.java,v 1.3 2003/07/07 13:43:14 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client024.java,v 1.3 2003/07/07 13:43:14 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client024
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommitForget);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommitForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client024.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client024.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client025.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client025.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client025.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client025.java,v 1.3 2003/07/07 13:43:14 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client025.java,v 1.3 2003/07/07 13:43:14 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client025
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommitForget);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommitForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client025.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client025.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client026.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client026.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client026.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client026.java,v 1.3 2003/07/07 13:43:14 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client026.java,v 1.3 2003/07/07 13:43:14 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client026
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareRollback);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client026.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client026.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client027.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client027.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client027.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client027.java,v 1.3 2003/07/07 13:43:14 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client027.java,v 1.3 2003/07/07 13:43:14 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client027
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client027.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client027.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client028.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client028.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client028.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client028.java,v 1.3 2003/07/07 13:43:14 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client028.java,v 1.3 2003/07/07 13:43:14 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client028
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client028.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client028.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client029.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client029.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client029.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client029.java,v 1.3 2003/07/07 13:43:14 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client029.java,v 1.3 2003/07/07 13:43:14 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client029
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client029.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client029.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client030.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client030.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client030.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client030.java,v 1.3 2003/07/07 13:43:14 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client030.java,v 1.3 2003/07/07 13:43:14 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client030
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client030.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client030.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client031.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client031.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client031.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client031.java,v 1.3 2003/07/07 13:43:14 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client031.java,v 1.3 2003/07/07 13:43:14 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client031
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client031.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client031.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client032.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client032.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client032.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client032.java,v 1.3 2003/07/07 13:43:14 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client032.java,v 1.3 2003/07/07 13:43:14 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client032
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client032.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client032.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client033.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client033.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client033.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client033.java,v 1.3 2003/07/07 13:43:14 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client033.java,v 1.3 2003/07/07 13:43:14 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client033
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client033.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client033.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client034.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client034.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client034.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client034.java,v 1.3 2003/07/07 13:43:14 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client034.java,v 1.3 2003/07/07 13:43:14 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client034
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareRollback);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client034.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client034.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client035.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client035.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client035.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client035.java,v 1.3 2003/07/07 13:43:14 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client035.java,v 1.3 2003/07/07 13:43:14 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client035
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client035.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client035.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client036.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client036.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client036.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client036.java,v 1.3 2003/07/07 13:43:14 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client036.java,v 1.3 2003/07/07 13:43:14 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client036
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client036.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client036.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client037.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client037.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client037.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client037.java,v 1.3 2003/07/07 13:43:14 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client037.java,v 1.3 2003/07/07 13:43:14 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client037
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ // Expecting a HeuristicHazard exception when commit is called. MKS 17/06/2002
+ try
+ {
+ System.err.println("Commit transaction");
+ OTS.current().commit(true);
+ System.err.println("Transaction committed, did not get expected HeuristicHarzard exception - test fails");
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard e)
+ {
+ System.err.println("Got expected HeuristicHarzard exception");
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client037.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client037.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client038.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client038.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client038.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client038.java,v 1.3 2003/07/07 13:43:14 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client038.java,v 1.3 2003/07/07 13:43:14 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client038
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client038.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client038.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client039.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client039.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client039.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client039.java,v 1.3 2003/07/07 13:43:14 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client039.java,v 1.3 2003/07/07 13:43:14 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client039
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client039.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client039.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client040.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client040.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client040.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client040.java,v 1.3 2003/07/07 13:43:14 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client040.java,v 1.3 2003/07/07 13:43:14 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client040
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client040.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client040.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client041.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client041.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client041.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client041.java,v 1.3 2003/07/07 13:43:14 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client041.java,v 1.3 2003/07/07 13:43:14 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client041
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client041.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client041.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client042.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client042.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client042.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client042.java,v 1.3 2003/07/07 13:43:14 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client042.java,v 1.3 2003/07/07 13:43:14 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client042
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareRollback);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client042.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client042.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client043.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client043.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client043.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client043.java,v 1.3 2003/07/07 13:43:14 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client043.java,v 1.3 2003/07/07 13:43:14 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client043
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client043.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client043.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client044.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client044.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client044.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client044.java,v 1.3 2003/07/07 13:43:14 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client044.java,v 1.3 2003/07/07 13:43:14 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client044
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client044.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client044.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client045.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client045.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client045.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client045.java,v 1.3 2003/07/07 13:43:15 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client045.java,v 1.3 2003/07/07 13:43:15 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client045
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client045.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client045.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client046.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client046.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client046.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client046.java,v 1.3 2003/07/07 13:43:15 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client046.java,v 1.3 2003/07/07 13:43:15 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client046
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client046.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client046.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client047.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client047.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client047.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client047.java,v 1.3 2003/07/07 13:43:15 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client047.java,v 1.3 2003/07/07 13:43:15 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client047
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client047.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client047.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client048.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client048.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client048.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client048.java,v 1.3 2003/07/07 13:43:15 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client048.java,v 1.3 2003/07/07 13:43:15 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client048
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client048.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client048.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client049.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client049.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client049.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client049.java,v 1.3 2003/07/07 13:43:15 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client049.java,v 1.3 2003/07/07 13:43:15 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client049
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client049.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client049.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client050.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client050.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client050.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client050.java,v 1.3 2003/07/07 13:43:15 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client050.java,v 1.3 2003/07/07 13:43:15 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client050
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareRollback);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client050.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client050.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client051.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client051.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client051.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client051.java,v 1.3 2003/07/07 13:43:15 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client051.java,v 1.3 2003/07/07 13:43:15 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client051
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client051.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client051.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client052.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client052.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client052.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client052.java,v 1.3 2003/07/07 13:43:15 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client052.java,v 1.3 2003/07/07 13:43:15 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client052
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client052.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client052.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client053.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client053.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client053.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client053.java,v 1.3 2003/07/07 13:43:15 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client053.java,v 1.3 2003/07/07 13:43:15 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client053
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client053.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client053.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client054.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client054.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client054.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client054.java,v 1.3 2003/07/07 13:43:15 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client054.java,v 1.3 2003/07/07 13:43:15 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client054
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client054.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client054.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client055.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client055.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client055.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client055.java,v 1.3 2003/07/07 13:43:15 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client055.java,v 1.3 2003/07/07 13:43:15 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client055
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client055.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client055.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client056.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client056.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client056.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client056.java,v 1.3 2003/07/07 13:43:15 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client056.java,v 1.3 2003/07/07 13:43:15 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client056
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client056.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client056.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client057.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client057.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client057.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client057.java,v 1.3 2003/07/07 13:43:15 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client057.java,v 1.3 2003/07/07 13:43:15 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client057
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client057.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client057.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client058.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client058.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client058.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client058.java,v 1.3 2003/07/07 13:43:15 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client058.java,v 1.3 2003/07/07 13:43:15 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client058
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ OTS.current().commit(true);
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommit);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepare);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client058.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client058.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client059.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client059.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client059.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client059.java,v 1.3 2003/07/07 13:43:15 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client059.java,v 1.3 2003/07/07 13:43:15 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client059
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ OTS.current().commit(true);
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepare);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommit);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client059.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client059.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client060.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client060.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client060.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client060.java,v 1.3 2003/07/07 13:43:15 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client060.java,v 1.3 2003/07/07 13:43:15 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client060
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseNotPrepared;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommit);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepare);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client060.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client060.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client061.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client061.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client061.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client061.java,v 1.3 2003/07/07 13:43:15 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client061.java,v 1.3 2003/07/07 13:43:15 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client061
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseNotPrepared;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepare);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommit);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client061.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client061.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client062.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client062.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client062.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client062.java,v 1.3 2003/07/07 13:43:15 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client062.java,v 1.3 2003/07/07 13:43:15 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client062
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicRollback;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommitForget);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepare);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client062.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client062.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client063.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client063.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client063.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client063.java,v 1.3 2003/07/07 13:43:15 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client063.java,v 1.3 2003/07/07 13:43:15 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client063
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicRollback;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepare);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommitForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client063.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client063.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client064.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client064.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client064.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client064.java,v 1.3 2003/07/07 13:43:15 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client064.java,v 1.3 2003/07/07 13:43:15 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client064
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommitForget);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepare);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client064.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client064.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client065.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client065.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client065.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client065.java,v 1.3 2003/07/07 13:43:15 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client065.java,v 1.3 2003/07/07 13:43:15 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client065
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepare);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommitForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client065.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client065.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client066.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client066.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client066.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client066.java,v 1.3 2003/07/07 13:43:15 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client066.java,v 1.3 2003/07/07 13:43:15 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client066
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommitForget);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepare);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client066.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client066.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client067.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client067.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client067.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client067.java,v 1.3 2003/07/07 13:43:15 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client067.java,v 1.3 2003/07/07 13:43:15 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client067
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepare);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommitForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client067.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client067.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client068.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client068.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client068.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client068.java,v 1.3 2003/07/07 13:43:15 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client068.java,v 1.3 2003/07/07 13:43:15 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client068
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client068.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client068.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client069.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client069.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client069.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client069.java,v 1.3 2003/07/07 13:43:16 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client069.java,v 1.3 2003/07/07 13:43:16 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client069
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client069.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client069.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client070.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client070.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client070.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client070.java,v 1.3 2003/07/07 13:43:16 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client070.java,v 1.3 2003/07/07 13:43:16 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client070
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client070.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client070.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client071.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client071.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client071.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client071.java,v 1.3 2003/07/07 13:43:16 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client071.java,v 1.3 2003/07/07 13:43:16 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client071
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client071.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client071.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client072.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client072.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client072.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client072.java,v 1.3 2003/07/07 13:43:16 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client072.java,v 1.3 2003/07/07 13:43:16 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client072
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client072.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client072.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client073.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client073.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client073.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,155 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client073.java,v 1.3 2003/07/07 13:43:16 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client073.java,v 1.3 2003/07/07 13:43:16 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client073
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client073.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client073.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client074.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client074.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client074.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client074.java,v 1.3 2003/07/07 13:43:16 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client074.java,v 1.3 2003/07/07 13:43:16 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client074
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client074.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client074.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client075.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client075.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client075.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client075.java,v 1.3 2003/07/07 13:43:16 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client075.java,v 1.3 2003/07/07 13:43:16 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client075
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client075.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client075.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client076.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client076.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client076.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client076.java,v 1.3 2003/07/07 13:43:16 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client076.java,v 1.3 2003/07/07 13:43:16 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client076
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client076.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client076.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client077.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client077.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client077.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client077.java,v 1.3 2003/07/07 13:43:16 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client077.java,v 1.3 2003/07/07 13:43:16 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client077
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client077.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client077.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client078.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client078.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client078.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client078.java,v 1.3 2003/07/07 13:43:16 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client078.java,v 1.3 2003/07/07 13:43:16 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client078
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client078.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client078.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client079.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client079.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client079.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client079.java,v 1.3 2003/07/07 13:43:16 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client079.java,v 1.3 2003/07/07 13:43:16 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client079
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client079.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client079.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client080.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client080.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client080.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client080.java,v 1.3 2003/07/07 13:43:16 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client080.java,v 1.3 2003/07/07 13:43:16 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client080
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client080.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client080.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client081.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client081.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client081.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client081.java,v 1.3 2003/07/07 13:43:16 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client081.java,v 1.3 2003/07/07 13:43:16 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client081
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client081.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client081.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client082.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client082.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client082.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client082.java,v 1.3 2003/07/07 13:43:16 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client082.java,v 1.3 2003/07/07 13:43:16 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client082
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client082.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client082.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client083.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client083.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client083.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client083.java,v 1.3 2003/07/07 13:43:16 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client083.java,v 1.3 2003/07/07 13:43:16 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client083
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client083.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client083.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client084.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client084.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client084.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client084.java,v 1.3 2003/07/07 13:43:16 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client084.java,v 1.3 2003/07/07 13:43:16 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client084
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ OTS.current().commit(true);
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepare);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepare);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client084.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client084.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client085.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client085.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client085.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client085.java,v 1.3 2003/07/07 13:43:16 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client085.java,v 1.3 2003/07/07 13:43:16 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client085
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareRollback);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepare) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client085.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client085.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client086.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client086.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client086.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client086.java,v 1.3 2003/07/07 13:43:16 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client086.java,v 1.3 2003/07/07 13:43:16 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client086
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepare) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client086.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client086.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client087.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client087.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client087.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,161 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client087.java,v 1.3 2003/07/07 13:43:16 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client087.java,v 1.3 2003/07/07 13:43:16 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client087
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ ResourceTrace expectedResourceTrace2 = ResourceTrace.ResourceTraceUnknown;
+
+ try
+ {
+ OTS.current().commit(true);
+
+ expectedResourceTrace2 = ResourceTrace.ResourceTracePrepare;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ expectedResourceTrace2 = ResourceTrace.ResourceTraceRollback;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ expectedResourceTrace2 = ResourceTrace.ResourceTraceRollback;
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget);
+ correct = correct && (resourceTrace2 == expectedResourceTrace2);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client087.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client087.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client088.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client088.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client088.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,164 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client088.java,v 1.3 2003/07/07 13:43:16 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client088.java,v 1.3 2003/07/07 13:43:16 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client088
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ System.err.println("begin transaction");
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ ResourceTrace expectedResourceTrace1 = ResourceTrace.ResourceTracePrepare;
+
+ try
+ {
+ System.err.println("commit transaction");
+ OTS.current().commit(true);
+ System.err.println("transaction committed, no HeuristicHazard exception thrown - test failed");
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ // No exception used to be thrown, but this has been changed to HeuristicHazard from TeT 2.2.2.
+ // MKS 17/06/2002
+ System.err.println("expected HeuristicHazard exception thrown");
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == expectedResourceTrace1);
+ System.err.println("resourceTrace1 = " + resourceTrace1.value());
+
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget);
+ System.err.println("resourceTrace2 = " + resourceTrace2.value());
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client088.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client088.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client089.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client089.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client089.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client089.java,v 1.3 2003/07/07 13:43:16 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client089.java,v 1.3 2003/07/07 13:43:16 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client089
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepare) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client089.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client089.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client090.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client090.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client090.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client090.java,v 1.3 2003/07/07 13:43:16 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client090.java,v 1.3 2003/07/07 13:43:16 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client090
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepare) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client090.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client090.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client091.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client091.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client091.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client091.java,v 1.3 2003/07/07 13:43:17 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client091.java,v 1.3 2003/07/07 13:43:17 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client091
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepare) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client091.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client091.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client092.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client092.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client092.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client092.java,v 1.3 2003/07/07 13:43:17 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client092.java,v 1.3 2003/07/07 13:43:17 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client092
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepare) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client092.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client092.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client093.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client093.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client093.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client093.java,v 1.3 2003/07/07 13:43:17 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client093.java,v 1.3 2003/07/07 13:43:17 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client093
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareForget);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client093.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client093.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client094.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client094.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client094.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client094.java,v 1.3 2003/07/07 13:43:17 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client094.java,v 1.3 2003/07/07 13:43:17 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client094
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareForget);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client094.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client094.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client095.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client095.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client095.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client095.java,v 1.3 2003/07/07 13:43:17 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client095.java,v 1.3 2003/07/07 13:43:17 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client095
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareForget);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client095.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client095.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client096.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client096.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client096.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client096.java,v 1.3 2003/07/07 13:43:17 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client096.java,v 1.3 2003/07/07 13:43:17 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client096
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareForget);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client096.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client096.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client097.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client097.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client097.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client097.java,v 1.3 2003/07/07 13:43:17 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client097.java,v 1.3 2003/07/07 13:43:17 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client097
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client097.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client097.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client098.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client098.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client098.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client098.java,v 1.3 2003/07/07 13:43:17 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client098.java,v 1.3 2003/07/07 13:43:17 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client098
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client098.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client098.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client099.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client099.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client099.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client099.java,v 1.3 2003/07/07 13:43:17 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client099.java,v 1.3 2003/07/07 13:43:17 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client099
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client099.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client099.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client100.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client100.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client100.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client100.java,v 1.3 2003/07/07 13:43:17 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client100.java,v 1.3 2003/07/07 13:43:17 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client100
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client100.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client100.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client101.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client101.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client101.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client101.java,v 1.3 2003/07/07 13:43:17 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client101.java,v 1.3 2003/07/07 13:43:17 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client101
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareForget);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client101.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client101.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client102.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client102.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client102.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client102.java,v 1.3 2003/07/07 13:43:17 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client102.java,v 1.3 2003/07/07 13:43:17 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client102
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareForget);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client102.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client102.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client103.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client103.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client103.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client103.java,v 1.3 2003/07/07 13:43:17 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client103.java,v 1.3 2003/07/07 13:43:17 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client103
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareForget);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client103.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client103.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client104.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client104.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client104.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client104.java,v 1.3 2003/07/07 13:43:17 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client104.java,v 1.3 2003/07/07 13:43:17 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client104
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareForget);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client104.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client104.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client105.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client105.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client105.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client105.java,v 1.3 2003/07/07 13:43:17 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client105.java,v 1.3 2003/07/07 13:43:17 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client105
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client105.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client105.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client106.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client106.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client106.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client106.java,v 1.3 2003/07/07 13:43:17 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client106.java,v 1.3 2003/07/07 13:43:17 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client106
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client106.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client106.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client107.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client107.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client107.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client107.java,v 1.3 2003/07/07 13:43:17 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client107.java,v 1.3 2003/07/07 13:43:17 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client107
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client107.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client107.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client108.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client108.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client108.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client108.java,v 1.3 2003/07/07 13:43:17 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client108.java,v 1.3 2003/07/07 13:43:17 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client108
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client108.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client108.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client109.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client109.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client109.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,161 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client109.java,v 1.3 2003/07/07 13:43:17 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client109.java,v 1.3 2003/07/07 13:43:17 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client109
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client109.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client109.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client110.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client110.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client110.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,161 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client110.java,v 1.3 2003/07/07 13:43:17 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client110.java,v 1.3 2003/07/07 13:43:17 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client110
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client110.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client110.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client111.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client111.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client111.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,161 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client111.java,v 1.3 2003/07/07 13:43:17 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client111.java,v 1.3 2003/07/07 13:43:17 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client111
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client111.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client111.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client112.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client112.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client112.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,161 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client112.java,v 1.3 2003/07/07 13:43:17 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client112.java,v 1.3 2003/07/07 13:43:17 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client112
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client112.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client112.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client113.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client113.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client113.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client113.java,v 1.3 2003/07/07 13:43:17 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client113.java,v 1.3 2003/07/07 13:43:17 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client113
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client113.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client113.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client114.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client114.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client114.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,161 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client114.java,v 1.3 2003/07/07 13:43:18 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client114.java,v 1.3 2003/07/07 13:43:18 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client114
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client114.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client114.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client115.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client115.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client115.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,161 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client115.java,v 1.3 2003/07/07 13:43:18 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client115.java,v 1.3 2003/07/07 13:43:18 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client115
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client115.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client115.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client116.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client116.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client116.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client116.java,v 1.3 2003/07/07 13:43:18 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client116.java,v 1.3 2003/07/07 13:43:18 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client116
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client116.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client116.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client117.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client117.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client117.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client117.java,v 1.3 2003/07/07 13:43:18 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client117.java,v 1.3 2003/07/07 13:43:18 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client117
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client117.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client117.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client118.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client118.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client118.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client118.java,v 1.3 2003/07/07 13:43:18 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client118.java,v 1.3 2003/07/07 13:43:18 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client118
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client118.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client118.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client119.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client119.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client119.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client119.java,v 1.3 2003/07/07 13:43:18 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client119.java,v 1.3 2003/07/07 13:43:18 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client119
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client119.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client119.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client120.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client120.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client120.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client120.java,v 1.3 2003/07/07 13:43:18 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client120.java,v 1.3 2003/07/07 13:43:18 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client120
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client120.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client120.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client121.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client121.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client121.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client121.java,v 1.3 2003/07/07 13:43:18 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client121.java,v 1.3 2003/07/07 13:43:18 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client121
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client121.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client121.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client122.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client122.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client122.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,161 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client122.java,v 1.3 2003/07/07 13:43:18 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client122.java,v 1.3 2003/07/07 13:43:18 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client122
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client122.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client122.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client123.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client123.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client123.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client123.java,v 1.3 2003/07/07 13:43:18 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client123.java,v 1.3 2003/07/07 13:43:18 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client123
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client123.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client123.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client124.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client124.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client124.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client124.java,v 1.3 2003/07/07 13:43:18 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client124.java,v 1.3 2003/07/07 13:43:18 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client124
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client124.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client124.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client125.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client125.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client125.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client125.java,v 1.3 2003/07/07 13:43:18 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client125.java,v 1.3 2003/07/07 13:43:18 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client125
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareForget);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client125.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client125.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client126.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client126.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client126.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client126.java,v 1.3 2003/07/07 13:43:18 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client126.java,v 1.3 2003/07/07 13:43:18 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client126
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareForget);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client126.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client126.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client127.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client127.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client127.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client127.java,v 1.3 2003/07/07 13:43:18 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client127.java,v 1.3 2003/07/07 13:43:18 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client127
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareForget);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client127.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client127.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client128.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client128.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client128.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client128.java,v 1.3 2003/07/07 13:43:18 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client128.java,v 1.3 2003/07/07 13:43:18 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client128
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareForget);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client128.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client128.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client129.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client129.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client129.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client129.java,v 1.3 2003/07/07 13:43:18 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client129.java,v 1.3 2003/07/07 13:43:18 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client129
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepare) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client129.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client129.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client130.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client130.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client130.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client130.java,v 1.3 2003/07/07 13:43:18 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client130.java,v 1.3 2003/07/07 13:43:18 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client130
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepare) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client130.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client130.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client131.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client131.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client131.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client131.java,v 1.3 2003/07/07 13:43:18 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client131.java,v 1.3 2003/07/07 13:43:18 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client131
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepare) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client131.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client131.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client132.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client132.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client132.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client132.java,v 1.3 2003/07/07 13:43:18 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client132.java,v 1.3 2003/07/07 13:43:18 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client132
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepare) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client132.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client132.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client133.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client133.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client133.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client133.java,v 1.3 2003/07/07 13:43:18 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client133.java,v 1.3 2003/07/07 13:43:18 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client133
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareForget);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client133.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client133.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client134.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client134.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client134.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client134.java,v 1.3 2003/07/07 13:43:18 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client134.java,v 1.3 2003/07/07 13:43:18 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client134
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareForget);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client134.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client134.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client135.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client135.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client135.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client135.java,v 1.3 2003/07/07 13:43:18 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client135.java,v 1.3 2003/07/07 13:43:18 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client135
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareForget);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client135.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client135.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client136.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client136.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client136.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client136.java,v 1.3 2003/07/07 13:43:18 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client136.java,v 1.3 2003/07/07 13:43:18 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client136
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareForget);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client136.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client136.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client137.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client137.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client137.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client137.java,v 1.3 2003/07/07 13:43:19 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client137.java,v 1.3 2003/07/07 13:43:19 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client137
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepare) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client137.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client137.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client138.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client138.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client138.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client138.java,v 1.3 2003/07/07 13:43:19 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client138.java,v 1.3 2003/07/07 13:43:19 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client138
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepare) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client138.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client138.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client139.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client139.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client139.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client139.java,v 1.3 2003/07/07 13:43:19 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client139.java,v 1.3 2003/07/07 13:43:19 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client139
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepare) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client139.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client139.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client140.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client140.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client140.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client140.java,v 1.3 2003/07/07 13:43:19 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client140.java,v 1.3 2003/07/07 13:43:19 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client140
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepare) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client140.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client140.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client141.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client141.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client141.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client141.java,v 1.3 2003/07/07 13:43:19 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client141.java,v 1.3 2003/07/07 13:43:19 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client141
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client141.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client141.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client142.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client142.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client142.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client142.java,v 1.3 2003/07/07 13:43:19 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client142.java,v 1.3 2003/07/07 13:43:19 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client142
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client142.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client142.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client143.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client143.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client143.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client143.java,v 1.3 2003/07/07 13:43:19 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client143.java,v 1.3 2003/07/07 13:43:19 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client143
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client143.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client143.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client144.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client144.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client144.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client144.java,v 1.3 2003/07/07 13:43:19 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client144.java,v 1.3 2003/07/07 13:43:19 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client144
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client144.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client144.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client145.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client145.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client145.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client145.java,v 1.3 2003/07/07 13:43:19 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client145.java,v 1.3 2003/07/07 13:43:19 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client145
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ OTS.current().rollback();
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceRollback);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client145.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client145.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client146.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client146.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client146.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,155 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client146.java,v 1.3 2003/07/07 13:43:19 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client146.java,v 1.3 2003/07/07 13:43:19 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client146
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ OTS.current().rollback_only();
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceRollback);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client146.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client146.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client147.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client147.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client147.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,155 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client147.java,v 1.3 2003/07/07 13:43:19 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client147.java,v 1.3 2003/07/07 13:43:19 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client147
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ OTS.current().rollback_only();
+
+ try
+ {
+ OTS.current().commit(false);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceRollback);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client147.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client147.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client148.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client148.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients2/Client148.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,142 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client148.java,v 1.3 2003/07/07 13:43:19 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client148.java,v 1.3 2003/07/07 13:43:19 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client148
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ OTS.current().commit(true);
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommit);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommit);
+
+ System.out.println("Failed");
+ }
+ catch (org.omg.CORBA.TRANSACTION_ROLLEDBACK exception)
+ {
+ exception.printStackTrace(System.err);
+ System.out.println("Passed");
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client001.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client001.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client001.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client001.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client001.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,154 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client001.java,v 1.2 2003/06/26 11:44:38 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client001.java,v 1.2 2003/06/26 11:44:38 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client001
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors3 = new ResourceBehavior[1];
+ resourceBehaviors3[0] = new ResourceBehavior();
+ resourceBehaviors3[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors3[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors3[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors3[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ service3.oper(resourceBehaviors3);
+
+ OTS.current().commit(true);
+
+ correct = correct && service1.is_correct() && service2.is_correct() && service3.is_correct();
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+ ResourceTrace resourceTrace3 = service3.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommit);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommit);
+ correct = correct && (resourceTrace3 == ResourceTrace.ResourceTracePrepareCommit);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client001.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client001.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client002.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client002.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client002.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,163 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client002.java,v 1.3 2003/07/07 13:43:26 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client002.java,v 1.3 2003/07/07 13:43:26 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client002
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors3 = new ResourceBehavior[1];
+ resourceBehaviors3[0] = new ResourceBehavior();
+ resourceBehaviors3[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors3[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors3[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors3[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ service3.oper(resourceBehaviors3);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct() && service3.is_correct();
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+ ResourceTrace resourceTrace3 = service3.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareRollback);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace3 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace3 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client002.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client002.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client003.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client003.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client003.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,154 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client003.java,v 1.2 2003/06/26 11:44:38 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client003.java,v 1.2 2003/06/26 11:44:38 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client003
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors3 = new ResourceBehavior[1];
+ resourceBehaviors3[0] = new ResourceBehavior();
+ resourceBehaviors3[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors3[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors3[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors3[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ service3.oper(resourceBehaviors3);
+
+ OTS.current().commit(true);
+
+ correct = correct && service1.is_correct() && service2.is_correct() && service3.is_correct();
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+ ResourceTrace resourceTrace3 = service3.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepare);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommit);
+ correct = correct && (resourceTrace3 == ResourceTrace.ResourceTracePrepareCommit);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client003.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client003.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client004.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client004.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client004.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,163 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client004.java,v 1.3 2003/07/07 13:43:26 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client004.java,v 1.3 2003/07/07 13:43:26 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client004
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors3 = new ResourceBehavior[1];
+ resourceBehaviors3[0] = new ResourceBehavior();
+ resourceBehaviors3[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors3[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors3[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors3[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ service3.oper(resourceBehaviors3);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct() && service3.is_correct();
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+ ResourceTrace resourceTrace3 = service3.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback);
+ correct = correct && ((resourceTrace3 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace3 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client004.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client004.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client005.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client005.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client005.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,163 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client005.java,v 1.3 2003/07/07 13:43:26 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client005.java,v 1.3 2003/07/07 13:43:26 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client005
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors3 = new ResourceBehavior[1];
+ resourceBehaviors3[0] = new ResourceBehavior();
+ resourceBehaviors3[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors3[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors3[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors3[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ service3.oper(resourceBehaviors3);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct() && service3.is_correct();
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+ ResourceTrace resourceTrace3 = service3.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace3 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace3 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client005.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client005.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client006.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client006.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client006.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,163 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client006.java,v 1.3 2003/07/07 13:43:26 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client006.java,v 1.3 2003/07/07 13:43:26 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client006
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors3 = new ResourceBehavior[1];
+ resourceBehaviors3[0] = new ResourceBehavior();
+ resourceBehaviors3[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors3[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors3[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors3[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ service3.oper(resourceBehaviors3);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct() && service3.is_correct();
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+ ResourceTrace resourceTrace3 = service3.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepare) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback);
+ correct = correct && ((resourceTrace3 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace3 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client006.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client006.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client007.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client007.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client007.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,154 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client007.java,v 1.2 2003/06/26 11:44:39 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client007.java,v 1.2 2003/06/26 11:44:39 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client007
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors3 = new ResourceBehavior[1];
+ resourceBehaviors3[0] = new ResourceBehavior();
+ resourceBehaviors3[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors3[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors3[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors3[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ service3.oper(resourceBehaviors3);
+
+ OTS.current().commit(true);
+
+ correct = correct && service1.is_correct() && service2.is_correct() && service3.is_correct();
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+ ResourceTrace resourceTrace3 = service3.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommit);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepare);
+ correct = correct && (resourceTrace3 == ResourceTrace.ResourceTracePrepareCommit);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client007.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client007.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client008.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client008.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client008.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,163 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client008.java,v 1.3 2003/07/07 13:43:26 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client008.java,v 1.3 2003/07/07 13:43:26 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client008
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors3 = new ResourceBehavior[1];
+ resourceBehaviors3[0] = new ResourceBehavior();
+ resourceBehaviors3[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors3[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors3[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors3[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ service3.oper(resourceBehaviors3);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct() && service3.is_correct();
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+ ResourceTrace resourceTrace3 = service3.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareRollback);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepare) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace3 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace3 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client008.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client008.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client009.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client009.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client009.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,154 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client009.java,v 1.2 2003/06/26 11:44:39 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client009.java,v 1.2 2003/06/26 11:44:39 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client009
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors3 = new ResourceBehavior[1];
+ resourceBehaviors3[0] = new ResourceBehavior();
+ resourceBehaviors3[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors3[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors3[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors3[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ service3.oper(resourceBehaviors3);
+
+ OTS.current().commit(true);
+
+ correct = correct && service1.is_correct() && service2.is_correct() && service3.is_correct();
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+ ResourceTrace resourceTrace3 = service3.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepare);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepare);
+ correct = correct && (resourceTrace3 == ResourceTrace.ResourceTracePrepareCommit);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client009.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client009.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client010.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client010.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client010.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,163 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client010.java,v 1.3 2003/07/07 13:43:26 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client010.java,v 1.3 2003/07/07 13:43:26 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client010
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors3 = new ResourceBehavior[1];
+ resourceBehaviors3[0] = new ResourceBehavior();
+ resourceBehaviors3[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors3[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors3[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors3[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ service3.oper(resourceBehaviors3);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct() && service3.is_correct();
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+ ResourceTrace resourceTrace3 = service3.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace3 == ResourceTrace.ResourceTracePrepareRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client010.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client010.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client011.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client011.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client011.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,163 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client011.java,v 1.3 2003/07/07 13:43:26 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client011.java,v 1.3 2003/07/07 13:43:26 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client011
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors3 = new ResourceBehavior[1];
+ resourceBehaviors3[0] = new ResourceBehavior();
+ resourceBehaviors3[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors3[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors3[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors3[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ service3.oper(resourceBehaviors3);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct() && service3.is_correct();
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+ ResourceTrace resourceTrace3 = service3.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace3 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace3 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client011.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client011.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client012.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client012.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client012.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,163 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client012.java,v 1.3 2003/07/07 13:43:26 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client012.java,v 1.3 2003/07/07 13:43:26 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client012
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors3 = new ResourceBehavior[1];
+ resourceBehaviors3[0] = new ResourceBehavior();
+ resourceBehaviors3[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors3[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors3[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors3[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ service3.oper(resourceBehaviors3);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct() && service3.is_correct();
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+ ResourceTrace resourceTrace3 = service3.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepare) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace3 == ResourceTrace.ResourceTracePrepareRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client012.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client012.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client013.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client013.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client013.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,163 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client013.java,v 1.3 2003/07/07 13:43:26 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client013.java,v 1.3 2003/07/07 13:43:26 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client013
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors3 = new ResourceBehavior[1];
+ resourceBehaviors3[0] = new ResourceBehavior();
+ resourceBehaviors3[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors3[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors3[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors3[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ service3.oper(resourceBehaviors3);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct() && service3.is_correct();
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+ ResourceTrace resourceTrace3 = service3.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace3 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace3 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client013.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client013.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client014.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client014.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client014.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,163 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client014.java,v 1.3 2003/07/07 13:43:26 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client014.java,v 1.3 2003/07/07 13:43:26 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client014
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors3 = new ResourceBehavior[1];
+ resourceBehaviors3[0] = new ResourceBehavior();
+ resourceBehaviors3[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors3[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors3[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors3[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ service3.oper(resourceBehaviors3);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct() && service3.is_correct();
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+ ResourceTrace resourceTrace3 = service3.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace3 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace3 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client014.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client014.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client015.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client015.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client015.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,163 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client015.java,v 1.3 2003/07/07 13:43:26 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client015.java,v 1.3 2003/07/07 13:43:26 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client015
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors3 = new ResourceBehavior[1];
+ resourceBehaviors3[0] = new ResourceBehavior();
+ resourceBehaviors3[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors3[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors3[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors3[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ service3.oper(resourceBehaviors3);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct() && service3.is_correct();
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+ ResourceTrace resourceTrace3 = service3.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepare) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace3 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace3 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client015.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client015.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client016.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client016.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client016.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,163 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client016.java,v 1.3 2003/07/07 13:43:26 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client016.java,v 1.3 2003/07/07 13:43:26 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client016
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors3 = new ResourceBehavior[1];
+ resourceBehaviors3[0] = new ResourceBehavior();
+ resourceBehaviors3[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors3[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors3[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors3[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ service3.oper(resourceBehaviors3);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct() && service3.is_correct();
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+ ResourceTrace resourceTrace3 = service3.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepare) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace3 == ResourceTrace.ResourceTracePrepareRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client016.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client016.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client017.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client017.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client017.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,163 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client017.java,v 1.3 2003/07/07 13:43:26 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client017.java,v 1.3 2003/07/07 13:43:26 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client017
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors3 = new ResourceBehavior[1];
+ resourceBehaviors3[0] = new ResourceBehavior();
+ resourceBehaviors3[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors3[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors3[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors3[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ service3.oper(resourceBehaviors3);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct() && service3.is_correct();
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+ ResourceTrace resourceTrace3 = service3.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepare) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace3 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace3 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client017.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client017.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client018.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client018.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client018.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,163 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client018.java,v 1.3 2003/07/07 13:43:26 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client018.java,v 1.3 2003/07/07 13:43:26 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client018
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors3 = new ResourceBehavior[1];
+ resourceBehaviors3[0] = new ResourceBehavior();
+ resourceBehaviors3[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors3[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors3[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors3[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ service3.oper(resourceBehaviors3);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct() && service3.is_correct();
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+ ResourceTrace resourceTrace3 = service3.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepare) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepare) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace3 == ResourceTrace.ResourceTracePrepareRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client018.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client018.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client019.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client019.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client019.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,154 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client019.java,v 1.2 2003/06/26 11:44:39 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client019.java,v 1.2 2003/06/26 11:44:39 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client019
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors3 = new ResourceBehavior[1];
+ resourceBehaviors3[0] = new ResourceBehavior();
+ resourceBehaviors3[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors3[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors3[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors3[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ service3.oper(resourceBehaviors3);
+
+ OTS.current().commit(true);
+
+ correct = correct && service1.is_correct() && service2.is_correct() && service3.is_correct();
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+ ResourceTrace resourceTrace3 = service3.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommit);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommit);
+ correct = correct && (resourceTrace3 == ResourceTrace.ResourceTracePrepare);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client019.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client019.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client020.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client020.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client020.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,163 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client020.java,v 1.3 2003/07/07 13:43:27 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client020.java,v 1.3 2003/07/07 13:43:27 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client020
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors3 = new ResourceBehavior[1];
+ resourceBehaviors3[0] = new ResourceBehavior();
+ resourceBehaviors3[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors3[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors3[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors3[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ service3.oper(resourceBehaviors3);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct() && service3.is_correct();
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+ ResourceTrace resourceTrace3 = service3.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareRollback);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace3 == ResourceTrace.ResourceTracePrepare) || (resourceTrace3 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client020.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client020.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client021.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client021.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client021.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,154 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client021.java,v 1.2 2003/06/26 11:44:39 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client021.java,v 1.2 2003/06/26 11:44:39 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client021
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors3 = new ResourceBehavior[1];
+ resourceBehaviors3[0] = new ResourceBehavior();
+ resourceBehaviors3[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors3[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors3[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors3[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ service3.oper(resourceBehaviors3);
+
+ OTS.current().commit(true);
+
+ correct = correct && service1.is_correct() && service2.is_correct() && service3.is_correct();
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+ ResourceTrace resourceTrace3 = service3.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepare);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommit);
+ correct = correct && (resourceTrace3 == ResourceTrace.ResourceTracePrepare);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client021.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client021.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client022.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client022.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client022.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,163 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client022.java,v 1.3 2003/07/07 13:43:27 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client022.java,v 1.3 2003/07/07 13:43:27 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client022
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors3 = new ResourceBehavior[1];
+ resourceBehaviors3[0] = new ResourceBehavior();
+ resourceBehaviors3[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors3[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors3[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors3[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ service3.oper(resourceBehaviors3);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct() && service3.is_correct();
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+ ResourceTrace resourceTrace3 = service3.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback);
+ correct = correct && ((resourceTrace3 == ResourceTrace.ResourceTracePrepare) || (resourceTrace3 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client022.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client022.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client023.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client023.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client023.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,163 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client023.java,v 1.3 2003/07/07 13:43:27 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client023.java,v 1.3 2003/07/07 13:43:27 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client023
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors3 = new ResourceBehavior[1];
+ resourceBehaviors3[0] = new ResourceBehavior();
+ resourceBehaviors3[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors3[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors3[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors3[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ service3.oper(resourceBehaviors3);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct() && service3.is_correct();
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+ ResourceTrace resourceTrace3 = service3.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace3 == ResourceTrace.ResourceTracePrepare) || (resourceTrace3 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client023.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client023.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client024.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client024.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client024.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,163 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client024.java,v 1.3 2003/07/07 13:43:27 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client024.java,v 1.3 2003/07/07 13:43:27 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client024
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors3 = new ResourceBehavior[1];
+ resourceBehaviors3[0] = new ResourceBehavior();
+ resourceBehaviors3[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors3[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors3[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors3[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ service3.oper(resourceBehaviors3);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct() && service3.is_correct();
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+ ResourceTrace resourceTrace3 = service3.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepare) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback);
+ correct = correct && ((resourceTrace3 == ResourceTrace.ResourceTracePrepare) || (resourceTrace3 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client024.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client024.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client025.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client025.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client025.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,154 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client025.java,v 1.2 2003/06/26 11:44:39 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client025.java,v 1.2 2003/06/26 11:44:39 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client025
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors3 = new ResourceBehavior[1];
+ resourceBehaviors3[0] = new ResourceBehavior();
+ resourceBehaviors3[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors3[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors3[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors3[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ service3.oper(resourceBehaviors3);
+
+ OTS.current().commit(true);
+
+ correct = correct && service1.is_correct() && service2.is_correct() && service3.is_correct();
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+ ResourceTrace resourceTrace3 = service3.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommit);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepare);
+ correct = correct && (resourceTrace3 == ResourceTrace.ResourceTracePrepare);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client025.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client025.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client026.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client026.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client026.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,163 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client026.java,v 1.3 2003/07/07 13:43:27 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client026.java,v 1.3 2003/07/07 13:43:27 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client026
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors3 = new ResourceBehavior[1];
+ resourceBehaviors3[0] = new ResourceBehavior();
+ resourceBehaviors3[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors3[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors3[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors3[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ service3.oper(resourceBehaviors3);
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct() && service3.is_correct();
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+ ResourceTrace resourceTrace3 = service3.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepare) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace3 == ResourceTrace.ResourceTracePrepare) || (resourceTrace3 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client026.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client026.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client027.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client027.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client027.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,154 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client027.java,v 1.2 2003/06/26 11:44:40 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client027.java,v 1.2 2003/06/26 11:44:40 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client027
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors3 = new ResourceBehavior[1];
+ resourceBehaviors3[0] = new ResourceBehavior();
+ resourceBehaviors3[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors3[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors3[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors3[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ service3.oper(resourceBehaviors3);
+
+ OTS.current().commit(true);
+
+ correct = correct && service1.is_correct() && service2.is_correct() && service3.is_correct();
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+ ResourceTrace resourceTrace3 = service3.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepare);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepare);
+ correct = correct && (resourceTrace3 == ResourceTrace.ResourceTracePrepare);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client027.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client027.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client028.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client028.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client028.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,154 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client028.java,v 1.2 2003/06/26 11:44:40 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client028.java,v 1.2 2003/06/26 11:44:40 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client028
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors3 = new ResourceBehavior[1];
+ resourceBehaviors3[0] = new ResourceBehavior();
+ resourceBehaviors3[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors3[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors3[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors3[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ service3.oper(resourceBehaviors3);
+
+ OTS.current().rollback();
+
+ correct = correct && service1.is_correct() && service2.is_correct() && service3.is_correct();
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+ ResourceTrace resourceTrace3 = service3.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceRollback);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceRollback);
+ correct = correct && (resourceTrace3 == ResourceTrace.ResourceTraceRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client028.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client028.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client029.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client029.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client029.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,165 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client029.java,v 1.3 2003/07/07 13:43:27 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client029.java,v 1.3 2003/07/07 13:43:27 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client029
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors3 = new ResourceBehavior[1];
+ resourceBehaviors3[0] = new ResourceBehavior();
+ resourceBehaviors3[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors3[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors3[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors3[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ service3.oper(resourceBehaviors3);
+
+ OTS.current().rollback_only();
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct() && service3.is_correct();
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+ ResourceTrace resourceTrace3 = service3.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceRollback);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceRollback);
+ correct = correct && (resourceTrace3 == ResourceTrace.ResourceTraceRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client029.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client029.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client030.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client030.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Clients3/Client030.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,165 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources01Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client030.java,v 1.3 2003/07/07 13:43:27 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client030.java,v 1.3 2003/07/07 13:43:27 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client030
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors3 = new ResourceBehavior[1];
+ resourceBehaviors3[0] = new ResourceBehavior();
+ resourceBehaviors3[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors3[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors3[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors3[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1);
+
+ service2.oper(resourceBehaviors2);
+
+ service3.oper(resourceBehaviors3);
+
+ OTS.current().rollback_only();
+
+ try
+ {
+ OTS.current().commit(false);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct() && service3.is_correct();
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+ ResourceTrace resourceTrace3 = service3.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceRollback);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceRollback);
+ correct = correct && (resourceTrace3 == ResourceTrace.ResourceTraceRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client030.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client030.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Impls/ResourceImpl01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Impls/ResourceImpl01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Impls/ResourceImpl01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,283 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: ResourceImpl01.java,v 1.2 2003/06/26 11:44:41 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.RawResources01Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ResourceImpl01.java,v 1.2 2003/06/26 11:44:41 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ResourceImpl01.java,v 1.2 2003/06/26 11:44:41 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+import org.omg.CosTransactions.*;
+
+public class ResourceImpl01 implements ResourceOperations
+{
+ public ResourceImpl01(int objectNumber, int resourceNumber, ResourceBehavior resourceBehavior)
+ {
+ _donePrepare = false;
+ _objectNumber = objectNumber;
+ _resourceNumber = resourceNumber;
+ _resourceBehavior = resourceBehavior;
+ }
+
+ public Vote prepare()
+ throws HeuristicMixed, HeuristicHazard
+ {
+ System.err.print("ResourceImpl01.prepare [O" + _objectNumber + ".R" + _resourceNumber + "]: ");
+
+ if (_resourceTrace == ResourceTrace.ResourceTraceNone)
+ {
+ _resourceTrace = ResourceTrace.ResourceTracePrepare;
+ }
+ else
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceUnknown;
+ }
+
+ _donePrepare = true;
+
+ if (_resourceBehavior.prepare_behavior == PrepareBehavior.PrepareBehaviorReturnVoteCommit)
+ {
+ System.err.println("ReturnVoteCommit");
+ return Vote.VoteCommit;
+ }
+ else if (_resourceBehavior.prepare_behavior == PrepareBehavior.PrepareBehaviorReturnVoteRollback)
+ {
+ System.err.println("ReturnVoteRollback");
+ return Vote.VoteRollback;
+ }
+ else if (_resourceBehavior.prepare_behavior == PrepareBehavior.PrepareBehaviorReturnVoteReadOnly)
+ {
+ System.err.println("ReturnVoteReadOnly");
+ return Vote.VoteReadOnly;
+ }
+ else if (_resourceBehavior.prepare_behavior == PrepareBehavior.PrepareBehaviorRaiseHeuristicMixed)
+ {
+ System.err.println("RaiseHeuristicMixed");
+ throw new HeuristicMixed();
+ }
+ else
+ {
+ System.err.println("RaiseHeuristicHazard");
+ throw new HeuristicHazard();
+ }
+ }
+
+ public void rollback()
+ throws HeuristicCommit, HeuristicMixed, HeuristicHazard
+ {
+ System.err.print("ResourceImpl01.rollback [O" + _objectNumber + ".R" + _resourceNumber + "]: ");
+
+ if (_donePrepare)
+ {
+ if (_resourceTrace == ResourceTrace.ResourceTracePrepare)
+ {
+ _resourceTrace = ResourceTrace.ResourceTracePrepareRollback;
+ }
+ else
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceUnknown;
+ }
+
+ if (_resourceBehavior.rollback_behavior == RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit)
+ {
+ System.err.println("RaiseHeuristicCommit");
+ throw new HeuristicCommit();
+ }
+ else if (_resourceBehavior.rollback_behavior == RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed)
+ {
+ System.err.println("RaiseHeuristicMixed");
+ throw new HeuristicMixed();
+ }
+ else if (_resourceBehavior.rollback_behavior == RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard)
+ {
+ System.err.println("RaiseHeuristicHazard");
+ throw new HeuristicHazard();
+ }
+
+ System.err.println("Return");
+ }
+ else
+ {
+ if (_resourceTrace == ResourceTrace.ResourceTraceNone)
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceRollback;
+ }
+ else
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceUnknown;
+ }
+
+ if (_resourceBehavior.rollback_behavior == RollbackBehavior.RollbackBehaviorReturn)
+ {
+ System.err.println("Return");
+ }
+ else
+ {
+ System.err.println("Return (forced behavior)");
+ }
+ }
+ }
+
+ public void commit()
+ throws NotPrepared, HeuristicRollback, HeuristicMixed, HeuristicHazard
+ {
+ System.err.print("ResourceImpl01.commit [O" + _objectNumber + ".R" + _resourceNumber + "]: ");
+
+ if (_resourceTrace == ResourceTrace.ResourceTracePrepare)
+ {
+ _resourceTrace = ResourceTrace.ResourceTracePrepareCommit;
+ }
+ else
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceUnknown;
+ }
+
+ if (_resourceBehavior.commit_behavior == CommitBehavior.CommitBehaviorRaiseNotPrepared)
+ {
+ System.err.println("RaiseNotPrepared");
+ throw new NotPrepared();
+ }
+ else if (_resourceBehavior.commit_behavior == CommitBehavior.CommitBehaviorRaiseHeuristicRollback)
+ {
+ System.err.println("RaiseHeuristicRollback");
+ throw new HeuristicRollback();
+ }
+ else if (_resourceBehavior.commit_behavior == CommitBehavior.CommitBehaviorRaiseHeuristicMixed)
+ {
+ System.err.println("RaiseHeuristicMixed");
+ throw new HeuristicMixed();
+ }
+ else if (_resourceBehavior.commit_behavior == CommitBehavior.CommitBehaviorRaiseHeuristicHazard)
+ {
+ System.err.println("RaiseHeuristicHazard");
+ throw new HeuristicHazard();
+ }
+
+ System.err.println("Return");
+ }
+
+ public void commit_one_phase()
+ throws HeuristicHazard
+ {
+ System.err.print("ResourceImpl01.commit_one_phase [O" + _objectNumber + ".R" + _resourceNumber + "]: ");
+
+ if (_resourceTrace == ResourceTrace.ResourceTraceNone)
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceCommitOnePhase;
+ }
+ else
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceUnknown;
+ }
+
+ if (_resourceBehavior.commitonephase_behavior == CommitOnePhaseBehavior.CommitOnePhaseBehaviorRaiseHeuristicHazard)
+ {
+ System.err.println("RaiseHeuristicMixed");
+ throw new HeuristicHazard();
+ }
+ else
+ if (_resourceBehavior.commitonephase_behavior == CommitOnePhaseBehavior.CommitOnePhaseBehaviorRaiseTransactionRolledback)
+ {
+ System.err.println("RaiseTransactionRolledback");
+ throw new TRANSACTION_ROLLEDBACK();
+ }
+
+ System.err.println("Return");
+ }
+
+ public void forget()
+ {
+ System.err.println("ResourceImpl01.forget [O" + _objectNumber + ".R" + _resourceNumber + "]: Return");
+
+ if (_resourceTrace == ResourceTrace.ResourceTracePrepare)
+ {
+ _resourceTrace = ResourceTrace.ResourceTracePrepareForget;
+ }
+ else if (_resourceTrace == ResourceTrace.ResourceTracePrepareRollback)
+ {
+ _resourceTrace = ResourceTrace.ResourceTracePrepareRollbackForget;
+ }
+ else if (_resourceTrace == ResourceTrace.ResourceTracePrepareCommit)
+ {
+ _resourceTrace = ResourceTrace.ResourceTracePrepareCommitForget;
+ }
+ else if (_resourceTrace == ResourceTrace.ResourceTraceCommitOnePhase)
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceCommitOnePhaseForget;
+ }
+ else
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceUnknown;
+ }
+ }
+
+ public boolean isCorrect()
+ {
+ return true;
+ }
+
+ public ResourceTrace getTrace()
+ {
+ return _resourceTrace;
+ }
+
+ private boolean _donePrepare;
+ private int _objectNumber;
+ private int _resourceNumber;
+ private ResourceBehavior _resourceBehavior;
+ private ResourceTrace _resourceTrace = ResourceTrace.ResourceTraceNone;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Impls/ServiceImpl01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Impls/ServiceImpl01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Impls/ServiceImpl01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,124 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: ServiceImpl01.java,v 1.2 2003/06/26 11:44:41 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.RawResources01Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ServiceImpl01.java,v 1.2 2003/06/26 11:44:41 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ServiceImpl01.java,v 1.2 2003/06/26 11:44:41 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.omg.CosTransactions.Resource;
+import org.omg.CosTransactions.ResourceHelper;
+import org.omg.CosTransactions.ResourcePOATie;
+
+public class ServiceImpl01 implements ServiceOperations
+{
+ public ServiceImpl01(int objectNumber)
+ {
+ _objectNumber = objectNumber;
+ }
+
+ public void oper(ResourceBehavior[] resource_behaviors)
+ {
+ _resourceImpl = new ResourceImpl01[resource_behaviors.length];
+ _resource = new Resource[resource_behaviors.length];
+
+ for (int index = 0; index < resource_behaviors.length; index++)
+ {
+ try
+ {
+ _resourceImpl[index] = new ResourceImpl01(_objectNumber, index, resource_behaviors[index]);
+ ResourcePOATie servant = new ResourcePOATie(_resourceImpl[index]);
+
+ OAInterface.objectIsReady(servant);
+ _resource[index] = ResourceHelper.narrow(OAInterface.corbaReference(servant));
+
+ OTS.current().get_control().get_coordinator().register_resource(_resource[index]);
+ }
+ catch (Exception exception)
+ {
+ System.err.println("ServiceImpl01.oper: " + exception);
+ exception.printStackTrace(System.err);
+ _isCorrect = false;
+ }
+ }
+ }
+
+ public boolean is_correct()
+ {
+ return _isCorrect;
+ }
+
+ public ResourceTrace get_resource_trace(int resource_number)
+ {
+ if ((resource_number < 0) || (resource_number >= _resourceImpl.length))
+ {
+ return ResourceTrace.ResourceTraceUnknown;
+ }
+ else
+ {
+ return _resourceImpl[resource_number].getTrace();
+ }
+ }
+
+ private int _objectNumber;
+ private boolean _isCorrect = true;
+
+ private ResourceImpl01[] _resourceImpl = null;
+ private Resource[] _resource = null;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Impls/ServiceImpl02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Impls/ServiceImpl02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Impls/ServiceImpl02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,132 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: ServiceImpl02.java,v 1.2 2003/06/26 11:44:42 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.RawResources01Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ServiceImpl02.java,v 1.2 2003/06/26 11:44:42 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ServiceImpl02.java,v 1.2 2003/06/26 11:44:42 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+import org.omg.CosTransactions.Resource;
+import org.omg.CosTransactions.ResourceHelper;
+import org.omg.CosTransactions.ResourcePOATie;
+
+public class ServiceImpl02 implements ServiceOperations
+{
+ public ServiceImpl02(int objectNumber)
+ {
+ _objectNumber = objectNumber;
+ }
+
+ public void oper(ResourceBehavior[] resource_behaviors)
+ {
+ _resourceImpl = new ResourceImpl01[resource_behaviors.length];
+ _resource = new Resource[resource_behaviors.length];
+
+ for (int index = 0; index < resource_behaviors.length; index++)
+ {
+ try
+ {
+ _resourceImpl[index] = new ResourceImpl01(_objectNumber, index, resource_behaviors[index]);
+ ResourcePOATie servant = new ResourcePOATie(_resourceImpl[index]);
+
+ OAInterface.objectIsReady(servant);
+ _resource[index] = ResourceHelper.narrow(OAInterface.corbaReference(servant));
+
+ try
+ {
+ OTS.current().get_control().get_coordinator().register_resource(_resource[index]);
+ _isCorrect = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("ServiceImpl02.oper: " + exception);
+ exception.printStackTrace(System.err);
+ _isCorrect = false;
+ }
+ }
+ }
+
+ public boolean is_correct()
+ {
+ return _isCorrect;
+ }
+
+ public ResourceTrace get_resource_trace(int resource_number)
+ {
+ if ((resource_number < 0) || (resource_number >= _resourceImpl.length))
+ {
+ return ResourceTrace.ResourceTraceUnknown;
+ }
+ else
+ {
+ return _resourceImpl[resource_number].getTrace();
+ }
+ }
+
+ private int _objectNumber;
+ private boolean _isCorrect = true;
+
+ private ResourceImpl01[] _resourceImpl = null;
+ private Resource[] _resource = null;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Servers/Server01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Servers/Server01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Servers/Server01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,94 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.RawResources01Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server01.java,v 1.2 2003/06/26 11:44:42 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server01.java,v 1.2 2003/06/26 11:44:42 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.RawResources01Impls.ServiceImpl01;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server01
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ ServiceImpl01 serviceImpl = new ServiceImpl01(0);
+ ServicePOATie servant = new ServicePOATie(serviceImpl);
+
+ OAInterface.objectIsReady(servant);
+ Service service = ServiceHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(service));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Servers/Server02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Servers/Server02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Servers/Server02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,100 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.RawResources01Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server02.java,v 1.2 2003/06/26 11:44:42 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server02.java,v 1.2 2003/06/26 11:44:42 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.RawResources01Impls.ServiceImpl01;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server02
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ ServiceImpl01 serviceImpl1 = new ServiceImpl01(0);
+ ServiceImpl01 serviceImpl2 = new ServiceImpl01(1);
+
+ ServicePOATie servant1 = new ServicePOATie(serviceImpl1);
+ ServicePOATie servant2 = new ServicePOATie(serviceImpl2);
+
+ OAInterface.objectIsReady(servant1);
+ OAInterface.objectIsReady(servant2);
+ Service service1 = ServiceHelper.narrow(OAInterface.corbaReference(servant1));
+ Service service2 = ServiceHelper.narrow(OAInterface.corbaReference(servant2));
+
+ ServerIORStore.storeIOR(args[args.length - 2], ORBInterface.orb().object_to_string(service1));
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(service2));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server02.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Servers/Server03.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Servers/Server03.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Servers/Server03.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,105 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.RawResources01Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server03.java,v 1.2 2003/06/26 11:44:42 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server03.java,v 1.2 2003/06/26 11:44:42 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.RawResources01Impls.ServiceImpl01;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server03
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ ServiceImpl01 serviceImpl1 = new ServiceImpl01(0);
+ ServiceImpl01 serviceImpl2 = new ServiceImpl01(1);
+ ServiceImpl01 serviceImpl3 = new ServiceImpl01(2);
+
+ ServicePOATie servant1 = new ServicePOATie(serviceImpl1);
+ ServicePOATie servant2 = new ServicePOATie(serviceImpl2);
+ ServicePOATie servant3 = new ServicePOATie(serviceImpl3);
+
+ OAInterface.objectIsReady(servant1);
+ OAInterface.objectIsReady(servant2);
+ OAInterface.objectIsReady(servant3);
+ Service service1 = ServiceHelper.narrow(OAInterface.corbaReference(servant1));
+ Service service2 = ServiceHelper.narrow(OAInterface.corbaReference(servant2));
+ Service service3 = ServiceHelper.narrow(OAInterface.corbaReference(servant3));
+
+ ServerIORStore.storeIOR(args[args.length - 3], ORBInterface.orb().object_to_string(service1));
+ ServerIORStore.storeIOR(args[args.length - 2], ORBInterface.orb().object_to_string(service2));
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(service3));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server03.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Servers/Server04.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Servers/Server04.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources01Servers/Server04.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,94 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.RawResources01Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server04.java,v 1.2 2003/06/26 11:44:42 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server04.java,v 1.2 2003/06/26 11:44:42 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources01.*;
+import org.jboss.jbossts.qa.RawResources01Impls.ServiceImpl02;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server04
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ ServiceImpl02 serviceImpl = new ServiceImpl02(0);
+ ServicePOATie servant = new ServicePOATie(serviceImpl);
+
+ OAInterface.objectIsReady(servant);
+ Service service = ServiceHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(service));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server04.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients1/Client001.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients1/Client001.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients1/Client001.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,137 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients1;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client001.java,v 1.3 2003/07/07 13:43:28 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client001.java,v 1.3 2003/07/07 13:43:28 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client001
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ ResourceBehavior[] resourceBehaviors = new ResourceBehavior[1];
+ resourceBehaviors[0] = new ResourceBehavior();
+ resourceBehaviors[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ OTS.current().rollback_only();
+
+ service.oper(resourceBehaviors, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service.is_correct();
+ if (!correct)
+ {
+ System.err.println("service.is_correct() returned false");
+ }
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client001.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client001.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients1/Client002.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients1/Client002.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients1/Client002.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,124 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients1;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client002.java,v 1.2 2003/06/26 11:44:42 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client002.java,v 1.2 2003/06/26 11:44:42 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client002
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ ResourceBehavior[] resourceBehaviors = new ResourceBehavior[1];
+ resourceBehaviors[0] = new ResourceBehavior();
+ resourceBehaviors[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service.oper(resourceBehaviors, OTS.current().get_control());
+
+ OTS.current().commit(true);
+
+ correct = service.is_correct();
+
+ correct = correct && (service.get_resource_trace(0) == ResourceTrace.ResourceTraceCommitOnePhase);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client002.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client002.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients1/Client003.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients1/Client003.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients1/Client003.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,137 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients1;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client003.java,v 1.3 2003/07/07 13:43:28 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client003.java,v 1.3 2003/07/07 13:43:28 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client003
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ ResourceBehavior[] resourceBehaviors = new ResourceBehavior[1];
+ resourceBehaviors[0] = new ResourceBehavior();
+ resourceBehaviors[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorRaiseHeuristicHazard;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service.oper(resourceBehaviors, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service.is_correct();
+ if (!correct)
+ {
+ System.err.println("service.is_correct() returned false");
+ }
+
+ correct = correct && (service.get_resource_trace(0) == ResourceTrace.ResourceTraceCommitOnePhaseForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client003.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client003.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients1/Client004.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients1/Client004.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients1/Client004.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,137 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients1;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client004.java,v 1.3 2003/07/07 13:43:28 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client004.java,v 1.3 2003/07/07 13:43:28 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client004
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ ResourceBehavior[] resourceBehaviors = new ResourceBehavior[1];
+ resourceBehaviors[0] = new ResourceBehavior();
+ resourceBehaviors[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorRaiseTransactionRolledback;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service.oper(resourceBehaviors, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service.is_correct();
+ if (!correct)
+ {
+ System.err.println("service.is_correct() returned false");
+ }
+
+ correct = correct && (service.get_resource_trace(0) == ResourceTrace.ResourceTraceCommitOnePhase);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client004.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client004.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients1/Client005.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients1/Client005.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients1/Client005.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,124 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients1;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client005.java,v 1.2 2003/06/26 11:44:43 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client005.java,v 1.2 2003/06/26 11:44:43 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client005
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ ResourceBehavior[] resourceBehaviors = new ResourceBehavior[1];
+ resourceBehaviors[0] = new ResourceBehavior();
+ resourceBehaviors[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service.oper(resourceBehaviors, OTS.current().get_control());
+
+ OTS.current().rollback();
+
+ correct = service.is_correct();
+
+ correct = correct && (service.get_resource_trace(0) == ResourceTrace.ResourceTraceRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client005.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client005.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients1/Client006.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients1/Client006.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients1/Client006.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,139 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients1;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client006.java,v 1.3 2003/07/07 13:43:28 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client006.java,v 1.3 2003/07/07 13:43:28 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client006
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ ResourceBehavior[] resourceBehaviors = new ResourceBehavior[1];
+ resourceBehaviors[0] = new ResourceBehavior();
+ resourceBehaviors[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service.oper(resourceBehaviors, OTS.current().get_control());
+
+ OTS.current().rollback_only();
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service.is_correct();
+ if (!correct)
+ {
+ System.err.println("service.is_correct() returned false");
+ }
+
+ correct = correct && (service.get_resource_trace(0) == ResourceTrace.ResourceTraceRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client006.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client006.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client001.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client001.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client001.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client001.java,v 1.3 2003/07/07 13:43:28 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client001.java,v 1.3 2003/07/07 13:43:28 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client001
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ OTS.current().commit(true);
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommit);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommit);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client001.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client001.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client002.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client002.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client002.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client002.java,v 1.3 2003/07/07 13:43:29 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client002.java,v 1.3 2003/07/07 13:43:29 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client002
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseNotPrepared;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommit);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommit);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client002.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client002.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client003.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client003.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client003.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,158 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client003.java,v 1.3 2003/07/07 13:43:29 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client003.java,v 1.3 2003/07/07 13:43:29 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client003
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicRollback;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommit);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommitForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client003.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client003.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client004.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client004.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client004.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client004.java,v 1.3 2003/07/07 13:43:29 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client004.java,v 1.3 2003/07/07 13:43:29 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client004
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommit);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommitForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client004.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client004.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client005.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client005.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client005.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client005.java,v 1.3 2003/07/07 13:43:29 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client005.java,v 1.3 2003/07/07 13:43:29 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client005
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommit);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommitForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client005.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client005.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client006.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client006.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client006.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client006.java,v 1.3 2003/07/07 13:43:29 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client006.java,v 1.3 2003/07/07 13:43:29 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client006
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseNotPrepared;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommit);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommit);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client006.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client006.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client007.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client007.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client007.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client007.java,v 1.3 2003/07/07 13:43:29 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client007.java,v 1.3 2003/07/07 13:43:29 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client007
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseNotPrepared;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseNotPrepared;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommit);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommit);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client007.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client007.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client008.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client008.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client008.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,154 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client008.java,v 1.3 2003/07/07 13:43:29 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client008.java,v 1.3 2003/07/07 13:43:29 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client008
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseNotPrepared;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicRollback;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommit);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommitForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client008.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client008.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client009.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client009.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client009.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client009.java,v 1.3 2003/07/07 13:43:29 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client009.java,v 1.3 2003/07/07 13:43:29 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client009
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseNotPrepared;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommit);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommitForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client009.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client009.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client010.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client010.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client010.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client010.java,v 1.3 2003/07/07 13:43:29 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client010.java,v 1.3 2003/07/07 13:43:29 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client010
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseNotPrepared;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommit);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommitForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client010.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client010.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client011.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client011.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client011.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client011.java,v 1.3 2003/07/07 13:43:29 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client011.java,v 1.3 2003/07/07 13:43:29 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client011
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicRollback;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommitForget);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommit);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client011.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client011.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client012.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client012.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client012.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client012.java,v 1.3 2003/07/07 13:43:29 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client012.java,v 1.3 2003/07/07 13:43:29 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client012
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicRollback;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseNotPrepared;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommitForget);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommit);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client012.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client012.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client013.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client013.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client013.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,154 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 2500,
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client013.java,v 1.3 2003/07/07 13:43:29 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client013.java,v 1.3 2003/07/07 13:43:29 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client013
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicRollback;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommitForget);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommitForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client013.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client013.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client014.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client014.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client014.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client014.java,v 1.3 2003/07/07 13:43:29 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client014.java,v 1.3 2003/07/07 13:43:29 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client014
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicRollback;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommitForget);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommitForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client014.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client014.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client015.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client015.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client015.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client015.java,v 1.3 2003/07/07 13:43:29 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client015.java,v 1.3 2003/07/07 13:43:29 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client015
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicRollback;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommitForget);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommitForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client015.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client015.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client016.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client016.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client016.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client016.java,v 1.3 2003/07/07 13:43:29 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client016.java,v 1.3 2003/07/07 13:43:29 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client016
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommitForget);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommit);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client016.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client016.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client017.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client017.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client017.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client017.java,v 1.3 2003/07/07 13:43:29 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client017.java,v 1.3 2003/07/07 13:43:29 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client017
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseNotPrepared;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommitForget);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommit);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client017.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client017.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client018.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client018.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client018.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,158 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 2500,
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client018.java,v 1.3 2003/07/07 13:43:29 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client018.java,v 1.3 2003/07/07 13:43:29 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client018
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicRollback;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommitForget);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommitForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client018.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client018.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client019.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client019.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client019.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client019.java,v 1.3 2003/07/07 13:43:29 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client019.java,v 1.3 2003/07/07 13:43:29 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client019
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommitForget);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommitForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client019.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client019.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client020.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client020.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client020.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client020.java,v 1.3 2003/07/07 13:43:29 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client020.java,v 1.3 2003/07/07 13:43:29 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client020
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommitForget);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommitForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client020.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client020.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client021.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client021.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client021.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client021.java,v 1.3 2003/07/07 13:43:29 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client021.java,v 1.3 2003/07/07 13:43:29 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client021
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommitForget);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommit);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client021.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client021.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client022.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client022.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client022.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client022.java,v 1.3 2003/07/07 13:43:29 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client022.java,v 1.3 2003/07/07 13:43:29 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client022
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseNotPrepared;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommitForget);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommit);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client022.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client022.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client023.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client023.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client023.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,154 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 2500,
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client023.java,v 1.3 2003/07/07 13:43:29 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client023.java,v 1.3 2003/07/07 13:43:29 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client023
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicRollback;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommitForget);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommitForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client023.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client023.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client024.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client024.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client024.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client024.java,v 1.3 2003/07/07 13:43:29 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client024.java,v 1.3 2003/07/07 13:43:29 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client024
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommitForget);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommitForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client024.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client024.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client025.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client025.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client025.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client025.java,v 1.3 2003/07/07 13:43:30 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client025.java,v 1.3 2003/07/07 13:43:30 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client025
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommitForget);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommitForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client025.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client025.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client026.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client026.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client026.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client026.java,v 1.3 2003/07/07 13:43:30 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client026.java,v 1.3 2003/07/07 13:43:30 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client026
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareRollback);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client026.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client026.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client027.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client027.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client027.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client027.java,v 1.3 2003/07/07 13:43:30 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client027.java,v 1.3 2003/07/07 13:43:30 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client027
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client027.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client027.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client028.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client028.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client028.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client028.java,v 1.3 2003/07/07 13:43:30 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client028.java,v 1.3 2003/07/07 13:43:30 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client028
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client028.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client028.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client029.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client029.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client029.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client029.java,v 1.3 2003/07/07 13:43:30 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client029.java,v 1.3 2003/07/07 13:43:30 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client029
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client029.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client029.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client030.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client030.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client030.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client030.java,v 1.3 2003/07/07 13:43:30 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client030.java,v 1.3 2003/07/07 13:43:30 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client030
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client030.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client030.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client031.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client031.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client031.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client031.java,v 1.3 2003/07/07 13:43:30 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client031.java,v 1.3 2003/07/07 13:43:30 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client031
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client031.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client031.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client032.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client032.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client032.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client032.java,v 1.3 2003/07/07 13:43:30 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client032.java,v 1.3 2003/07/07 13:43:30 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client032
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client032.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client032.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client033.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client033.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client033.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client033.java,v 1.3 2003/07/07 13:43:30 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client033.java,v 1.3 2003/07/07 13:43:30 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client033
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client033.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client033.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client034.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client034.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client034.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client034.java,v 1.3 2003/07/07 13:43:30 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client034.java,v 1.3 2003/07/07 13:43:30 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client034
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareRollback);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client034.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client034.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client035.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client035.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client035.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client035.java,v 1.3 2003/07/07 13:43:30 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client035.java,v 1.3 2003/07/07 13:43:30 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client035
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client035.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client035.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client036.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client036.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client036.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client036.java,v 1.3 2003/07/07 13:43:30 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client036.java,v 1.3 2003/07/07 13:43:30 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client036
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client036.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client036.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client037.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client037.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client037.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client037.java,v 1.3 2003/07/07 13:43:30 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client037.java,v 1.3 2003/07/07 13:43:30 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client037
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ // Expecting a HeuristicHazard exception when commit is called. MKS 17/06/2002
+ try
+ {
+ System.err.println("Commit transaction");
+ OTS.current().commit(true);
+ System.err.println("Transaction committed, did not get expected HeuristicHarzard exception - test fails");
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard e)
+ {
+ System.err.println("Got expected HeuristicHarzard exception");
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client037.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client037.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client038.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client038.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client038.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client038.java,v 1.3 2003/07/07 13:43:30 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client038.java,v 1.3 2003/07/07 13:43:30 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client038
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client038.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client038.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client039.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client039.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client039.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client039.java,v 1.3 2003/07/07 13:43:30 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client039.java,v 1.3 2003/07/07 13:43:30 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client039
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client039.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client039.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client040.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client040.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client040.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client040.java,v 1.3 2003/07/07 13:43:30 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client040.java,v 1.3 2003/07/07 13:43:30 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client040
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client040.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client040.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client041.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client041.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client041.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client041.java,v 1.3 2003/07/07 13:43:30 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client041.java,v 1.3 2003/07/07 13:43:30 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client041
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client041.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client041.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client042.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client042.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client042.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client042.java,v 1.3 2003/07/07 13:43:30 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client042.java,v 1.3 2003/07/07 13:43:30 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client042
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareRollback);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client042.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client042.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client043.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client043.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client043.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client043.java,v 1.3 2003/07/07 13:43:30 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client043.java,v 1.3 2003/07/07 13:43:30 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client043
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client043.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client043.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client044.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client044.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client044.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client044.java,v 1.3 2003/07/07 13:43:30 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client044.java,v 1.3 2003/07/07 13:43:30 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client044
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client044.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client044.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client045.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client045.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client045.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client045.java,v 1.3 2003/07/07 13:43:30 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client045.java,v 1.3 2003/07/07 13:43:30 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client045
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client045.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client045.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client046.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client046.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client046.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client046.java,v 1.3 2003/07/07 13:43:30 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client046.java,v 1.3 2003/07/07 13:43:30 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client046
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client046.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client046.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client047.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client047.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client047.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client047.java,v 1.3 2003/07/07 13:43:30 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client047.java,v 1.3 2003/07/07 13:43:30 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client047
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client047.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client047.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client048.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client048.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client048.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client048.java,v 1.3 2003/07/07 13:43:31 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client048.java,v 1.3 2003/07/07 13:43:31 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client048
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client048.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client048.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client049.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client049.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client049.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client049.java,v 1.3 2003/07/07 13:43:31 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client049.java,v 1.3 2003/07/07 13:43:31 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client049
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client049.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client049.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client050.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client050.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client050.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client050.java,v 1.3 2003/07/07 13:43:31 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client050.java,v 1.3 2003/07/07 13:43:31 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client050
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareRollback);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client050.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client050.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client051.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client051.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client051.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client051.java,v 1.3 2003/07/07 13:43:31 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client051.java,v 1.3 2003/07/07 13:43:31 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client051
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client051.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client051.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client052.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client052.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client052.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client052.java,v 1.3 2003/07/07 13:43:31 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client052.java,v 1.3 2003/07/07 13:43:31 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client052
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client052.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client052.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client053.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client053.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client053.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client053.java,v 1.3 2003/07/07 13:43:31 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client053.java,v 1.3 2003/07/07 13:43:31 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client053
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client053.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client053.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client054.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client054.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client054.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client054.java,v 1.3 2003/07/07 13:43:31 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client054.java,v 1.3 2003/07/07 13:43:31 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client054
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client054.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client054.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client055.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client055.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client055.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client055.java,v 1.3 2003/07/07 13:43:31 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client055.java,v 1.3 2003/07/07 13:43:31 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client055
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client055.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client055.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client056.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client056.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client056.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client056.java,v 1.3 2003/07/07 13:43:31 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client056.java,v 1.3 2003/07/07 13:43:31 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client056
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client056.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client056.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client057.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client057.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client057.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client057.java,v 1.3 2003/07/07 13:43:31 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client057.java,v 1.3 2003/07/07 13:43:31 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client057
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client057.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client057.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client058.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client058.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client058.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client058.java,v 1.3 2003/07/07 13:43:31 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client058.java,v 1.3 2003/07/07 13:43:31 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client058
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ OTS.current().commit(true);
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommit);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepare);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client058.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client058.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client059.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client059.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client059.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client059.java,v 1.3 2003/07/07 13:43:31 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client059.java,v 1.3 2003/07/07 13:43:31 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client059
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ OTS.current().commit(true);
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepare);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommit);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client059.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client059.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client060.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client060.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client060.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client060.java,v 1.3 2003/07/07 13:43:31 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client060.java,v 1.3 2003/07/07 13:43:31 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client060
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseNotPrepared;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommit);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepare);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client060.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client060.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client061.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client061.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client061.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client061.java,v 1.3 2003/07/07 13:43:31 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client061.java,v 1.3 2003/07/07 13:43:31 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client061
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseNotPrepared;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepare);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommit);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client061.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client061.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client062.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client062.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client062.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client062.java,v 1.3 2003/07/07 13:43:31 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client062.java,v 1.3 2003/07/07 13:43:31 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client062
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicRollback;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommitForget);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepare);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client062.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client062.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client063.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client063.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client063.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client063.java,v 1.3 2003/07/07 13:43:31 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client063.java,v 1.3 2003/07/07 13:43:31 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client063
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicRollback;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepare);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommitForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client063.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client063.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client064.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client064.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client064.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client064.java,v 1.3 2003/07/07 13:43:31 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client064.java,v 1.3 2003/07/07 13:43:31 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client064
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommitForget);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepare);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client064.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client064.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client065.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client065.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client065.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client065.java,v 1.3 2003/07/07 13:43:31 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client065.java,v 1.3 2003/07/07 13:43:31 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client065
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepare);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommitForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client065.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client065.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client066.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client066.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client066.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client066.java,v 1.3 2003/07/07 13:43:31 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client066.java,v 1.3 2003/07/07 13:43:31 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client066
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommitForget);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepare);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client066.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client066.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client067.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client067.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client067.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client067.java,v 1.3 2003/07/07 13:43:31 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client067.java,v 1.3 2003/07/07 13:43:31 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client067
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepare);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommitForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client067.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client067.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client068.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client068.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client068.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client068.java,v 1.3 2003/07/07 13:43:31 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client068.java,v 1.3 2003/07/07 13:43:31 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client068
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client068.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client068.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client069.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client069.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client069.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client069.java,v 1.3 2003/07/07 13:43:31 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client069.java,v 1.3 2003/07/07 13:43:31 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client069
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client069.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client069.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client070.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client070.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client070.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client070.java,v 1.3 2003/07/07 13:43:31 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client070.java,v 1.3 2003/07/07 13:43:31 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client070
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client070.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client070.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client071.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client071.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client071.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client071.java,v 1.3 2003/07/07 13:43:31 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client071.java,v 1.3 2003/07/07 13:43:31 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client071
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client071.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client071.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client072.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client072.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client072.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client072.java,v 1.3 2003/07/07 13:43:32 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client072.java,v 1.3 2003/07/07 13:43:32 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client072
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client072.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client072.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client073.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client073.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client073.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,155 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client073.java,v 1.3 2003/07/07 13:43:32 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client073.java,v 1.3 2003/07/07 13:43:32 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client073
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client073.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client073.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client074.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client074.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client074.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client074.java,v 1.3 2003/07/07 13:43:32 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client074.java,v 1.3 2003/07/07 13:43:32 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client074
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client074.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client074.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client075.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client075.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client075.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client075.java,v 1.3 2003/07/07 13:43:32 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client075.java,v 1.3 2003/07/07 13:43:32 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client075
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client075.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client075.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client076.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client076.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client076.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client076.java,v 1.3 2003/07/07 13:43:32 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client076.java,v 1.3 2003/07/07 13:43:32 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client076
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client076.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client076.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client077.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client077.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client077.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client077.java,v 1.3 2003/07/07 13:43:32 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client077.java,v 1.3 2003/07/07 13:43:32 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client077
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client077.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client077.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client078.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client078.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client078.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client078.java,v 1.3 2003/07/07 13:43:32 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client078.java,v 1.3 2003/07/07 13:43:32 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client078
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client078.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client078.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client079.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client079.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client079.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client079.java,v 1.3 2003/07/07 13:43:32 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client079.java,v 1.3 2003/07/07 13:43:32 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client079
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client079.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client079.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client080.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client080.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client080.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client080.java,v 1.3 2003/07/07 13:43:32 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client080.java,v 1.3 2003/07/07 13:43:32 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client080
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client080.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client080.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client081.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client081.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client081.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client081.java,v 1.3 2003/07/07 13:43:32 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client081.java,v 1.3 2003/07/07 13:43:32 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client081
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client081.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client081.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client082.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client082.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client082.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client082.java,v 1.3 2003/07/07 13:43:32 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client082.java,v 1.3 2003/07/07 13:43:32 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client082
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client082.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client082.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client083.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client083.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client083.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client083.java,v 1.3 2003/07/07 13:43:32 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client083.java,v 1.3 2003/07/07 13:43:32 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client083
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client083.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client083.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client084.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client084.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client084.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client084.java,v 1.3 2003/07/07 13:43:32 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client084.java,v 1.3 2003/07/07 13:43:32 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client084
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ OTS.current().commit(true);
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepare);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepare);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client084.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client084.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client085.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client085.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client085.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client085.java,v 1.3 2003/07/07 13:43:32 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client085.java,v 1.3 2003/07/07 13:43:32 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client085
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareRollback);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepare) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client085.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client085.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client086.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client086.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client086.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client086.java,v 1.3 2003/07/07 13:43:32 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client086.java,v 1.3 2003/07/07 13:43:32 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client086
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepare) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client086.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client086.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client087.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client087.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client087.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,161 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client087.java,v 1.3 2003/07/07 13:43:32 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client087.java,v 1.3 2003/07/07 13:43:32 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client087
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ ResourceTrace expectedResourceTrace2 = ResourceTrace.ResourceTraceUnknown;
+
+ try
+ {
+ OTS.current().commit(true);
+
+ expectedResourceTrace2 = ResourceTrace.ResourceTracePrepare;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ expectedResourceTrace2 = ResourceTrace.ResourceTraceRollback;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ expectedResourceTrace2 = ResourceTrace.ResourceTraceRollback;
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget);
+ correct = correct && (resourceTrace2 == expectedResourceTrace2);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client087.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client087.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client088.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client088.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client088.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,159 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client088.java,v 1.2 2003/06/26 11:44:46 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client088.java,v 1.2 2003/06/26 11:44:46 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client088
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ System.err.println("begin transaction");
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ ResourceTrace expectedResourceTrace1 = ResourceTrace.ResourceTracePrepare;
+
+ try
+ {
+ System.err.println("commit transaction");
+ OTS.current().commit(true);
+ System.err.println("transaction committed, no HeuristicHazard exception thrown - test failed");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ // No exception used to be thrown, but this has been changed to HeuristicHazard from TeT 2.2.2.
+ // MKS 17/06/2002
+ System.err.println("expected HeuristicHazard exception thrown");
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == expectedResourceTrace1);
+ System.err.println("resourceTrace1 = " + resourceTrace1.value());
+
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget);
+ System.err.println("resourceTrace2 = " + resourceTrace2.value());
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client088.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client088.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client089.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client089.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client089.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client089.java,v 1.3 2003/07/07 13:43:32 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client089.java,v 1.3 2003/07/07 13:43:32 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client089
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepare) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client089.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client089.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client090.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client090.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client090.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client090.java,v 1.3 2003/07/07 13:43:32 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client090.java,v 1.3 2003/07/07 13:43:32 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client090
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepare) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client090.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client090.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client091.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client091.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client091.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client091.java,v 1.3 2003/07/07 13:43:32 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client091.java,v 1.3 2003/07/07 13:43:32 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client091
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepare) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client091.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client091.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client092.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client092.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client092.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client092.java,v 1.3 2003/07/07 13:43:32 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client092.java,v 1.3 2003/07/07 13:43:32 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client092
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepare) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client092.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client092.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client093.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client093.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client093.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client093.java,v 1.3 2003/07/07 13:43:32 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client093.java,v 1.3 2003/07/07 13:43:32 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client093
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareForget);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client093.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client093.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client094.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client094.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client094.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client094.java,v 1.3 2003/07/07 13:43:32 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client094.java,v 1.3 2003/07/07 13:43:32 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client094
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareForget);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client094.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client094.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client095.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client095.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client095.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client095.java,v 1.3 2003/07/07 13:43:32 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client095.java,v 1.3 2003/07/07 13:43:32 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client095
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareForget);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client095.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client095.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client096.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client096.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client096.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client096.java,v 1.3 2003/07/07 13:43:32 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client096.java,v 1.3 2003/07/07 13:43:32 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client096
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareForget);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client096.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client096.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client097.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client097.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client097.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client097.java,v 1.3 2003/07/07 13:43:33 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client097.java,v 1.3 2003/07/07 13:43:33 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client097
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client097.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client097.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client098.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client098.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client098.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client098.java,v 1.3 2003/07/07 13:43:33 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client098.java,v 1.3 2003/07/07 13:43:33 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client098
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client098.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client098.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client099.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client099.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client099.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client099.java,v 1.3 2003/07/07 13:43:33 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client099.java,v 1.3 2003/07/07 13:43:33 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client099
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client099.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client099.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client100.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client100.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client100.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client100.java,v 1.3 2003/07/07 13:43:33 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client100.java,v 1.3 2003/07/07 13:43:33 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client100
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client100.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client100.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client101.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client101.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client101.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client101.java,v 1.3 2003/07/07 13:43:33 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client101.java,v 1.3 2003/07/07 13:43:33 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client101
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareForget);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client101.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client101.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client102.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client102.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client102.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client102.java,v 1.3 2003/07/07 13:43:33 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client102.java,v 1.3 2003/07/07 13:43:33 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client102
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareForget);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client102.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client102.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client103.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client103.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client103.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client103.java,v 1.3 2003/07/07 13:43:33 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client103.java,v 1.3 2003/07/07 13:43:33 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client103
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareForget);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client103.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client103.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client104.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client104.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client104.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client104.java,v 1.3 2003/07/07 13:43:33 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client104.java,v 1.3 2003/07/07 13:43:33 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client104
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareForget);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client104.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client104.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client105.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client105.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client105.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client105.java,v 1.3 2003/07/07 13:43:33 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client105.java,v 1.3 2003/07/07 13:43:33 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client105
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client105.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client105.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client106.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client106.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client106.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client106.java,v 1.3 2003/07/07 13:43:33 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client106.java,v 1.3 2003/07/07 13:43:33 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client106
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client106.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client106.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client107.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client107.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client107.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client107.java,v 1.3 2003/07/07 13:43:33 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client107.java,v 1.3 2003/07/07 13:43:33 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client107
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client107.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client107.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client108.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client108.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client108.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client108.java,v 1.3 2003/07/07 13:43:33 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client108.java,v 1.3 2003/07/07 13:43:33 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client108
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client108.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client108.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client109.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client109.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client109.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,161 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client109.java,v 1.3 2003/07/07 13:43:33 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client109.java,v 1.3 2003/07/07 13:43:33 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client109
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client109.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client109.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client110.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client110.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client110.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,161 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client110.java,v 1.3 2003/07/07 13:43:33 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client110.java,v 1.3 2003/07/07 13:43:33 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client110
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client110.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client110.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client111.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client111.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client111.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,161 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client111.java,v 1.3 2003/07/07 13:43:33 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client111.java,v 1.3 2003/07/07 13:43:33 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client111
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client111.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client111.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client112.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client112.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client112.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,161 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client112.java,v 1.3 2003/07/07 13:43:33 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client112.java,v 1.3 2003/07/07 13:43:33 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client112
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client112.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client112.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client113.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client113.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client113.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client113.java,v 1.3 2003/07/07 13:43:33 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client113.java,v 1.3 2003/07/07 13:43:33 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client113
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client113.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client113.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client114.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client114.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client114.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,161 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client114.java,v 1.3 2003/07/07 13:43:33 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client114.java,v 1.3 2003/07/07 13:43:33 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client114
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client114.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client114.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client115.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client115.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client115.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,161 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client115.java,v 1.3 2003/07/07 13:43:33 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client115.java,v 1.3 2003/07/07 13:43:33 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client115
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client115.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client115.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client116.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client116.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client116.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client116.java,v 1.3 2003/07/07 13:43:33 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client116.java,v 1.3 2003/07/07 13:43:33 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client116
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client116.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client116.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client117.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client117.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client117.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client117.java,v 1.3 2003/07/07 13:43:33 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client117.java,v 1.3 2003/07/07 13:43:33 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client117
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client117.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client117.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client118.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client118.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client118.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client118.java,v 1.3 2003/07/07 13:43:33 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client118.java,v 1.3 2003/07/07 13:43:33 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client118
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client118.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client118.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client119.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client119.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client119.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client119.java,v 1.3 2003/07/07 13:43:33 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client119.java,v 1.3 2003/07/07 13:43:33 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client119
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client119.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client119.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client120.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client120.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client120.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client120.java,v 1.3 2003/07/07 13:43:33 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client120.java,v 1.3 2003/07/07 13:43:33 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client120
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client120.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client120.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client121.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client121.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client121.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client121.java,v 1.3 2003/07/07 13:43:33 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client121.java,v 1.3 2003/07/07 13:43:33 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client121
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client121.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client121.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client122.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client122.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client122.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,161 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client122.java,v 1.3 2003/07/07 13:43:34 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client122.java,v 1.3 2003/07/07 13:43:34 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client122
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client122.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client122.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client123.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client123.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client123.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client123.java,v 1.3 2003/07/07 13:43:34 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client123.java,v 1.3 2003/07/07 13:43:34 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client123
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client123.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client123.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client124.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client124.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client124.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client124.java,v 1.3 2003/07/07 13:43:34 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client124.java,v 1.3 2003/07/07 13:43:34 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client124
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client124.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client124.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client125.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client125.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client125.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client125.java,v 1.3 2003/07/07 13:43:34 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client125.java,v 1.3 2003/07/07 13:43:34 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client125
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareForget);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client125.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client125.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client126.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client126.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client126.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client126.java,v 1.3 2003/07/07 13:43:34 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client126.java,v 1.3 2003/07/07 13:43:34 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client126
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareForget);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client126.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client126.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client127.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client127.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client127.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client127.java,v 1.3 2003/07/07 13:43:34 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client127.java,v 1.3 2003/07/07 13:43:34 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client127
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareForget);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client127.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client127.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client128.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client128.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client128.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client128.java,v 1.3 2003/07/07 13:43:34 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client128.java,v 1.3 2003/07/07 13:43:34 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client128
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareForget);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client128.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client128.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client129.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client129.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client129.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client129.java,v 1.3 2003/07/07 13:43:34 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client129.java,v 1.3 2003/07/07 13:43:34 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client129
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepare) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client129.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client129.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client130.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client130.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client130.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client130.java,v 1.3 2003/07/07 13:43:34 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client130.java,v 1.3 2003/07/07 13:43:34 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client130
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepare) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client130.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client130.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client131.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client131.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client131.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client131.java,v 1.3 2003/07/07 13:43:34 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client131.java,v 1.3 2003/07/07 13:43:34 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client131
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepare) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client131.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client131.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client132.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client132.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client132.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client132.java,v 1.3 2003/07/07 13:43:34 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client132.java,v 1.3 2003/07/07 13:43:34 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client132
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepare) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client132.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client132.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client133.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client133.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client133.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client133.java,v 1.3 2003/07/07 13:43:34 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client133.java,v 1.3 2003/07/07 13:43:34 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client133
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareForget);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client133.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client133.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client134.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client134.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client134.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client134.java,v 1.3 2003/07/07 13:43:34 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client134.java,v 1.3 2003/07/07 13:43:34 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client134
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareForget);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client134.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client134.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client135.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client135.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client135.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client135.java,v 1.3 2003/07/07 13:43:34 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client135.java,v 1.3 2003/07/07 13:43:34 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client135
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareForget);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client135.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client135.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client136.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client136.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client136.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client136.java,v 1.3 2003/07/07 13:43:34 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client136.java,v 1.3 2003/07/07 13:43:34 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client136
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareForget);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollbackForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client136.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client136.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client137.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client137.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client137.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client137.java,v 1.3 2003/07/07 13:43:34 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client137.java,v 1.3 2003/07/07 13:43:34 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client137
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepare) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client137.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client137.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client138.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client138.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client138.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client138.java,v 1.3 2003/07/07 13:43:34 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client138.java,v 1.3 2003/07/07 13:43:34 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client138
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepare) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client138.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client138.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client139.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client139.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client139.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client139.java,v 1.3 2003/07/07 13:43:34 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client139.java,v 1.3 2003/07/07 13:43:34 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client139
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepare) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client139.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client139.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client140.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client140.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client140.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,153 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client140.java,v 1.3 2003/07/07 13:43:34 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client140.java,v 1.3 2003/07/07 13:43:34 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+
+public class Client140
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepare) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareForget);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client140.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client140.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client141.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client141.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client141.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client141.java,v 1.3 2003/07/07 13:43:34 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client141.java,v 1.3 2003/07/07 13:43:34 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client141
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client141.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client141.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client142.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client142.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client142.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client142.java,v 1.3 2003/07/07 13:43:34 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client142.java,v 1.3 2003/07/07 13:43:34 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client142
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicMixed;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client142.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client142.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client143.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client143.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client143.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client143.java,v 1.3 2003/07/07 13:43:35 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client143.java,v 1.3 2003/07/07 13:43:35 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client143
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicMixed;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client143.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client143.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client144.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client144.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client144.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client144.java,v 1.3 2003/07/07 13:43:35 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client144.java,v 1.3 2003/07/07 13:43:35 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CosTransactions.HeuristicHazard;
+import org.omg.CosTransactions.HeuristicMixed;
+
+public class Client144
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicHazard;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorRaiseHeuristicHazard;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (HeuristicMixed heuristicMixed)
+ {
+ }
+ catch (HeuristicHazard heuristicHazard)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareForget) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareForget) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client144.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client144.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client145.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client145.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client145.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,144 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client145.java,v 1.3 2003/07/07 13:43:35 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client145.java,v 1.3 2003/07/07 13:43:35 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client145
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ OTS.current().rollback();
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceRollback);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client145.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client145.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client146.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client146.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client146.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,155 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client146.java,v 1.3 2003/07/07 13:43:35 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client146.java,v 1.3 2003/07/07 13:43:35 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client146
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ OTS.current().rollback_only();
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceRollback);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client146.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client146.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client147.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client147.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client147.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,155 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client147.java,v 1.3 2003/07/07 13:43:35 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client147.java,v 1.3 2003/07/07 13:43:35 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client147
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ OTS.current().rollback_only();
+
+ try
+ {
+ OTS.current().commit(false);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceRollback);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client147.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client147.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client148.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client148.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients2/Client148.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,142 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client148.java,v 1.3 2003/07/07 13:43:35 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client148.java,v 1.3 2003/07/07 13:43:35 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client148
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ OTS.current().commit(true);
+
+ correct = correct && service1.is_correct() && service2.is_correct();
+ if (!correct)
+ {
+ System.err.println("service1.is_correct() or service2.is_correct() returned false");
+ }
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommit);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommit);
+
+ System.out.println("Failed");
+ }
+ catch (org.omg.CORBA.TRANSACTION_ROLLEDBACK exception)
+ {
+ exception.printStackTrace(System.err);
+ System.out.println("Passed");
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client001.main: " + exception);
+ exception.printStackTrace(System.err);
+ System.out.println("Failed");
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client001.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client001.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client001.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client001.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,154 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client001.java,v 1.2 2003/06/26 11:44:56 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client001.java,v 1.2 2003/06/26 11:44:56 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client001
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors3 = new ResourceBehavior[1];
+ resourceBehaviors3[0] = new ResourceBehavior();
+ resourceBehaviors3[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors3[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors3[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors3[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ service3.oper(resourceBehaviors3, OTS.current().get_control());
+
+ OTS.current().commit(true);
+
+ correct = correct && service1.is_correct() && service2.is_correct() && service3.is_correct();
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+ ResourceTrace resourceTrace3 = service3.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommit);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommit);
+ correct = correct && (resourceTrace3 == ResourceTrace.ResourceTracePrepareCommit);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client001.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client001.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client002.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client002.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client002.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,163 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client002.java,v 1.3 2003/07/07 13:43:42 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client002.java,v 1.3 2003/07/07 13:43:42 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client002
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors3 = new ResourceBehavior[1];
+ resourceBehaviors3[0] = new ResourceBehavior();
+ resourceBehaviors3[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors3[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors3[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors3[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ service3.oper(resourceBehaviors3, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct() && service3.is_correct();
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+ ResourceTrace resourceTrace3 = service3.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareRollback);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace3 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace3 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client002.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client002.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client003.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client003.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client003.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,154 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client003.java,v 1.2 2003/06/26 11:44:56 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client003.java,v 1.2 2003/06/26 11:44:56 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client003
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors3 = new ResourceBehavior[1];
+ resourceBehaviors3[0] = new ResourceBehavior();
+ resourceBehaviors3[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors3[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors3[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors3[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ service3.oper(resourceBehaviors3, OTS.current().get_control());
+
+ OTS.current().commit(true);
+
+ correct = correct && service1.is_correct() && service2.is_correct() && service3.is_correct();
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+ ResourceTrace resourceTrace3 = service3.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepare);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommit);
+ correct = correct && (resourceTrace3 == ResourceTrace.ResourceTracePrepareCommit);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client003.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client003.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client004.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client004.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client004.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,163 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client004.java,v 1.3 2003/07/07 13:43:42 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client004.java,v 1.3 2003/07/07 13:43:42 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client004
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors3 = new ResourceBehavior[1];
+ resourceBehaviors3[0] = new ResourceBehavior();
+ resourceBehaviors3[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors3[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors3[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors3[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ service3.oper(resourceBehaviors3, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct() && service3.is_correct();
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+ ResourceTrace resourceTrace3 = service3.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback);
+ correct = correct && ((resourceTrace3 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace3 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client004.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client004.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client005.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client005.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client005.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,163 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client005.java,v 1.3 2003/07/07 13:43:42 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client005.java,v 1.3 2003/07/07 13:43:42 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client005
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors3 = new ResourceBehavior[1];
+ resourceBehaviors3[0] = new ResourceBehavior();
+ resourceBehaviors3[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors3[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors3[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors3[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ service3.oper(resourceBehaviors3, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct() && service3.is_correct();
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+ ResourceTrace resourceTrace3 = service3.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace3 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace3 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client005.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client005.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client006.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client006.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client006.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,163 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client006.java,v 1.3 2003/07/07 13:43:42 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client006.java,v 1.3 2003/07/07 13:43:42 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client006
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors3 = new ResourceBehavior[1];
+ resourceBehaviors3[0] = new ResourceBehavior();
+ resourceBehaviors3[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors3[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors3[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors3[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ service3.oper(resourceBehaviors3, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct() && service3.is_correct();
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+ ResourceTrace resourceTrace3 = service3.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepare) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback);
+ correct = correct && ((resourceTrace3 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace3 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client006.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client006.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client007.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client007.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client007.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,154 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client007.java,v 1.2 2003/06/26 11:44:56 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client007.java,v 1.2 2003/06/26 11:44:56 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client007
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors3 = new ResourceBehavior[1];
+ resourceBehaviors3[0] = new ResourceBehavior();
+ resourceBehaviors3[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors3[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors3[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors3[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ service3.oper(resourceBehaviors3, OTS.current().get_control());
+
+ OTS.current().commit(true);
+
+ correct = correct && service1.is_correct() && service2.is_correct() && service3.is_correct();
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+ ResourceTrace resourceTrace3 = service3.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommit);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepare);
+ correct = correct && (resourceTrace3 == ResourceTrace.ResourceTracePrepareCommit);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client007.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client007.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client008.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client008.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client008.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,163 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client008.java,v 1.3 2003/07/07 13:43:42 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client008.java,v 1.3 2003/07/07 13:43:42 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client008
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors3 = new ResourceBehavior[1];
+ resourceBehaviors3[0] = new ResourceBehavior();
+ resourceBehaviors3[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors3[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors3[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors3[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ service3.oper(resourceBehaviors3, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct() && service3.is_correct();
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+ ResourceTrace resourceTrace3 = service3.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareRollback);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepare) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace3 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace3 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client008.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client008.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client009.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client009.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client009.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,154 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client009.java,v 1.2 2003/06/26 11:44:56 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client009.java,v 1.2 2003/06/26 11:44:56 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client009
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors3 = new ResourceBehavior[1];
+ resourceBehaviors3[0] = new ResourceBehavior();
+ resourceBehaviors3[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors3[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors3[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors3[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ service3.oper(resourceBehaviors3, OTS.current().get_control());
+
+ OTS.current().commit(true);
+
+ correct = correct && service1.is_correct() && service2.is_correct() && service3.is_correct();
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+ ResourceTrace resourceTrace3 = service3.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepare);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepare);
+ correct = correct && (resourceTrace3 == ResourceTrace.ResourceTracePrepareCommit);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client009.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client009.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client010.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client010.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client010.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,163 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client010.java,v 1.3 2003/07/07 13:43:42 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client010.java,v 1.3 2003/07/07 13:43:42 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client010
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors3 = new ResourceBehavior[1];
+ resourceBehaviors3[0] = new ResourceBehavior();
+ resourceBehaviors3[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors3[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors3[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors3[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ service3.oper(resourceBehaviors3, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct() && service3.is_correct();
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+ ResourceTrace resourceTrace3 = service3.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace3 == ResourceTrace.ResourceTracePrepareRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client010.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client010.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client011.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client011.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client011.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,163 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client011.java,v 1.3 2003/07/07 13:43:42 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client011.java,v 1.3 2003/07/07 13:43:42 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client011
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors3 = new ResourceBehavior[1];
+ resourceBehaviors3[0] = new ResourceBehavior();
+ resourceBehaviors3[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors3[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors3[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors3[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ service3.oper(resourceBehaviors3, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct() && service3.is_correct();
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+ ResourceTrace resourceTrace3 = service3.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace3 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace3 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client011.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client011.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client012.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client012.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client012.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,163 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client012.java,v 1.3 2003/07/07 13:43:42 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client012.java,v 1.3 2003/07/07 13:43:42 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client012
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors3 = new ResourceBehavior[1];
+ resourceBehaviors3[0] = new ResourceBehavior();
+ resourceBehaviors3[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors3[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors3[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors3[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ service3.oper(resourceBehaviors3, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct() && service3.is_correct();
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+ ResourceTrace resourceTrace3 = service3.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepare) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace3 == ResourceTrace.ResourceTracePrepareRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client012.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client012.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client013.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client013.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client013.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,163 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client013.java,v 1.3 2003/07/07 13:43:42 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client013.java,v 1.3 2003/07/07 13:43:42 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client013
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors3 = new ResourceBehavior[1];
+ resourceBehaviors3[0] = new ResourceBehavior();
+ resourceBehaviors3[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors3[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors3[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors3[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ service3.oper(resourceBehaviors3, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct() && service3.is_correct();
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+ ResourceTrace resourceTrace3 = service3.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace3 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace3 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client013.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client013.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client014.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client014.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client014.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,163 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client014.java,v 1.3 2003/07/07 13:43:42 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client014.java,v 1.3 2003/07/07 13:43:42 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client014
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors3 = new ResourceBehavior[1];
+ resourceBehaviors3[0] = new ResourceBehavior();
+ resourceBehaviors3[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors3[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors3[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors3[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ service3.oper(resourceBehaviors3, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct() && service3.is_correct();
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+ ResourceTrace resourceTrace3 = service3.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace3 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace3 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client014.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client014.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client015.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client015.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client015.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,163 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client015.java,v 1.3 2003/07/07 13:43:42 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client015.java,v 1.3 2003/07/07 13:43:42 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client015
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors3 = new ResourceBehavior[1];
+ resourceBehaviors3[0] = new ResourceBehavior();
+ resourceBehaviors3[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors3[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors3[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors3[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ service3.oper(resourceBehaviors3, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct() && service3.is_correct();
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+ ResourceTrace resourceTrace3 = service3.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepare) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace3 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace3 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client015.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client015.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client016.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client016.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client016.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,163 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client016.java,v 1.3 2003/07/07 13:43:42 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client016.java,v 1.3 2003/07/07 13:43:42 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client016
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors3 = new ResourceBehavior[1];
+ resourceBehaviors3[0] = new ResourceBehavior();
+ resourceBehaviors3[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors3[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors3[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors3[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ service3.oper(resourceBehaviors3, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct() && service3.is_correct();
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+ ResourceTrace resourceTrace3 = service3.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepare) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace3 == ResourceTrace.ResourceTracePrepareRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client016.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client016.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client017.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client017.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client017.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,163 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client017.java,v 1.3 2003/07/07 13:43:42 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client017.java,v 1.3 2003/07/07 13:43:42 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client017
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors3 = new ResourceBehavior[1];
+ resourceBehaviors3[0] = new ResourceBehavior();
+ resourceBehaviors3[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors3[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors3[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors3[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ service3.oper(resourceBehaviors3, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct() && service3.is_correct();
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+ ResourceTrace resourceTrace3 = service3.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepare) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace3 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace3 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client017.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client017.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client018.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client018.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client018.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,163 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client018.java,v 1.3 2003/07/07 13:43:42 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client018.java,v 1.3 2003/07/07 13:43:42 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client018
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors3 = new ResourceBehavior[1];
+ resourceBehaviors3[0] = new ResourceBehavior();
+ resourceBehaviors3[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors3[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors3[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors3[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ service3.oper(resourceBehaviors3, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct() && service3.is_correct();
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+ ResourceTrace resourceTrace3 = service3.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepare) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepare) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace3 == ResourceTrace.ResourceTracePrepareRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client018.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client018.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client019.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client019.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client019.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,154 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client019.java,v 1.2 2003/06/26 11:44:56 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client019.java,v 1.2 2003/06/26 11:44:56 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client019
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors3 = new ResourceBehavior[1];
+ resourceBehaviors3[0] = new ResourceBehavior();
+ resourceBehaviors3[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors3[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors3[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors3[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ service3.oper(resourceBehaviors3, OTS.current().get_control());
+
+ OTS.current().commit(true);
+
+ correct = correct && service1.is_correct() && service2.is_correct() && service3.is_correct();
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+ ResourceTrace resourceTrace3 = service3.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommit);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommit);
+ correct = correct && (resourceTrace3 == ResourceTrace.ResourceTracePrepare);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client019.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client019.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client020.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client020.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client020.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,163 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client020.java,v 1.3 2003/07/07 13:43:42 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client020.java,v 1.3 2003/07/07 13:43:42 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client020
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors3 = new ResourceBehavior[1];
+ resourceBehaviors3[0] = new ResourceBehavior();
+ resourceBehaviors3[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors3[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors3[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors3[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ service3.oper(resourceBehaviors3, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct() && service3.is_correct();
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+ ResourceTrace resourceTrace3 = service3.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareRollback);
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace3 == ResourceTrace.ResourceTracePrepare) || (resourceTrace3 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client020.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client020.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client021.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client021.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client021.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,154 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client021.java,v 1.2 2003/06/26 11:44:56 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client021.java,v 1.2 2003/06/26 11:44:56 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client021
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors3 = new ResourceBehavior[1];
+ resourceBehaviors3[0] = new ResourceBehavior();
+ resourceBehaviors3[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors3[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors3[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors3[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ service3.oper(resourceBehaviors3, OTS.current().get_control());
+
+ OTS.current().commit(true);
+
+ correct = correct && service1.is_correct() && service2.is_correct() && service3.is_correct();
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+ ResourceTrace resourceTrace3 = service3.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepare);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareCommit);
+ correct = correct && (resourceTrace3 == ResourceTrace.ResourceTracePrepare);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client021.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client021.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client022.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client022.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client022.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,163 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client022.java,v 1.3 2003/07/07 13:43:42 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client022.java,v 1.3 2003/07/07 13:43:42 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client022
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors3 = new ResourceBehavior[1];
+ resourceBehaviors3[0] = new ResourceBehavior();
+ resourceBehaviors3[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors3[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors3[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors3[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ service3.oper(resourceBehaviors3, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct() && service3.is_correct();
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+ ResourceTrace resourceTrace3 = service3.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback);
+ correct = correct && ((resourceTrace3 == ResourceTrace.ResourceTracePrepare) || (resourceTrace3 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client022.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client022.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client023.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client023.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client023.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,163 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client023.java,v 1.3 2003/07/07 13:43:42 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client023.java,v 1.3 2003/07/07 13:43:42 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client023
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors3 = new ResourceBehavior[1];
+ resourceBehaviors3[0] = new ResourceBehavior();
+ resourceBehaviors3[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors3[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors3[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors3[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ service3.oper(resourceBehaviors3, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct() && service3.is_correct();
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+ ResourceTrace resourceTrace3 = service3.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace3 == ResourceTrace.ResourceTracePrepare) || (resourceTrace3 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client023.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client023.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client024.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client024.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client024.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,163 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client024.java,v 1.3 2003/07/07 13:43:42 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client024.java,v 1.3 2003/07/07 13:43:42 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client024
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors3 = new ResourceBehavior[1];
+ resourceBehaviors3[0] = new ResourceBehavior();
+ resourceBehaviors3[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors3[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors3[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors3[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ service3.oper(resourceBehaviors3, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct() && service3.is_correct();
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+ ResourceTrace resourceTrace3 = service3.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepare) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepareRollback);
+ correct = correct && ((resourceTrace3 == ResourceTrace.ResourceTracePrepare) || (resourceTrace3 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client024.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client024.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client025.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client025.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client025.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,154 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client025.java,v 1.2 2003/06/26 11:44:57 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client025.java,v 1.2 2003/06/26 11:44:57 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client025
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors3 = new ResourceBehavior[1];
+ resourceBehaviors3[0] = new ResourceBehavior();
+ resourceBehaviors3[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors3[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors3[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors3[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ service3.oper(resourceBehaviors3, OTS.current().get_control());
+
+ OTS.current().commit(true);
+
+ correct = correct && service1.is_correct() && service2.is_correct() && service3.is_correct();
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+ ResourceTrace resourceTrace3 = service3.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepareCommit);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepare);
+ correct = correct && (resourceTrace3 == ResourceTrace.ResourceTracePrepare);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client025.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client025.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client026.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client026.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client026.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,163 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client026.java,v 1.3 2003/07/07 13:43:42 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client026.java,v 1.3 2003/07/07 13:43:42 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client026
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteRollback;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors3 = new ResourceBehavior[1];
+ resourceBehaviors3[0] = new ResourceBehavior();
+ resourceBehaviors3[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors3[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors3[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors3[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ service3.oper(resourceBehaviors3, OTS.current().get_control());
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct() && service3.is_correct();
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+ ResourceTrace resourceTrace3 = service3.get_resource_trace(0);
+
+ correct = correct && ((resourceTrace1 == ResourceTrace.ResourceTracePrepareRollback) || (resourceTrace1 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace2 == ResourceTrace.ResourceTracePrepare) || (resourceTrace2 == ResourceTrace.ResourceTraceRollback));
+ correct = correct && ((resourceTrace3 == ResourceTrace.ResourceTracePrepare) || (resourceTrace3 == ResourceTrace.ResourceTraceRollback));
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client026.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client026.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client027.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client027.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client027.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,154 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client027.java,v 1.2 2003/06/26 11:44:57 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client027.java,v 1.2 2003/06/26 11:44:57 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client027
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors3 = new ResourceBehavior[1];
+ resourceBehaviors3[0] = new ResourceBehavior();
+ resourceBehaviors3[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteReadOnly;
+ resourceBehaviors3[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors3[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors3[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ service3.oper(resourceBehaviors3, OTS.current().get_control());
+
+ OTS.current().commit(true);
+
+ correct = correct && service1.is_correct() && service2.is_correct() && service3.is_correct();
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+ ResourceTrace resourceTrace3 = service3.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTracePrepare);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTracePrepare);
+ correct = correct && (resourceTrace3 == ResourceTrace.ResourceTracePrepare);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client027.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client027.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client028.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client028.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client028.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,154 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client028.java,v 1.2 2003/06/26 11:44:57 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client028.java,v 1.2 2003/06/26 11:44:57 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client028
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors3 = new ResourceBehavior[1];
+ resourceBehaviors3[0] = new ResourceBehavior();
+ resourceBehaviors3[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors3[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors3[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors3[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ service3.oper(resourceBehaviors3, OTS.current().get_control());
+
+ OTS.current().rollback();
+
+ correct = correct && service1.is_correct() && service2.is_correct() && service3.is_correct();
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+ ResourceTrace resourceTrace3 = service3.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceRollback);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceRollback);
+ correct = correct && (resourceTrace3 == ResourceTrace.ResourceTraceRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client028.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client028.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client029.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client029.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client029.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,165 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client029.java,v 1.3 2003/07/07 13:43:42 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client029.java,v 1.3 2003/07/07 13:43:42 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client029
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors3 = new ResourceBehavior[1];
+ resourceBehaviors3[0] = new ResourceBehavior();
+ resourceBehaviors3[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors3[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors3[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors3[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ service3.oper(resourceBehaviors3, OTS.current().get_control());
+
+ OTS.current().rollback_only();
+
+ try
+ {
+ OTS.current().commit(true);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct() && service3.is_correct();
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+ ResourceTrace resourceTrace3 = service3.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceRollback);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceRollback);
+ correct = correct && (resourceTrace3 == ResourceTrace.ResourceTraceRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client029.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client029.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client030.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client030.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Clients3/Client030.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,165 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawResources02Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client030.java,v 1.3 2003/07/07 13:43:42 jcoleman Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client030.java,v 1.3 2003/07/07 13:43:42 jcoleman Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client030
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ ResourceBehavior[] resourceBehaviors1 = new ResourceBehavior[1];
+ resourceBehaviors1[0] = new ResourceBehavior();
+ resourceBehaviors1[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors1[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors1[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors1[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors2 = new ResourceBehavior[1];
+ resourceBehaviors2[0] = new ResourceBehavior();
+ resourceBehaviors2[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors2[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors2[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors2[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ ResourceBehavior[] resourceBehaviors3 = new ResourceBehavior[1];
+ resourceBehaviors3[0] = new ResourceBehavior();
+ resourceBehaviors3[0].prepare_behavior = PrepareBehavior.PrepareBehaviorReturnVoteCommit;
+ resourceBehaviors3[0].rollback_behavior = RollbackBehavior.RollbackBehaviorReturn;
+ resourceBehaviors3[0].commit_behavior = CommitBehavior.CommitBehaviorReturn;
+ resourceBehaviors3[0].commitonephase_behavior = CommitOnePhaseBehavior.CommitOnePhaseBehaviorReturn;
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ service1.oper(resourceBehaviors1, OTS.current().get_control());
+
+ service2.oper(resourceBehaviors2, OTS.current().get_control());
+
+ service3.oper(resourceBehaviors3, OTS.current().get_control());
+
+ OTS.current().rollback_only();
+
+ try
+ {
+ OTS.current().commit(false);
+ System.err.println("Commit succeeded when it shouldn't");
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ correct = correct && service1.is_correct() && service2.is_correct() && service3.is_correct();
+
+ ResourceTrace resourceTrace1 = service1.get_resource_trace(0);
+ ResourceTrace resourceTrace2 = service2.get_resource_trace(0);
+ ResourceTrace resourceTrace3 = service3.get_resource_trace(0);
+
+ correct = correct && (resourceTrace1 == ResourceTrace.ResourceTraceRollback);
+ correct = correct && (resourceTrace2 == ResourceTrace.ResourceTraceRollback);
+ correct = correct && (resourceTrace3 == ResourceTrace.ResourceTraceRollback);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client030.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client030.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Impls/ResourceImpl01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Impls/ResourceImpl01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Impls/ResourceImpl01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,283 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: ResourceImpl01.java,v 1.2 2003/06/26 11:44:58 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.RawResources02Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ResourceImpl01.java,v 1.2 2003/06/26 11:44:58 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ResourceImpl01.java,v 1.2 2003/06/26 11:44:58 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+import org.omg.CosTransactions.*;
+
+public class ResourceImpl01 implements ResourceOperations
+{
+ public ResourceImpl01(int objectNumber, int resourceNumber, ResourceBehavior resourceBehavior)
+ {
+ _donePrepare = false;
+ _objectNumber = objectNumber;
+ _resourceNumber = resourceNumber;
+ _resourceBehavior = resourceBehavior;
+ }
+
+ public Vote prepare()
+ throws HeuristicMixed, HeuristicHazard
+ {
+ System.err.print("ResourceImpl01.prepare [O" + _objectNumber + ".R" + _resourceNumber + "]: ");
+
+ if (_resourceTrace == ResourceTrace.ResourceTraceNone)
+ {
+ _resourceTrace = ResourceTrace.ResourceTracePrepare;
+ }
+ else
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceUnknown;
+ }
+
+ _donePrepare = true;
+
+ if (_resourceBehavior.prepare_behavior == PrepareBehavior.PrepareBehaviorReturnVoteCommit)
+ {
+ System.err.println("ReturnVoteCommit");
+ return Vote.VoteCommit;
+ }
+ else if (_resourceBehavior.prepare_behavior == PrepareBehavior.PrepareBehaviorReturnVoteRollback)
+ {
+ System.err.println("ReturnVoteRollback");
+ return Vote.VoteRollback;
+ }
+ else if (_resourceBehavior.prepare_behavior == PrepareBehavior.PrepareBehaviorReturnVoteReadOnly)
+ {
+ System.err.println("ReturnVoteReadOnly");
+ return Vote.VoteReadOnly;
+ }
+ else if (_resourceBehavior.prepare_behavior == PrepareBehavior.PrepareBehaviorRaiseHeuristicMixed)
+ {
+ System.err.println("RaiseHeuristicMixed");
+ throw new HeuristicMixed();
+ }
+ else
+ {
+ System.err.println("RaiseHeuristicHazard");
+ throw new HeuristicHazard();
+ }
+ }
+
+ public void rollback()
+ throws HeuristicCommit, HeuristicMixed, HeuristicHazard
+ {
+ System.err.print("ResourceImpl01.rollback [O" + _objectNumber + ".R" + _resourceNumber + "]: ");
+
+ if (_donePrepare)
+ {
+ if (_resourceTrace == ResourceTrace.ResourceTracePrepare)
+ {
+ _resourceTrace = ResourceTrace.ResourceTracePrepareRollback;
+ }
+ else
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceUnknown;
+ }
+
+ if (_resourceBehavior.rollback_behavior == RollbackBehavior.RollbackBehaviorRaiseHeuristicCommit)
+ {
+ System.err.println("RaiseHeuristicCommit");
+ throw new HeuristicCommit();
+ }
+ else if (_resourceBehavior.rollback_behavior == RollbackBehavior.RollbackBehaviorRaiseHeuristicMixed)
+ {
+ System.err.println("RaiseHeuristicMixed");
+ throw new HeuristicMixed();
+ }
+ else if (_resourceBehavior.rollback_behavior == RollbackBehavior.RollbackBehaviorRaiseHeuristicHazard)
+ {
+ System.err.println("RaiseHeuristicHazard");
+ throw new HeuristicHazard();
+ }
+
+ System.err.println("Return");
+ }
+ else
+ {
+ if (_resourceTrace == ResourceTrace.ResourceTraceNone)
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceRollback;
+ }
+ else
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceUnknown;
+ }
+
+ if (_resourceBehavior.rollback_behavior == RollbackBehavior.RollbackBehaviorReturn)
+ {
+ System.err.println("Return");
+ }
+ else
+ {
+ System.err.println("Return (forced behavior)");
+ }
+ }
+ }
+
+ public void commit()
+ throws NotPrepared, HeuristicRollback, HeuristicMixed, HeuristicHazard
+ {
+ System.err.print("ResourceImpl01.commit [O" + _objectNumber + ".R" + _resourceNumber + "]: ");
+
+ if (_resourceTrace == ResourceTrace.ResourceTracePrepare)
+ {
+ _resourceTrace = ResourceTrace.ResourceTracePrepareCommit;
+ }
+ else
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceUnknown;
+ }
+
+ if (_resourceBehavior.commit_behavior == CommitBehavior.CommitBehaviorRaiseNotPrepared)
+ {
+ System.err.println("RaiseNotPrepared");
+ throw new NotPrepared();
+ }
+ else if (_resourceBehavior.commit_behavior == CommitBehavior.CommitBehaviorRaiseHeuristicRollback)
+ {
+ System.err.println("RaiseHeuristicRollback");
+ throw new HeuristicRollback();
+ }
+ else if (_resourceBehavior.commit_behavior == CommitBehavior.CommitBehaviorRaiseHeuristicMixed)
+ {
+ System.err.println("RaiseHeuristicMixed");
+ throw new HeuristicMixed();
+ }
+ else if (_resourceBehavior.commit_behavior == CommitBehavior.CommitBehaviorRaiseHeuristicHazard)
+ {
+ System.err.println("RaiseHeuristicHazard");
+ throw new HeuristicHazard();
+ }
+
+ System.err.println("Return");
+ }
+
+ public void commit_one_phase()
+ throws HeuristicHazard
+ {
+ System.err.print("ResourceImpl01.commit_one_phase [O" + _objectNumber + ".R" + _resourceNumber + "]: ");
+
+ if (_resourceTrace == ResourceTrace.ResourceTraceNone)
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceCommitOnePhase;
+ }
+ else
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceUnknown;
+ }
+
+ if (_resourceBehavior.commitonephase_behavior == CommitOnePhaseBehavior.CommitOnePhaseBehaviorRaiseHeuristicHazard)
+ {
+ System.err.println("RaiseHeuristicMixed");
+ throw new HeuristicHazard();
+ }
+ else
+ if (_resourceBehavior.commitonephase_behavior == CommitOnePhaseBehavior.CommitOnePhaseBehaviorRaiseTransactionRolledback)
+ {
+ System.err.println("RaiseTransactionRolledback");
+ throw new TRANSACTION_ROLLEDBACK();
+ }
+
+ System.err.println("Return");
+ }
+
+ public void forget()
+ {
+ System.err.println("ResourceImpl01.forget [O" + _objectNumber + ".R" + _resourceNumber + "]: Return");
+
+ if (_resourceTrace == ResourceTrace.ResourceTracePrepare)
+ {
+ _resourceTrace = ResourceTrace.ResourceTracePrepareForget;
+ }
+ else if (_resourceTrace == ResourceTrace.ResourceTracePrepareRollback)
+ {
+ _resourceTrace = ResourceTrace.ResourceTracePrepareRollbackForget;
+ }
+ else if (_resourceTrace == ResourceTrace.ResourceTracePrepareCommit)
+ {
+ _resourceTrace = ResourceTrace.ResourceTracePrepareCommitForget;
+ }
+ else if (_resourceTrace == ResourceTrace.ResourceTraceCommitOnePhase)
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceCommitOnePhaseForget;
+ }
+ else
+ {
+ _resourceTrace = ResourceTrace.ResourceTraceUnknown;
+ }
+ }
+
+ public boolean isCorrect()
+ {
+ return true;
+ }
+
+ public ResourceTrace getTrace()
+ {
+ return _resourceTrace;
+ }
+
+ private boolean _donePrepare;
+ private int _objectNumber;
+ private int _resourceNumber;
+ private ResourceBehavior _resourceBehavior;
+ private ResourceTrace _resourceTrace = ResourceTrace.ResourceTraceNone;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Impls/ServiceImpl01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Impls/ServiceImpl01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Impls/ServiceImpl01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,124 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: ServiceImpl01.java,v 1.2 2003/06/26 11:44:58 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.RawResources02Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ServiceImpl01.java,v 1.2 2003/06/26 11:44:58 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ServiceImpl01.java,v 1.2 2003/06/26 11:44:58 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.omg.CosTransactions.Control;
+import org.omg.CosTransactions.Resource;
+import org.omg.CosTransactions.ResourceHelper;
+import org.omg.CosTransactions.ResourcePOATie;
+
+public class ServiceImpl01 implements ServiceOperations
+{
+ public ServiceImpl01(int objectNumber)
+ {
+ _objectNumber = objectNumber;
+ }
+
+ public void oper(ResourceBehavior[] resource_behaviors, Control ctrl)
+ {
+ _resourceImpl = new ResourceImpl01[resource_behaviors.length];
+ _resource = new Resource[resource_behaviors.length];
+
+ for (int index = 0; index < resource_behaviors.length; index++)
+ {
+ try
+ {
+ _resourceImpl[index] = new ResourceImpl01(_objectNumber, index, resource_behaviors[index]);
+ ResourcePOATie servant = new ResourcePOATie(_resourceImpl[index]);
+
+ OAInterface.objectIsReady(servant);
+ _resource[index] = ResourceHelper.narrow(OAInterface.corbaReference(servant));
+
+ ctrl.get_coordinator().register_resource(_resource[index]);
+ }
+ catch (Exception exception)
+ {
+ System.err.println("ImplicitObjectImpl01.oper: " + exception);
+ exception.printStackTrace(System.err);
+ _isCorrect = false;
+ }
+ }
+ }
+
+ public boolean is_correct()
+ {
+ return _isCorrect;
+ }
+
+ public ResourceTrace get_resource_trace(int resource_number)
+ {
+ if ((resource_number < 0) || (resource_number >= _resourceImpl.length))
+ {
+ return ResourceTrace.ResourceTraceUnknown;
+ }
+ else
+ {
+ return _resourceImpl[resource_number].getTrace();
+ }
+ }
+
+ private int _objectNumber;
+ private boolean _isCorrect = true;
+
+ private ResourceImpl01[] _resourceImpl = null;
+ private Resource[] _resource = null;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Impls/ServiceImpl02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Impls/ServiceImpl02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Impls/ServiceImpl02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,132 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: ServiceImpl02.java,v 1.2 2003/06/26 11:44:58 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.RawResources02Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ServiceImpl02.java,v 1.2 2003/06/26 11:44:58 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ServiceImpl02.java,v 1.2 2003/06/26 11:44:58 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+import org.omg.CosTransactions.Control;
+import org.omg.CosTransactions.Resource;
+import org.omg.CosTransactions.ResourceHelper;
+import org.omg.CosTransactions.ResourcePOATie;
+
+public class ServiceImpl02 implements ServiceOperations
+{
+ public ServiceImpl02(int objectNumber)
+ {
+ _objectNumber = objectNumber;
+ }
+
+ public void oper(ResourceBehavior[] resource_behaviors, Control ctrl)
+ {
+ _resourceImpl = new ResourceImpl01[resource_behaviors.length];
+ _resource = new Resource[resource_behaviors.length];
+
+ for (int index = 0; index < resource_behaviors.length; index++)
+ {
+ try
+ {
+ _resourceImpl[index] = new ResourceImpl01(_objectNumber, index, resource_behaviors[index]);
+ ResourcePOATie servant = new ResourcePOATie(_resourceImpl[index]);
+
+ OAInterface.objectIsReady(servant);
+ _resource[index] = ResourceHelper.narrow(OAInterface.corbaReference(servant));
+
+ try
+ {
+ ctrl.get_coordinator().register_resource(_resource[index]);
+ _isCorrect = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("ImplicitObjectImpl01.oper: " + exception);
+ exception.printStackTrace(System.err);
+ _isCorrect = false;
+ }
+ }
+ }
+
+ public boolean is_correct()
+ {
+ return _isCorrect;
+ }
+
+ public ResourceTrace get_resource_trace(int resource_number)
+ {
+ if ((resource_number < 0) || (resource_number >= _resourceImpl.length))
+ {
+ return ResourceTrace.ResourceTraceUnknown;
+ }
+ else
+ {
+ return _resourceImpl[resource_number].getTrace();
+ }
+ }
+
+ private int _objectNumber;
+ private boolean _isCorrect = true;
+
+ private ResourceImpl01[] _resourceImpl = null;
+ private Resource[] _resource = null;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Servers/Server01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Servers/Server01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Servers/Server01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,94 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.RawResources02Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server01.java,v 1.2 2003/06/26 11:44:59 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server01.java,v 1.2 2003/06/26 11:44:59 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.RawResources02Impls.ServiceImpl01;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server01
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ ServiceImpl01 serviceImpl = new ServiceImpl01(0);
+ ServicePOATie servant = new ServicePOATie(serviceImpl);
+
+ OAInterface.objectIsReady(servant);
+ Service service = ServiceHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(service));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Servers/Server02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Servers/Server02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Servers/Server02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,100 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.RawResources02Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server02.java,v 1.2 2003/06/26 11:44:59 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server02.java,v 1.2 2003/06/26 11:44:59 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.RawResources02Impls.ServiceImpl01;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server02
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ ServiceImpl01 serviceImpl1 = new ServiceImpl01(0);
+ ServiceImpl01 serviceImpl2 = new ServiceImpl01(1);
+
+ ServicePOATie servant1 = new ServicePOATie(serviceImpl1);
+ ServicePOATie servant2 = new ServicePOATie(serviceImpl2);
+
+ OAInterface.objectIsReady(servant1);
+ OAInterface.objectIsReady(servant2);
+ Service service1 = ServiceHelper.narrow(OAInterface.corbaReference(servant1));
+ Service service2 = ServiceHelper.narrow(OAInterface.corbaReference(servant2));
+
+ ServerIORStore.storeIOR(args[args.length - 2], ORBInterface.orb().object_to_string(service1));
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(service2));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server02.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Servers/Server03.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Servers/Server03.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Servers/Server03.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,105 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.RawResources02Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server03.java,v 1.2 2003/06/26 11:44:59 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server03.java,v 1.2 2003/06/26 11:44:59 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.RawResources02Impls.ServiceImpl01;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server03
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ ServiceImpl01 serviceImpl1 = new ServiceImpl01(0);
+ ServiceImpl01 serviceImpl2 = new ServiceImpl01(1);
+ ServiceImpl01 serviceImpl3 = new ServiceImpl01(2);
+
+ ServicePOATie servant1 = new ServicePOATie(serviceImpl1);
+ ServicePOATie servant2 = new ServicePOATie(serviceImpl2);
+ ServicePOATie servant3 = new ServicePOATie(serviceImpl3);
+
+ OAInterface.objectIsReady(servant1);
+ OAInterface.objectIsReady(servant2);
+ OAInterface.objectIsReady(servant3);
+ Service service1 = ServiceHelper.narrow(OAInterface.corbaReference(servant1));
+ Service service2 = ServiceHelper.narrow(OAInterface.corbaReference(servant2));
+ Service service3 = ServiceHelper.narrow(OAInterface.corbaReference(servant3));
+
+ ServerIORStore.storeIOR(args[args.length - 3], ORBInterface.orb().object_to_string(service1));
+ ServerIORStore.storeIOR(args[args.length - 2], ORBInterface.orb().object_to_string(service2));
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(service3));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server03.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Servers/Server04.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Servers/Server04.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawResources02Servers/Server04.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,94 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.RawResources02Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server04.java,v 1.2 2003/06/26 11:44:59 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server04.java,v 1.2 2003/06/26 11:44:59 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawResources02.*;
+import org.jboss.jbossts.qa.RawResources02Impls.ServiceImpl02;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server04
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ ServiceImpl02 serviceImpl = new ServiceImpl02(0);
+ ServicePOATie servant = new ServicePOATie(serviceImpl);
+
+ OAInterface.objectIsReady(servant);
+ Service service = ServiceHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(service));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server04.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients1/Client001.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients1/Client001.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients1/Client001.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,135 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients1;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client001.java,v 1.2 2003/06/26 11:44:59 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client001.java,v 1.2 2003/06/26 11:44:59 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawSubtransactionAwareResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client001
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ OTS.current().begin();
+
+ OTS.current().rollback_only();
+
+ try
+ {
+ service.oper(1);
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ try
+ {
+ OTS.current().commit(true);
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ OTS.current().commit(true);
+
+ correct = correct && service.is_correct();
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client001.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client001.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients1/Client002.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients1/Client002.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients1/Client002.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,121 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients1;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client002.java,v 1.2 2003/06/26 11:44:59 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client002.java,v 1.2 2003/06/26 11:44:59 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawSubtransactionAwareResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client002
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ OTS.current().begin();
+
+ service.oper(1);
+
+ OTS.current().commit(true);
+
+ OTS.current().commit(true);
+
+ correct = service.is_correct();
+
+ correct = correct && (service.get_subtransaction_aware_resource_trace(0) == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceCommitSubtransaction);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client002.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client002.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients1/Client003.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients1/Client003.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients1/Client003.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,121 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients1;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client003.java,v 1.2 2003/06/26 11:45:00 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client003.java,v 1.2 2003/06/26 11:45:00 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawSubtransactionAwareResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client003
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ OTS.current().begin();
+
+ service.oper(1);
+
+ OTS.current().commit(false);
+
+ OTS.current().commit(true);
+
+ correct = correct && service.is_correct();
+
+ correct = correct && (service.get_subtransaction_aware_resource_trace(0) == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceCommitSubtransaction);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client003.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client003.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients1/Client004.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients1/Client004.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients1/Client004.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,121 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients1;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client004.java,v 1.2 2003/06/26 11:45:00 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client004.java,v 1.2 2003/06/26 11:45:00 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawSubtransactionAwareResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client004
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ OTS.current().begin();
+
+ service.oper(1);
+
+ OTS.current().rollback();
+
+ OTS.current().commit(true);
+
+ correct = correct && service.is_correct();
+
+ correct = correct && (service.get_subtransaction_aware_resource_trace(0) == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceRollbackSubtransaction);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client004.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client004.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients1/Client005.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients1/Client005.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients1/Client005.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,131 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients1;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client005.java,v 1.2 2003/06/26 11:45:00 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client005.java,v 1.2 2003/06/26 11:45:00 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawSubtransactionAwareResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client005
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ OTS.current().begin();
+
+ service.oper(1);
+
+ OTS.current().rollback_only();
+
+ try
+ {
+ OTS.current().commit(true);
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledBack)
+ {
+ }
+
+ OTS.current().commit(true);
+
+ correct = correct && service.is_correct();
+
+ correct = correct && (service.get_subtransaction_aware_resource_trace(0) == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceRollbackSubtransaction);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client005.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client005.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients1/Client006.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients1/Client006.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients1/Client006.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,131 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients1;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client006.java,v 1.2 2003/06/26 11:45:00 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client006.java,v 1.2 2003/06/26 11:45:00 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawSubtransactionAwareResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client006
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ OTS.current().begin();
+
+ service.oper(1);
+
+ OTS.current().rollback_only();
+
+ try
+ {
+ OTS.current().commit(false);
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ OTS.current().commit(true);
+
+ correct = correct && service.is_correct();
+
+ correct = correct && (service.get_subtransaction_aware_resource_trace(0) == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceRollbackSubtransaction);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client006.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client006.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients2/Client001.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients2/Client001.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients2/Client001.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,127 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client001.java,v 1.2 2003/06/26 11:45:00 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client001.java,v 1.2 2003/06/26 11:45:00 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawSubtransactionAwareResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client001
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ OTS.current().begin();
+
+ service1.oper(1);
+ service2.oper(1);
+
+ OTS.current().commit(true);
+
+ OTS.current().commit(true);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ correct = correct && (service1.get_subtransaction_aware_resource_trace(0) == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceCommitSubtransaction);
+ correct = correct && (service2.get_subtransaction_aware_resource_trace(0) == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceCommitSubtransaction);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client001.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client001.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients2/Client002.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients2/Client002.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients2/Client002.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,127 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client002.java,v 1.2 2003/06/26 11:45:00 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client002.java,v 1.2 2003/06/26 11:45:00 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawSubtransactionAwareResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client002
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ OTS.current().begin();
+
+ service1.oper(1);
+ service2.oper(1);
+
+ OTS.current().commit(false);
+
+ OTS.current().commit(true);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ correct = correct && (service1.get_subtransaction_aware_resource_trace(0) == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceCommitSubtransaction);
+ correct = correct && (service2.get_subtransaction_aware_resource_trace(0) == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceCommitSubtransaction);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client002.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client002.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients2/Client003.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients2/Client003.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients2/Client003.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,127 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client003.java,v 1.2 2003/06/26 11:45:00 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client003.java,v 1.2 2003/06/26 11:45:00 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawSubtransactionAwareResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client003
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ OTS.current().begin();
+
+ service1.oper(1);
+ service2.oper(1);
+
+ OTS.current().rollback();
+
+ OTS.current().commit(true);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ correct = correct && (service1.get_subtransaction_aware_resource_trace(0) == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceRollbackSubtransaction);
+ correct = correct && (service2.get_subtransaction_aware_resource_trace(0) == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceRollbackSubtransaction);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client003.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client003.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients2/Client004.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients2/Client004.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients2/Client004.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,137 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client004.java,v 1.2 2003/06/26 11:45:00 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client004.java,v 1.2 2003/06/26 11:45:00 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawSubtransactionAwareResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client004
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ OTS.current().begin();
+
+ service1.oper(1);
+ service2.oper(1);
+
+ OTS.current().rollback_only();
+
+ try
+ {
+ OTS.current().commit(true);
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledBack)
+ {
+ }
+
+ OTS.current().commit(true);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ correct = correct && (service1.get_subtransaction_aware_resource_trace(0) == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceRollbackSubtransaction);
+ correct = correct && (service2.get_subtransaction_aware_resource_trace(0) == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceRollbackSubtransaction);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client004.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client004.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients2/Client005.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients2/Client005.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients2/Client005.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,137 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client005.java,v 1.2 2003/06/26 11:45:00 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client005.java,v 1.2 2003/06/26 11:45:00 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawSubtransactionAwareResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client005
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ OTS.current().begin();
+
+ service1.oper(1);
+ service2.oper(1);
+
+ OTS.current().rollback_only();
+
+ try
+ {
+ OTS.current().commit(false);
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ OTS.current().commit(true);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ correct = correct && (service1.get_subtransaction_aware_resource_trace(0) == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceRollbackSubtransaction);
+ correct = correct && (service2.get_subtransaction_aware_resource_trace(0) == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceRollbackSubtransaction);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client005.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client005.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients3/Client001.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients3/Client001.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients3/Client001.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,133 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client001.java,v 1.2 2003/06/26 11:45:01 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client001.java,v 1.2 2003/06/26 11:45:01 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawSubtransactionAwareResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client001
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ OTS.current().begin();
+
+ service1.oper(1);
+ service2.oper(1);
+ service3.oper(1);
+
+ OTS.current().commit(true);
+
+ OTS.current().commit(true);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+ correct = correct && service3.is_correct();
+
+ correct = correct && (service1.get_subtransaction_aware_resource_trace(0) == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceCommitSubtransaction);
+ correct = correct && (service2.get_subtransaction_aware_resource_trace(0) == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceCommitSubtransaction);
+ correct = correct && (service3.get_subtransaction_aware_resource_trace(0) == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceCommitSubtransaction);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client001.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client001.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients3/Client002.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients3/Client002.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients3/Client002.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,133 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client002.java,v 1.2 2003/06/26 11:45:01 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client002.java,v 1.2 2003/06/26 11:45:01 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawSubtransactionAwareResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client002
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ OTS.current().begin();
+
+ service1.oper(1);
+ service2.oper(1);
+ service3.oper(1);
+
+ OTS.current().commit(false);
+
+ OTS.current().commit(true);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+ correct = correct && service3.is_correct();
+
+ correct = correct && (service1.get_subtransaction_aware_resource_trace(0) == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceCommitSubtransaction);
+ correct = correct && (service2.get_subtransaction_aware_resource_trace(0) == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceCommitSubtransaction);
+ correct = correct && (service3.get_subtransaction_aware_resource_trace(0) == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceCommitSubtransaction);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client002.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client002.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients3/Client003.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients3/Client003.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients3/Client003.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,133 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client003.java,v 1.2 2003/06/26 11:45:01 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client003.java,v 1.2 2003/06/26 11:45:01 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawSubtransactionAwareResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client003
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ OTS.current().begin();
+
+ service1.oper(1);
+ service2.oper(1);
+ service3.oper(1);
+
+ OTS.current().rollback();
+
+ OTS.current().commit(true);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+ correct = correct && service3.is_correct();
+
+ correct = correct && (service1.get_subtransaction_aware_resource_trace(0) == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceRollbackSubtransaction);
+ correct = correct && (service2.get_subtransaction_aware_resource_trace(0) == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceRollbackSubtransaction);
+ correct = correct && (service3.get_subtransaction_aware_resource_trace(0) == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceRollbackSubtransaction);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client003.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client003.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients3/Client004.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients3/Client004.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients3/Client004.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,143 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client004.java,v 1.2 2003/06/26 11:45:01 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client004.java,v 1.2 2003/06/26 11:45:01 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawSubtransactionAwareResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client004
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ OTS.current().begin();
+
+ service1.oper(1);
+ service2.oper(1);
+ service3.oper(1);
+
+ OTS.current().rollback_only();
+
+ try
+ {
+ OTS.current().commit(true);
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledBack)
+ {
+ }
+
+ OTS.current().commit(true);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+ correct = correct && service3.is_correct();
+
+ correct = correct && (service1.get_subtransaction_aware_resource_trace(0) == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceRollbackSubtransaction);
+ correct = correct && (service2.get_subtransaction_aware_resource_trace(0) == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceRollbackSubtransaction);
+ correct = correct && (service3.get_subtransaction_aware_resource_trace(0) == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceRollbackSubtransaction);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client004.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client004.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients3/Client005.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients3/Client005.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Clients3/Client005.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,143 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawSubtransactionAwareResources01Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client005.java,v 1.2 2003/06/26 11:45:01 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client005.java,v 1.2 2003/06/26 11:45:01 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawSubtransactionAwareResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client005
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ OTS.current().begin();
+
+ service1.oper(1);
+ service2.oper(1);
+ service3.oper(1);
+
+ OTS.current().rollback_only();
+
+ try
+ {
+ OTS.current().commit(false);
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ OTS.current().commit(true);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+ correct = correct && service3.is_correct();
+
+ correct = correct && (service1.get_subtransaction_aware_resource_trace(0) == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceRollbackSubtransaction);
+ correct = correct && (service2.get_subtransaction_aware_resource_trace(0) == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceRollbackSubtransaction);
+ correct = correct && (service3.get_subtransaction_aware_resource_trace(0) == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceRollbackSubtransaction);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client005.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client005.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Impls/ServiceImpl01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Impls/ServiceImpl01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Impls/ServiceImpl01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,130 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: ServiceImpl01.java,v 1.2 2003/06/26 11:45:01 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.RawSubtransactionAwareResources01Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ServiceImpl01.java,v 1.2 2003/06/26 11:45:01 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ServiceImpl01.java,v 1.2 2003/06/26 11:45:01 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawSubtransactionAwareResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.omg.CosTransactions.SubtransactionAwareResource;
+import org.omg.CosTransactions.SubtransactionAwareResourceHelper;
+import org.omg.CosTransactions.SubtransactionAwareResourcePOATie;
+
+public class ServiceImpl01 implements ServiceOperations
+{
+ public ServiceImpl01(int objectNumber)
+ {
+ _objectNumber = objectNumber;
+ }
+
+ public void oper(int subtransactionAwareResourceNumber)
+ {
+ _subtransactionAwareResourceImpl = new SubtransactionAwareResourceImpl01[subtransactionAwareResourceNumber];
+ _subtransactionAwareResource = new SubtransactionAwareResource[subtransactionAwareResourceNumber];
+
+ for (int index = 0; index < subtransactionAwareResourceNumber; index++)
+ {
+ System.err.println("ServiceImpl01.oper [O" + _objectNumber + ".R" + index + "]");
+
+ try
+ {
+ _subtransactionAwareResourceImpl[index] = new SubtransactionAwareResourceImpl01(_objectNumber, index);
+ SubtransactionAwareResourcePOATie servant = new SubtransactionAwareResourcePOATie(_subtransactionAwareResourceImpl[index]);
+
+ OAInterface.objectIsReady(servant);
+ _subtransactionAwareResource[index] = SubtransactionAwareResourceHelper.narrow(OAInterface.corbaReference(servant));
+
+ OTS.current().get_control().get_coordinator().register_subtran_aware(_subtransactionAwareResource[index]);
+ }
+ catch (Exception exception)
+ {
+ System.err.println("ServiceImpl01.oper: " + exception);
+ exception.printStackTrace(System.err);
+ _isCorrect = false;
+ }
+ }
+ }
+
+ public boolean is_correct()
+ {
+ System.err.println("ServiceImpl01.is_correct [O" + _objectNumber + "]: " + _isCorrect);
+
+ return _isCorrect;
+ }
+
+ public SubtransactionAwareResourceTrace get_subtransaction_aware_resource_trace(int subtransactionAwareResourceNumber)
+ {
+ SubtransactionAwareResourceTrace subtransactionAwareResourceTrace = SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceUnknown;
+
+ if ((subtransactionAwareResourceNumber >= 0) && (subtransactionAwareResourceNumber < _subtransactionAwareResourceImpl.length))
+ {
+ subtransactionAwareResourceTrace = _subtransactionAwareResourceImpl[subtransactionAwareResourceNumber].getTrace();
+ }
+
+ System.err.println("ServiceImpl01.get_subtransaction_aware_resource_trace [O" + _objectNumber + ".R" + subtransactionAwareResourceNumber + "]: " + subtransactionAwareResourceTrace);
+
+ return subtransactionAwareResourceTrace;
+ }
+
+ private int _objectNumber;
+ private boolean _isCorrect = true;
+
+ private SubtransactionAwareResourceImpl01[] _subtransactionAwareResourceImpl = null;
+ private SubtransactionAwareResource[] _subtransactionAwareResource = null;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Impls/ServiceImpl02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Impls/ServiceImpl02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Impls/ServiceImpl02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,138 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: ServiceImpl02.java,v 1.2 2003/06/26 11:45:01 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.RawSubtransactionAwareResources01Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ServiceImpl02.java,v 1.2 2003/06/26 11:45:01 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ServiceImpl02.java,v 1.2 2003/06/26 11:45:01 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawSubtransactionAwareResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+import org.omg.CosTransactions.SubtransactionAwareResource;
+import org.omg.CosTransactions.SubtransactionAwareResourceHelper;
+import org.omg.CosTransactions.SubtransactionAwareResourcePOATie;
+
+public class ServiceImpl02 implements ServiceOperations
+{
+ public ServiceImpl02(int objectNumber)
+ {
+ _objectNumber = objectNumber;
+ }
+
+ public void oper(int subtransactionAwareResourceNumber)
+ {
+ _subtransactionAwareResourceImpl = new SubtransactionAwareResourceImpl01[subtransactionAwareResourceNumber];
+ _subtransactionAwareResource = new SubtransactionAwareResource[subtransactionAwareResourceNumber];
+
+ for (int index = 0; index < subtransactionAwareResourceNumber; index++)
+ {
+ System.err.println("ServiceImpl02.oper [O" + _objectNumber + ".R" + index + "]");
+
+ try
+ {
+ _subtransactionAwareResourceImpl[index] = new SubtransactionAwareResourceImpl01(_objectNumber, index);
+ SubtransactionAwareResourcePOATie servant = new SubtransactionAwareResourcePOATie(_subtransactionAwareResourceImpl[index]);
+
+ OAInterface.objectIsReady(servant);
+ _subtransactionAwareResource[index] = SubtransactionAwareResourceHelper.narrow(OAInterface.corbaReference(servant));
+
+ try
+ {
+ OTS.current().get_control().get_coordinator().register_subtran_aware(_subtransactionAwareResource[index]);
+ _isCorrect = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("ServiceImpl02.oper: " + exception);
+ exception.printStackTrace(System.err);
+ _isCorrect = false;
+ }
+ }
+ }
+
+ public boolean is_correct()
+ {
+ System.err.println("ServiceImpl02.is_correct [O" + _objectNumber + "]: " + _isCorrect);
+
+ return _isCorrect;
+ }
+
+ public SubtransactionAwareResourceTrace get_subtransaction_aware_resource_trace(int subtransactionAwareResourceNumber)
+ {
+ SubtransactionAwareResourceTrace subtransactionAwareResourceTrace = SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceUnknown;
+
+ if ((subtransactionAwareResourceNumber >= 0) && (subtransactionAwareResourceNumber < _subtransactionAwareResourceImpl.length))
+ {
+ subtransactionAwareResourceTrace = _subtransactionAwareResourceImpl[subtransactionAwareResourceNumber].getTrace();
+ }
+
+ System.err.println("ServiceImpl02.get_subtransaction_aware_resource_trace [O" + _objectNumber + ".R" + subtransactionAwareResourceNumber + "]: " + subtransactionAwareResourceTrace);
+
+ return subtransactionAwareResourceTrace;
+ }
+
+ private int _objectNumber;
+ private boolean _isCorrect = true;
+
+ private SubtransactionAwareResourceImpl01[] _subtransactionAwareResourceImpl = null;
+ private SubtransactionAwareResource[] _subtransactionAwareResource = null;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Impls/SubtransactionAwareResourceImpl01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Impls/SubtransactionAwareResourceImpl01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Impls/SubtransactionAwareResourceImpl01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: SubtransactionAwareResourceImpl01.java,v 1.2 2003/06/26 11:45:01 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.RawSubtransactionAwareResources01Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: SubtransactionAwareResourceImpl01.java,v 1.2 2003/06/26 11:45:01 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: SubtransactionAwareResourceImpl01.java,v 1.2 2003/06/26 11:45:01 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawSubtransactionAwareResources01.*;
+import org.omg.CosTransactions.*;
+
+public class SubtransactionAwareResourceImpl01 implements SubtransactionAwareResourceOperations
+{
+ public SubtransactionAwareResourceImpl01(int objectNumber, int subtransactionAwareResourceNumber)
+ {
+ _donePrepare = false;
+ _objectNumber = objectNumber;
+ _subtransactionAwareResourceNumber = subtransactionAwareResourceNumber;
+ }
+
+ public Vote prepare()
+ throws HeuristicMixed, HeuristicHazard
+ {
+ System.err.println("SubtransactionAwareResourceImpl01.prepare [O" + _objectNumber + ".R" + _subtransactionAwareResourceNumber + "]: Return VoteCommit");
+
+ _subtransactionAwareResourceTrace = SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceUnknown;
+
+ return Vote.VoteCommit;
+ }
+
+ public void rollback()
+ throws HeuristicCommit, HeuristicMixed, HeuristicHazard
+ {
+ System.err.println("SubtransactionAwareResourceImpl01.rollback [O" + _objectNumber + ".R" + _subtransactionAwareResourceNumber + "]: Return");
+
+ _subtransactionAwareResourceTrace = SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceUnknown;
+ }
+
+ public void commit()
+ throws NotPrepared, HeuristicRollback, HeuristicMixed, HeuristicHazard
+ {
+ System.err.println("SubtransactionAwareResourceImpl01.commit [O" + _objectNumber + ".R" + _subtransactionAwareResourceNumber + "]: Return");
+
+ _subtransactionAwareResourceTrace = SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceUnknown;
+ }
+
+ public void commit_one_phase()
+ throws HeuristicHazard
+ {
+ System.err.println("SubtransactionAwareResourceImpl01.commit_one_phase [O" + _objectNumber + ".R" + _subtransactionAwareResourceNumber + "]: Return");
+
+ _subtransactionAwareResourceTrace = SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceUnknown;
+ }
+
+ public void forget()
+ {
+ System.err.println("SubtransactionAwareResourceImpl01.forget [O" + _objectNumber + ".R" + _subtransactionAwareResourceNumber + "]: Return");
+
+ _subtransactionAwareResourceTrace = SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceUnknown;
+ }
+
+ public void rollback_subtransaction()
+ {
+ System.err.println("SubtransactionAwareResourceImpl01.rollback_subtransaction [O" + _objectNumber + ".R" + _subtransactionAwareResourceNumber + "]: Return");
+
+ if (_subtransactionAwareResourceTrace == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceNone)
+ {
+ _subtransactionAwareResourceTrace = SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceRollbackSubtransaction;
+ }
+ else
+ {
+ _subtransactionAwareResourceTrace = SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceUnknown;
+ }
+ }
+
+ public void commit_subtransaction(Coordinator parent)
+ {
+ System.err.println("SubtransactionAwareResourceImpl01.commit_subtransaction [O" + _objectNumber + ".R" + _subtransactionAwareResourceNumber + "]: Return");
+
+ if (_subtransactionAwareResourceTrace == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceNone)
+ {
+ _subtransactionAwareResourceTrace = SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceCommitSubtransaction;
+ }
+ else
+ {
+ _subtransactionAwareResourceTrace = SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceUnknown;
+ }
+ }
+
+ public boolean isCorrect()
+ {
+ return true;
+ }
+
+ public SubtransactionAwareResourceTrace getTrace()
+ {
+ return _subtransactionAwareResourceTrace;
+ }
+
+ private boolean _donePrepare;
+ private int _objectNumber;
+ private int _subtransactionAwareResourceNumber;
+ private SubtransactionAwareResourceTrace _subtransactionAwareResourceTrace = SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceNone;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Servers/Server01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Servers/Server01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Servers/Server01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,94 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server01.java,v 1.2 2003/06/26 11:45:02 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server01.java,v 1.2 2003/06/26 11:45:02 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawSubtransactionAwareResources01.*;
+import org.jboss.jbossts.qa.RawSubtransactionAwareResources01Impls.ServiceImpl01;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server01
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ ServiceImpl01 serviceImpl = new ServiceImpl01(0);
+ ServicePOATie servant = new ServicePOATie(serviceImpl);
+
+ OAInterface.objectIsReady(servant);
+ Service service = ServiceHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(service));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Servers/Server02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Servers/Server02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Servers/Server02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,100 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server02.java,v 1.2 2003/06/26 11:45:02 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server02.java,v 1.2 2003/06/26 11:45:02 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawSubtransactionAwareResources01.*;
+import org.jboss.jbossts.qa.RawSubtransactionAwareResources01Impls.ServiceImpl01;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server02
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ ServiceImpl01 serviceImpl1 = new ServiceImpl01(0);
+ ServiceImpl01 serviceImpl2 = new ServiceImpl01(1);
+
+ ServicePOATie servant1 = new ServicePOATie(serviceImpl1);
+ ServicePOATie servant2 = new ServicePOATie(serviceImpl2);
+
+ OAInterface.objectIsReady(servant1);
+ OAInterface.objectIsReady(servant2);
+ Service service1 = ServiceHelper.narrow(OAInterface.corbaReference(servant1));
+ Service service2 = ServiceHelper.narrow(OAInterface.corbaReference(servant2));
+
+ ServerIORStore.storeIOR(args[args.length - 2], ORBInterface.orb().object_to_string(service1));
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(service2));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server02.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Servers/Server03.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Servers/Server03.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Servers/Server03.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,105 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server03.java,v 1.2 2003/06/26 11:45:02 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server03.java,v 1.2 2003/06/26 11:45:02 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawSubtransactionAwareResources01.*;
+import org.jboss.jbossts.qa.RawSubtransactionAwareResources01Impls.ServiceImpl01;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server03
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ ServiceImpl01 serviceImpl1 = new ServiceImpl01(0);
+ ServiceImpl01 serviceImpl2 = new ServiceImpl01(1);
+ ServiceImpl01 serviceImpl3 = new ServiceImpl01(2);
+
+ ServicePOATie servant1 = new ServicePOATie(serviceImpl1);
+ ServicePOATie servant2 = new ServicePOATie(serviceImpl2);
+ ServicePOATie servant3 = new ServicePOATie(serviceImpl3);
+
+ OAInterface.objectIsReady(servant1);
+ OAInterface.objectIsReady(servant2);
+ OAInterface.objectIsReady(servant3);
+ Service service1 = ServiceHelper.narrow(OAInterface.corbaReference(servant1));
+ Service service2 = ServiceHelper.narrow(OAInterface.corbaReference(servant2));
+ Service service3 = ServiceHelper.narrow(OAInterface.corbaReference(servant3));
+
+ ServerIORStore.storeIOR(args[args.length - 3], ORBInterface.orb().object_to_string(service1));
+ ServerIORStore.storeIOR(args[args.length - 2], ORBInterface.orb().object_to_string(service2));
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(service3));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server03.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Servers/Server04.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Servers/Server04.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources01Servers/Server04.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,94 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.RawSubtransactionAwareResources01Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server04.java,v 1.2 2003/06/26 11:45:02 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server04.java,v 1.2 2003/06/26 11:45:02 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawSubtransactionAwareResources01.*;
+import org.jboss.jbossts.qa.RawSubtransactionAwareResources01Impls.ServiceImpl02;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server04
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ ServiceImpl02 serviceImpl = new ServiceImpl02(0);
+ ServicePOATie servant = new ServicePOATie(serviceImpl);
+
+ OAInterface.objectIsReady(servant);
+ Service service = ServiceHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(service));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server04.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients1/Client001.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients1/Client001.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients1/Client001.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,135 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients1;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client001.java,v 1.2 2003/06/26 11:45:02 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client001.java,v 1.2 2003/06/26 11:45:02 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawSubtransactionAwareResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client001
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ OTS.current().begin();
+
+ OTS.current().rollback_only();
+
+ try
+ {
+ service.oper(1, OTS.current().get_control());
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ try
+ {
+ OTS.current().commit(true);
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ OTS.current().commit(true);
+
+ correct = correct && service.is_correct();
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client001.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client001.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients1/Client002.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients1/Client002.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients1/Client002.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,121 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients1;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client002.java,v 1.2 2003/06/26 11:45:02 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client002.java,v 1.2 2003/06/26 11:45:02 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawSubtransactionAwareResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client002
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ OTS.current().begin();
+
+ service.oper(1, OTS.current().get_control());
+
+ OTS.current().commit(true);
+
+ OTS.current().commit(true);
+
+ correct = service.is_correct();
+
+ correct = correct && (service.get_subtransaction_aware_resource_trace(0) == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceCommitSubtransaction);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client002.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client002.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients1/Client003.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients1/Client003.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients1/Client003.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,121 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients1;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client003.java,v 1.2 2003/06/26 11:45:02 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client003.java,v 1.2 2003/06/26 11:45:02 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawSubtransactionAwareResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client003
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ OTS.current().begin();
+
+ service.oper(1, OTS.current().get_control());
+
+ OTS.current().commit(false);
+
+ OTS.current().commit(true);
+
+ correct = correct && service.is_correct();
+
+ correct = correct && (service.get_subtransaction_aware_resource_trace(0) == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceCommitSubtransaction);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client003.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client003.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients1/Client004.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients1/Client004.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients1/Client004.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,121 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients1;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client004.java,v 1.2 2003/06/26 11:45:03 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client004.java,v 1.2 2003/06/26 11:45:03 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawSubtransactionAwareResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client004
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ OTS.current().begin();
+
+ service.oper(1, OTS.current().get_control());
+
+ OTS.current().rollback();
+
+ OTS.current().commit(true);
+
+ correct = correct && service.is_correct();
+
+ correct = correct && (service.get_subtransaction_aware_resource_trace(0) == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceRollbackSubtransaction);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client004.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client004.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients1/Client005.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients1/Client005.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients1/Client005.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,131 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients1;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client005.java,v 1.2 2003/06/26 11:45:03 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client005.java,v 1.2 2003/06/26 11:45:03 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawSubtransactionAwareResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client005
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ OTS.current().begin();
+
+ service.oper(1, OTS.current().get_control());
+
+ OTS.current().rollback_only();
+
+ try
+ {
+ OTS.current().commit(true);
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledBack)
+ {
+ }
+
+ OTS.current().commit(true);
+
+ correct = correct && service.is_correct();
+
+ correct = correct && (service.get_subtransaction_aware_resource_trace(0) == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceRollbackSubtransaction);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client005.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client005.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients1/Client006.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients1/Client006.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients1/Client006.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,131 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients1;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client006.java,v 1.2 2003/06/26 11:45:03 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client006.java,v 1.2 2003/06/26 11:45:03 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawSubtransactionAwareResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client006
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ OTS.current().begin();
+
+ service.oper(1, OTS.current().get_control());
+
+ OTS.current().rollback_only();
+
+ try
+ {
+ OTS.current().commit(false);
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ OTS.current().commit(true);
+
+ correct = correct && service.is_correct();
+
+ correct = correct && (service.get_subtransaction_aware_resource_trace(0) == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceRollbackSubtransaction);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client006.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client006.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients2/Client001.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients2/Client001.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients2/Client001.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,127 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client001.java,v 1.2 2003/06/26 11:45:03 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client001.java,v 1.2 2003/06/26 11:45:03 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawSubtransactionAwareResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client001
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ OTS.current().begin();
+
+ service1.oper(1, OTS.current().get_control());
+ service2.oper(1, OTS.current().get_control());
+
+ OTS.current().commit(true);
+
+ OTS.current().commit(true);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ correct = correct && (service1.get_subtransaction_aware_resource_trace(0) == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceCommitSubtransaction);
+ correct = correct && (service2.get_subtransaction_aware_resource_trace(0) == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceCommitSubtransaction);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client001.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client001.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients2/Client002.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients2/Client002.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients2/Client002.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,127 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client002.java,v 1.2 2003/06/26 11:45:03 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client002.java,v 1.2 2003/06/26 11:45:03 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawSubtransactionAwareResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client002
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ OTS.current().begin();
+
+ service1.oper(1, OTS.current().get_control());
+ service2.oper(1, OTS.current().get_control());
+
+ OTS.current().commit(false);
+
+ OTS.current().commit(true);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ correct = correct && (service1.get_subtransaction_aware_resource_trace(0) == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceCommitSubtransaction);
+ correct = correct && (service2.get_subtransaction_aware_resource_trace(0) == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceCommitSubtransaction);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client002.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client002.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients2/Client003.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients2/Client003.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients2/Client003.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,127 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client003.java,v 1.2 2003/06/26 11:45:03 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client003.java,v 1.2 2003/06/26 11:45:03 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawSubtransactionAwareResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client003
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ OTS.current().begin();
+
+ service1.oper(1, OTS.current().get_control());
+ service2.oper(1, OTS.current().get_control());
+
+ OTS.current().rollback();
+
+ OTS.current().commit(true);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ correct = correct && (service1.get_subtransaction_aware_resource_trace(0) == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceRollbackSubtransaction);
+ correct = correct && (service2.get_subtransaction_aware_resource_trace(0) == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceRollbackSubtransaction);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client003.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client003.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients2/Client004.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients2/Client004.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients2/Client004.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,137 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client004.java,v 1.2 2003/06/26 11:45:03 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client004.java,v 1.2 2003/06/26 11:45:03 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawSubtransactionAwareResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client004
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ OTS.current().begin();
+
+ service1.oper(1, OTS.current().get_control());
+ service2.oper(1, OTS.current().get_control());
+
+ OTS.current().rollback_only();
+
+ try
+ {
+ OTS.current().commit(true);
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledBack)
+ {
+ }
+
+ OTS.current().commit(true);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ correct = correct && (service1.get_subtransaction_aware_resource_trace(0) == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceRollbackSubtransaction);
+ correct = correct && (service2.get_subtransaction_aware_resource_trace(0) == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceRollbackSubtransaction);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client004.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client004.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients2/Client005.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients2/Client005.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients2/Client005.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,137 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients2;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client005.java,v 1.2 2003/06/26 11:45:03 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client005.java,v 1.2 2003/06/26 11:45:03 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawSubtransactionAwareResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client005
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ OTS.current().begin();
+
+ service1.oper(1, OTS.current().get_control());
+ service2.oper(1, OTS.current().get_control());
+
+ OTS.current().rollback_only();
+
+ try
+ {
+ OTS.current().commit(false);
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ OTS.current().commit(true);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+
+ correct = correct && (service1.get_subtransaction_aware_resource_trace(0) == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceRollbackSubtransaction);
+ correct = correct && (service2.get_subtransaction_aware_resource_trace(0) == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceRollbackSubtransaction);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client005.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client005.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients3/Client001.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients3/Client001.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients3/Client001.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,133 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client001.java,v 1.2 2003/06/26 11:45:04 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client001.java,v 1.2 2003/06/26 11:45:04 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawSubtransactionAwareResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client001
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ OTS.current().begin();
+
+ service1.oper(1, OTS.current().get_control());
+ service2.oper(1, OTS.current().get_control());
+ service3.oper(1, OTS.current().get_control());
+
+ OTS.current().commit(true);
+
+ OTS.current().commit(true);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+ correct = correct && service3.is_correct();
+
+ correct = correct && (service1.get_subtransaction_aware_resource_trace(0) == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceCommitSubtransaction);
+ correct = correct && (service2.get_subtransaction_aware_resource_trace(0) == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceCommitSubtransaction);
+ correct = correct && (service3.get_subtransaction_aware_resource_trace(0) == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceCommitSubtransaction);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client001.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client001.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients3/Client002.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients3/Client002.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients3/Client002.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,133 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client002.java,v 1.2 2003/06/26 11:45:04 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client002.java,v 1.2 2003/06/26 11:45:04 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawSubtransactionAwareResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client002
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ OTS.current().begin();
+
+ service1.oper(1, OTS.current().get_control());
+ service2.oper(1, OTS.current().get_control());
+ service3.oper(1, OTS.current().get_control());
+
+ OTS.current().commit(false);
+
+ OTS.current().commit(true);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+ correct = correct && service3.is_correct();
+
+ correct = correct && (service1.get_subtransaction_aware_resource_trace(0) == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceCommitSubtransaction);
+ correct = correct && (service2.get_subtransaction_aware_resource_trace(0) == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceCommitSubtransaction);
+ correct = correct && (service3.get_subtransaction_aware_resource_trace(0) == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceCommitSubtransaction);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client002.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client002.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients3/Client003.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients3/Client003.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients3/Client003.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,133 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client003.java,v 1.2 2003/06/26 11:45:04 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client003.java,v 1.2 2003/06/26 11:45:04 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawSubtransactionAwareResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client003
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ OTS.current().begin();
+
+ service1.oper(1, OTS.current().get_control());
+ service2.oper(1, OTS.current().get_control());
+ service3.oper(1, OTS.current().get_control());
+
+ OTS.current().rollback();
+
+ OTS.current().commit(true);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+ correct = correct && service3.is_correct();
+
+ correct = correct && (service1.get_subtransaction_aware_resource_trace(0) == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceRollbackSubtransaction);
+ correct = correct && (service2.get_subtransaction_aware_resource_trace(0) == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceRollbackSubtransaction);
+ correct = correct && (service3.get_subtransaction_aware_resource_trace(0) == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceRollbackSubtransaction);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client003.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client003.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients3/Client004.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients3/Client004.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients3/Client004.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,143 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client004.java,v 1.2 2003/06/26 11:45:04 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client004.java,v 1.2 2003/06/26 11:45:04 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawSubtransactionAwareResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client004
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ OTS.current().begin();
+
+ service1.oper(1, OTS.current().get_control());
+ service2.oper(1, OTS.current().get_control());
+ service3.oper(1, OTS.current().get_control());
+
+ OTS.current().rollback_only();
+
+ try
+ {
+ OTS.current().commit(true);
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledBack)
+ {
+ }
+
+ OTS.current().commit(true);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+ correct = correct && service3.is_correct();
+
+ correct = correct && (service1.get_subtransaction_aware_resource_trace(0) == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceRollbackSubtransaction);
+ correct = correct && (service2.get_subtransaction_aware_resource_trace(0) == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceRollbackSubtransaction);
+ correct = correct && (service3.get_subtransaction_aware_resource_trace(0) == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceRollbackSubtransaction);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client004.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client004.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients3/Client005.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients3/Client005.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Clients3/Client005.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,143 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.RawSubtransactionAwareResources02Clients3;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client005.java,v 1.2 2003/06/26 11:45:04 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client005.java,v 1.2 2003/06/26 11:45:04 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawSubtransactionAwareResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.OTS;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+
+public class Client005
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR1 = ServerIORStore.loadIOR(args[args.length - 3]);
+ Service service1 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR1));
+
+ String serviceIOR2 = ServerIORStore.loadIOR(args[args.length - 2]);
+ Service service2 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR2));
+
+ String serviceIOR3 = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service3 = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR3));
+
+ boolean correct = true;
+
+ OTS.current().begin();
+
+ OTS.current().begin();
+
+ service1.oper(1, OTS.current().get_control());
+ service2.oper(1, OTS.current().get_control());
+ service3.oper(1, OTS.current().get_control());
+
+ OTS.current().rollback_only();
+
+ try
+ {
+ OTS.current().commit(false);
+ correct = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+
+ OTS.current().commit(true);
+
+ correct = correct && service1.is_correct();
+ correct = correct && service2.is_correct();
+ correct = correct && service3.is_correct();
+
+ correct = correct && (service1.get_subtransaction_aware_resource_trace(0) == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceRollbackSubtransaction);
+ correct = correct && (service2.get_subtransaction_aware_resource_trace(0) == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceRollbackSubtransaction);
+ correct = correct && (service3.get_subtransaction_aware_resource_trace(0) == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceRollbackSubtransaction);
+
+ if (correct)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client005.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client005.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Impls/ServiceImpl01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Impls/ServiceImpl01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Impls/ServiceImpl01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,130 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: ServiceImpl01.java,v 1.2 2003/06/26 11:45:04 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.RawSubtransactionAwareResources02Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ServiceImpl01.java,v 1.2 2003/06/26 11:45:04 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ServiceImpl01.java,v 1.2 2003/06/26 11:45:04 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawSubtransactionAwareResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.omg.CosTransactions.Control;
+import org.omg.CosTransactions.SubtransactionAwareResource;
+import org.omg.CosTransactions.SubtransactionAwareResourceHelper;
+import org.omg.CosTransactions.SubtransactionAwareResourcePOATie;
+
+public class ServiceImpl01 implements ServiceOperations
+{
+ public ServiceImpl01(int objectNumber)
+ {
+ _objectNumber = objectNumber;
+ }
+
+ public void oper(int subtransactionAwareResourceNumber, Control ctrl)
+ {
+ _subtransactionAwareResourceImpl = new SubtransactionAwareResourceImpl01[subtransactionAwareResourceNumber];
+ _subtransactionAwareResource = new SubtransactionAwareResource[subtransactionAwareResourceNumber];
+
+ for (int index = 0; index < subtransactionAwareResourceNumber; index++)
+ {
+ System.err.println("ServiceImpl01.oper [O" + _objectNumber + ".R" + index + "]");
+
+ try
+ {
+ _subtransactionAwareResourceImpl[index] = new SubtransactionAwareResourceImpl01(_objectNumber, index);
+ SubtransactionAwareResourcePOATie servant = new SubtransactionAwareResourcePOATie(_subtransactionAwareResourceImpl[index]);
+
+ OAInterface.objectIsReady(servant);
+ _subtransactionAwareResource[index] = SubtransactionAwareResourceHelper.narrow(OAInterface.corbaReference(servant));
+
+ ctrl.get_coordinator().register_subtran_aware(_subtransactionAwareResource[index]);
+ }
+ catch (Exception exception)
+ {
+ System.err.println("ServiceImpl01.oper: " + exception);
+ exception.printStackTrace(System.err);
+ _isCorrect = false;
+ }
+ }
+ }
+
+ public boolean is_correct()
+ {
+ System.err.println("ServiceImpl01.is_correct [O" + _objectNumber + "]: " + _isCorrect);
+
+ return _isCorrect;
+ }
+
+ public SubtransactionAwareResourceTrace get_subtransaction_aware_resource_trace(int subtransactionAwareResourceNumber)
+ {
+ SubtransactionAwareResourceTrace subtransactionAwareResourceTrace = SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceUnknown;
+
+ if ((subtransactionAwareResourceNumber >= 0) && (subtransactionAwareResourceNumber < _subtransactionAwareResourceImpl.length))
+ {
+ subtransactionAwareResourceTrace = _subtransactionAwareResourceImpl[subtransactionAwareResourceNumber].getTrace();
+ }
+
+ System.err.println("ServiceImpl01.get_subtransaction_aware_resource_trace [O" + _objectNumber + ".R" + subtransactionAwareResourceNumber + "]: " + subtransactionAwareResourceTrace);
+
+ return subtransactionAwareResourceTrace;
+ }
+
+ private int _objectNumber;
+ private boolean _isCorrect = true;
+
+ private SubtransactionAwareResourceImpl01[] _subtransactionAwareResourceImpl = null;
+ private SubtransactionAwareResource[] _subtransactionAwareResource = null;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Impls/ServiceImpl02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Impls/ServiceImpl02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Impls/ServiceImpl02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,138 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: ServiceImpl02.java,v 1.2 2003/06/26 11:45:04 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.RawSubtransactionAwareResources02Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ServiceImpl02.java,v 1.2 2003/06/26 11:45:04 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: ServiceImpl02.java,v 1.2 2003/06/26 11:45:04 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawSubtransactionAwareResources02.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.omg.CORBA.TRANSACTION_ROLLEDBACK;
+import org.omg.CosTransactions.Control;
+import org.omg.CosTransactions.SubtransactionAwareResource;
+import org.omg.CosTransactions.SubtransactionAwareResourceHelper;
+import org.omg.CosTransactions.SubtransactionAwareResourcePOATie;
+
+public class ServiceImpl02 implements ServiceOperations
+{
+ public ServiceImpl02(int objectNumber)
+ {
+ _objectNumber = objectNumber;
+ }
+
+ public void oper(int subtransactionAwareResourceNumber, Control ctrl)
+ {
+ _subtransactionAwareResourceImpl = new SubtransactionAwareResourceImpl01[subtransactionAwareResourceNumber];
+ _subtransactionAwareResource = new SubtransactionAwareResource[subtransactionAwareResourceNumber];
+
+ for (int index = 0; index < subtransactionAwareResourceNumber; index++)
+ {
+ System.err.println("ServiceImpl02.oper [O" + _objectNumber + ".R" + index + "]");
+
+ try
+ {
+ _subtransactionAwareResourceImpl[index] = new SubtransactionAwareResourceImpl01(_objectNumber, index);
+ SubtransactionAwareResourcePOATie servant = new SubtransactionAwareResourcePOATie(_subtransactionAwareResourceImpl[index]);
+
+ OAInterface.objectIsReady(servant);
+ _subtransactionAwareResource[index] = SubtransactionAwareResourceHelper.narrow(OAInterface.corbaReference(servant));
+
+ try
+ {
+ ctrl.get_coordinator().register_subtran_aware(_subtransactionAwareResource[index]);
+ _isCorrect = false;
+ }
+ catch (TRANSACTION_ROLLEDBACK transactionRolledback)
+ {
+ }
+ }
+ catch (Exception exception)
+ {
+ System.err.println("ServiceImpl02.oper: " + exception);
+ exception.printStackTrace(System.err);
+ _isCorrect = false;
+ }
+ }
+ }
+
+ public boolean is_correct()
+ {
+ System.err.println("ServiceImpl02.is_correct [O" + _objectNumber + "]: " + _isCorrect);
+
+ return _isCorrect;
+ }
+
+ public SubtransactionAwareResourceTrace get_subtransaction_aware_resource_trace(int subtransactionAwareResourceNumber)
+ {
+ SubtransactionAwareResourceTrace subtransactionAwareResourceTrace = SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceUnknown;
+
+ if ((subtransactionAwareResourceNumber >= 0) && (subtransactionAwareResourceNumber < _subtransactionAwareResourceImpl.length))
+ {
+ subtransactionAwareResourceTrace = _subtransactionAwareResourceImpl[subtransactionAwareResourceNumber].getTrace();
+ }
+
+ System.err.println("ServiceImpl02.get_subtransaction_aware_resource_trace [O" + _objectNumber + ".R" + subtransactionAwareResourceNumber + "]: " + subtransactionAwareResourceTrace);
+
+ return subtransactionAwareResourceTrace;
+ }
+
+ private int _objectNumber;
+ private boolean _isCorrect = true;
+
+ private SubtransactionAwareResourceImpl01[] _subtransactionAwareResourceImpl = null;
+ private SubtransactionAwareResource[] _subtransactionAwareResource = null;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Impls/SubtransactionAwareResourceImpl01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Impls/SubtransactionAwareResourceImpl01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Impls/SubtransactionAwareResourceImpl01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,157 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+// $Id: SubtransactionAwareResourceImpl01.java,v 1.2 2003/06/26 11:45:04 rbegg Exp $
+//
+
+package org.jboss.jbossts.qa.RawSubtransactionAwareResources02Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: SubtransactionAwareResourceImpl01.java,v 1.2 2003/06/26 11:45:04 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: SubtransactionAwareResourceImpl01.java,v 1.2 2003/06/26 11:45:04 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawSubtransactionAwareResources02.*;
+import org.omg.CosTransactions.*;
+
+public class SubtransactionAwareResourceImpl01 implements SubtransactionAwareResourceOperations
+{
+ public SubtransactionAwareResourceImpl01(int objectNumber, int subtransactionAwareResourceNumber)
+ {
+ _donePrepare = false;
+ _objectNumber = objectNumber;
+ _subtransactionAwareResourceNumber = subtransactionAwareResourceNumber;
+ }
+
+ public Vote prepare()
+ throws HeuristicMixed, HeuristicHazard
+ {
+ System.err.println("SubtransactionAwareResourceImpl01.prepare [O" + _objectNumber + ".R" + _subtransactionAwareResourceNumber + "]: Return VoteCommit");
+
+ _subtransactionAwareResourceTrace = SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceUnknown;
+
+ return Vote.VoteCommit;
+ }
+
+ public void rollback()
+ throws HeuristicCommit, HeuristicMixed, HeuristicHazard
+ {
+ System.err.println("SubtransactionAwareResourceImpl01.rollback [O" + _objectNumber + ".R" + _subtransactionAwareResourceNumber + "]: Return");
+
+ _subtransactionAwareResourceTrace = SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceUnknown;
+ }
+
+ public void commit()
+ throws NotPrepared, HeuristicRollback, HeuristicMixed, HeuristicHazard
+ {
+ System.err.println("SubtransactionAwareResourceImpl01.commit [O" + _objectNumber + ".R" + _subtransactionAwareResourceNumber + "]: Return");
+
+ _subtransactionAwareResourceTrace = SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceUnknown;
+ }
+
+ public void commit_one_phase()
+ throws HeuristicHazard
+ {
+ System.err.println("SubtransactionAwareResourceImpl01.commit_one_phase [O" + _objectNumber + ".R" + _subtransactionAwareResourceNumber + "]: Return");
+
+ _subtransactionAwareResourceTrace = SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceUnknown;
+ }
+
+ public void forget()
+ {
+ System.err.println("SubtransactionAwareResourceImpl01.forget [O" + _objectNumber + ".R" + _subtransactionAwareResourceNumber + "]: Return");
+
+ _subtransactionAwareResourceTrace = SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceUnknown;
+ }
+
+ public void rollback_subtransaction()
+ {
+ System.err.println("SubtransactionAwareResourceImpl01.rollback_subtransaction [O" + _objectNumber + ".R" + _subtransactionAwareResourceNumber + "]: Return");
+
+ if (_subtransactionAwareResourceTrace == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceNone)
+ {
+ _subtransactionAwareResourceTrace = SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceRollbackSubtransaction;
+ }
+ else
+ {
+ _subtransactionAwareResourceTrace = SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceUnknown;
+ }
+ }
+
+ public void commit_subtransaction(Coordinator parent)
+ {
+ System.err.println("SubtransactionAwareResourceImpl01.commit_subtransaction [O" + _objectNumber + ".R" + _subtransactionAwareResourceNumber + "]: Return");
+
+ if (_subtransactionAwareResourceTrace == SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceNone)
+ {
+ _subtransactionAwareResourceTrace = SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceCommitSubtransaction;
+ }
+ else
+ {
+ _subtransactionAwareResourceTrace = SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceUnknown;
+ }
+ }
+
+ public boolean isCorrect()
+ {
+ return true;
+ }
+
+ public SubtransactionAwareResourceTrace getTrace()
+ {
+ return _subtransactionAwareResourceTrace;
+ }
+
+ private boolean _donePrepare;
+ private int _objectNumber;
+ private int _subtransactionAwareResourceNumber;
+ private SubtransactionAwareResourceTrace _subtransactionAwareResourceTrace = SubtransactionAwareResourceTrace.SubtransactionAwareResourceTraceNone;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Servers/Server01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Servers/Server01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Servers/Server01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,94 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server01.java,v 1.2 2003/06/26 11:45:05 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server01.java,v 1.2 2003/06/26 11:45:05 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawSubtransactionAwareResources02.*;
+import org.jboss.jbossts.qa.RawSubtransactionAwareResources02Impls.ServiceImpl01;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server01
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ ServiceImpl01 serviceImpl = new ServiceImpl01(0);
+ ServicePOATie servant = new ServicePOATie(serviceImpl);
+
+ OAInterface.objectIsReady(servant);
+ Service service = ServiceHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(service));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Servers/Server02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Servers/Server02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Servers/Server02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,100 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server02.java,v 1.2 2003/06/26 11:45:05 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server02.java,v 1.2 2003/06/26 11:45:05 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawSubtransactionAwareResources02.*;
+import org.jboss.jbossts.qa.RawSubtransactionAwareResources02Impls.ServiceImpl01;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server02
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ ServiceImpl01 serviceImpl1 = new ServiceImpl01(0);
+ ServiceImpl01 serviceImpl2 = new ServiceImpl01(1);
+
+ ServicePOATie servant1 = new ServicePOATie(serviceImpl1);
+ ServicePOATie servant2 = new ServicePOATie(serviceImpl2);
+
+ OAInterface.objectIsReady(servant1);
+ OAInterface.objectIsReady(servant2);
+ Service service1 = ServiceHelper.narrow(OAInterface.corbaReference(servant1));
+ Service service2 = ServiceHelper.narrow(OAInterface.corbaReference(servant2));
+
+ ServerIORStore.storeIOR(args[args.length - 2], ORBInterface.orb().object_to_string(service1));
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(service2));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server02.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Servers/Server03.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Servers/Server03.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Servers/Server03.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,105 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server03.java,v 1.2 2003/06/26 11:45:05 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server03.java,v 1.2 2003/06/26 11:45:05 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawSubtransactionAwareResources02.*;
+import org.jboss.jbossts.qa.RawSubtransactionAwareResources02Impls.ServiceImpl01;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server03
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ ServiceImpl01 serviceImpl1 = new ServiceImpl01(0);
+ ServiceImpl01 serviceImpl2 = new ServiceImpl01(1);
+ ServiceImpl01 serviceImpl3 = new ServiceImpl01(2);
+
+ ServicePOATie servant1 = new ServicePOATie(serviceImpl1);
+ ServicePOATie servant2 = new ServicePOATie(serviceImpl2);
+ ServicePOATie servant3 = new ServicePOATie(serviceImpl3);
+
+ OAInterface.objectIsReady(servant1);
+ OAInterface.objectIsReady(servant2);
+ OAInterface.objectIsReady(servant3);
+ Service service1 = ServiceHelper.narrow(OAInterface.corbaReference(servant1));
+ Service service2 = ServiceHelper.narrow(OAInterface.corbaReference(servant2));
+ Service service3 = ServiceHelper.narrow(OAInterface.corbaReference(servant3));
+
+ ServerIORStore.storeIOR(args[args.length - 3], ORBInterface.orb().object_to_string(service1));
+ ServerIORStore.storeIOR(args[args.length - 2], ORBInterface.orb().object_to_string(service2));
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(service3));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server03.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Servers/Server04.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Servers/Server04.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/RawSubtransactionAwareResources02Servers/Server04.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,94 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.RawSubtransactionAwareResources02Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server04.java,v 1.2 2003/06/26 11:45:05 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server04.java,v 1.2 2003/06/26 11:45:05 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.RawSubtransactionAwareResources02.*;
+import org.jboss.jbossts.qa.RawSubtransactionAwareResources02Impls.ServiceImpl02;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server04
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ ServiceImpl02 serviceImpl = new ServiceImpl02(0);
+ ServicePOATie servant = new ServicePOATie(serviceImpl);
+
+ OAInterface.objectIsReady(servant);
+ Service service = ServiceHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(service));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server04.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
+
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/SupportTests01Clients/Client01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/SupportTests01Clients/Client01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/SupportTests01Clients/Client01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,138 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.SupportTests01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client01.java,v 1.2 2003/06/26 11:45:05 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client01.java,v 1.2 2003/06/26 11:45:05 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.AITResources01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client01
+{
+ public static String status_text_from_int(int status)
+ {
+ switch (status)
+ {
+ case javax.transaction.Status.STATUS_ACTIVE:
+ return ("STATUS_ACTIVE");
+ case javax.transaction.Status.STATUS_COMMITTED:
+ return ("STATUS_COMMITTED");
+ case javax.transaction.Status.STATUS_COMMITTING:
+ return ("STATUS_COMMITTING");
+ case javax.transaction.Status.STATUS_MARKED_ROLLBACK:
+ return ("STATUS_MARKED_ROLLBACK");
+ case javax.transaction.Status.STATUS_NO_TRANSACTION:
+ return ("STATUS_NO_TRANSACTION");
+ case javax.transaction.Status.STATUS_PREPARED:
+ return ("STATUS_PREPARED");
+ case javax.transaction.Status.STATUS_PREPARING:
+ return ("STATUS_PREPARING");
+ case javax.transaction.Status.STATUS_ROLLEDBACK:
+ return ("STATUS_ROLLEDBACK");
+ case javax.transaction.Status.STATUS_ROLLING_BACK:
+ return ("STATUS_ROLLING_BACK");
+ case javax.transaction.Status.STATUS_UNKNOWN:
+ return ("STATUS_UNKNOWN");
+ }
+ return ("!!ERROR!!");
+ }
+
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ javax.transaction.TransactionManager tm = com.arjuna.ats.jta.TransactionManager.transactionManager();
+
+ String counterIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Counter counter = CounterHelper.narrow(ORBInterface.orb().string_to_object(counterIOR));
+
+ tm.begin();
+
+ javax.transaction.Transaction transaction = tm.getTransaction();
+
+ counter.increase();
+
+ tm.commit();
+
+ System.err.println("Transaction Status (reported by actual transaction): " + status_text_from_int(transaction.getStatus()));
+ System.err.println("Transaction Status (reported by transaction manager): " + status_text_from_int(tm.getStatus()));
+
+ System.out.println("Passed");
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client04.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client04.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/SupportTests01Clients/Client02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/SupportTests01Clients/Client02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/SupportTests01Clients/Client02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,106 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.SupportTests01Clients;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client02.java,v 1.2 2003/06/26 11:45:05 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Client02.java,v 1.2 2003/06/26 11:45:05 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.SupportTests01.*;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Client02
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ String serviceIOR = ServerIORStore.loadIOR(args[args.length - 1]);
+ Service service = ServiceHelper.narrow(ORBInterface.orb().string_to_object(serviceIOR));
+
+ service.test();
+
+ if (service.isCorrect())
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+ catch (Exception exception)
+ {
+ System.out.println("Failed");
+ System.err.println("Client02.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Client02.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/SupportTests01Impls/DummyXAResource.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/SupportTests01Impls/DummyXAResource.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/SupportTests01Impls/DummyXAResource.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,154 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.SupportTests01Impls;
+
+import org.jboss.jbossts.qa.RawResources01.*;
+
+import javax.transaction.xa.XAException;
+import javax.transaction.xa.XAResource;
+import javax.transaction.xa.Xid;
+import java.io.Serializable;
+
+
+public class DummyXAResource implements XAResource, Serializable
+{
+
+ public void DummyXA()
+ {
+ _timeout = 0; // no timeout
+ }
+
+ public void commit(Xid xid, boolean onePhase) throws XAException
+ {
+ System.err.println("DummyXA.commit called");
+
+ if (_lastCalled == EndLastCalled)
+ {
+ _lastCalled = CommitLastCalledError;
+ }
+ else
+ {
+ _lastCalled = CommitLastCalled;
+ }
+ }
+
+ public void clearLastCalled()
+ {
+ _lastCalled = Nothing;
+ }
+
+ public void start(Xid xid, int flags) throws XAException
+ {
+ System.err.println("DummyXA.start called");
+
+ _lastCalled = StartLastCalled;
+ }
+
+ public void end(Xid xid, int flags) throws XAException
+ {
+ System.err.println("DummyXA.end called");
+
+ _lastCalled = EndLastCalled;
+ }
+
+ public void forget(Xid xid) throws XAException
+ {
+ System.err.println("DummyXA.forget called");
+
+ _lastCalled = ForgetLastCalled;
+ }
+
+ public int getTransactionTimeout() throws XAException
+ {
+ System.err.println("DummyXA.getTransactionTimeout called");
+
+ return _timeout;
+ }
+
+ public Xid[] recover(int flag) throws XAException
+ {
+ System.err.println("DummyXA.recover called");
+
+ _lastCalled = RecoverLastCalled;
+
+ return null;
+ }
+
+ public int prepare(Xid xid) throws XAException
+ {
+ System.err.println("DummyXA.prepare called");
+
+ _lastCalled = PrepareLastCalled;
+
+ return XAResource.XA_OK;
+ }
+
+ public void rollback(Xid xid) throws XAException
+ {
+ System.err.println("DummyXA.rollback called");
+
+ _lastCalled = RollbackLastCalled;
+ }
+
+ public boolean setTransactionTimeout(int seconds) throws XAException
+ {
+ System.err.println("DummyXA.setTransactionTimeout called");
+
+ _timeout = seconds;
+
+ return true;
+ }
+
+ public boolean isSameRM(XAResource xares) throws XAException
+ {
+ System.err.println("DummyXA.isSameRM called");
+
+ return (xares == this);
+ }
+
+ public int getLastCalled()
+ {
+ return _lastCalled;
+ }
+
+ public String getLastCalledString()
+ {
+ return _lastCalledString[_lastCalled];
+ }
+
+ private int _timeout;
+ private boolean _donePrepare = false;
+ private int _lastCalled = Nothing;
+
+ public final static int StartLastCalled = 0,
+ EndLastCalled = 1,
+ PrepareLastCalled = 2,
+ CommitLastCalled = 3,
+ RollbackLastCalled = 4,
+ RecoverLastCalled = 5,
+ ForgetLastCalled = 6,
+ CommitLastCalledError = 7,
+ Nothing = 8;
+
+ private final static String _lastCalledString[] = {"StartLastCalled", "EndLastCalled", "PrepareLastCalled",
+ "CommitLastCalled", "RollbackLastCalled", "RecoverLastCalled",
+ "ForgetLastCalled", "CommitLastCalledError", "Nothing"};
+};
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/SupportTests01Impls/SupportTestXAResourceEnlistDelist.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/SupportTests01Impls/SupportTestXAResourceEnlistDelist.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/SupportTests01Impls/SupportTestXAResourceEnlistDelist.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,101 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.SupportTests01Impls;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: SupportTestXAResourceEnlistDelist.java,v 1.2 2003/06/26 11:45:06 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: SupportTestXAResourceEnlistDelist.java,v 1.2 2003/06/26 11:45:06 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.SupportTests01.*;
+
+import javax.transaction.Transaction;
+import javax.transaction.xa.XAResource;
+
+public class SupportTestXAResourceEnlistDelist implements ServiceOperations
+{
+ public void test() throws InvocationException
+ {
+ try
+ {
+ // Get a reference to the transaction manager
+ javax.transaction.TransactionManager tm = com.arjuna.ats.jta.TransactionManager.transactionManager();
+
+ // Begin the transaction
+ tm.begin();
+
+ // Enlist the dummy resource within this transaction
+ Transaction transaction = tm.getTransaction();
+ DummyXAResource resource = new DummyXAResource();
+
+ System.err.println("Enlisting XA Resource...");
+ transaction.enlistResource(resource);
+ _correct = (resource.getLastCalled() == DummyXAResource.StartLastCalled);
+
+ System.err.println("Delisting XA Resource...");
+ transaction.delistResource(resource, XAResource.TMSUCCESS);
+ _correct &= (resource.getLastCalled() == DummyXAResource.EndLastCalled);
+
+ // Clear the state
+ resource.clearLastCalled();
+
+ System.err.println("Performing commit...");
+ tm.commit();
+
+ _correct &= (resource.getLastCalled() == DummyXAResource.CommitLastCalled);
+ System.err.println("Finish Trace: " + resource.getLastCalledString());
+ }
+ catch (Exception e)
+ {
+ throw new InvocationException();
+ }
+ }
+
+ public boolean isCorrect() throws InvocationException
+ {
+ return (_correct);
+ }
+
+ private boolean _correct = false;
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/SupportTests01Servers/Server01.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/SupportTests01Servers/Server01.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/SupportTests01Servers/Server01.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,93 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.SupportTests01Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server01.java,v 1.2 2003/06/26 11:45:06 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server01.java,v 1.2 2003/06/26 11:45:06 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.AITResources01.*;
+import org.jboss.jbossts.qa.AITResources01Impls.AITCounterImpl01;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server01
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ AITCounterImpl01 aitCounterImpl = new AITCounterImpl01();
+ CounterPOATie servant = new CounterPOATie(aitCounterImpl);
+
+ OAInterface.objectIsReady(servant);
+ Counter aitCounter = CounterHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(aitCounter));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server01.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/SupportTests01Servers/Server02.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/SupportTests01Servers/Server02.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/SupportTests01Servers/Server02.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,93 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK
+//
+
+package org.jboss.jbossts.qa.SupportTests01Servers;
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server02.java,v 1.2 2003/06/26 11:45:06 rbegg Exp $
+ */
+
+/*
+ * Try to get around the differences between Ansi CPP and
+ * K&R cpp with concatenation.
+ */
+
+/*
+ * Copyright (C) 1999-2001 by HP Bluestone Software, Inc. All rights Reserved.
+ *
+ * HP Arjuna Labs,
+ * Newcastle upon Tyne,
+ * Tyne and Wear,
+ * UK.
+ *
+ * $Id: Server02.java,v 1.2 2003/06/26 11:45:06 rbegg Exp $
+ */
+
+
+import org.jboss.jbossts.qa.SupportTests01.*;
+import org.jboss.jbossts.qa.SupportTests01Impls.SupportTestXAResourceEnlistDelist;
+import org.jboss.jbossts.qa.Utils.OAInterface;
+import org.jboss.jbossts.qa.Utils.ORBInterface;
+import org.jboss.jbossts.qa.Utils.ServerIORStore;
+
+public class Server02
+{
+ public static void main(String args[])
+ {
+ try
+ {
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ SupportTestXAResourceEnlistDelist serviceImpl = new SupportTestXAResourceEnlistDelist();
+ ServicePOATie servant = new ServicePOATie(serviceImpl);
+
+ OAInterface.objectIsReady(servant);
+ Service service = ServiceHelper.narrow(OAInterface.corbaReference(servant));
+
+ ServerIORStore.storeIOR(args[args.length - 1], ORBInterface.orb().object_to_string(service));
+
+ System.out.println("Ready");
+
+ ORBInterface.run();
+ }
+ catch (Exception exception)
+ {
+ System.err.println("Server02.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Utils/AssertCleanEnvironment.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Utils/AssertCleanEnvironment.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Utils/AssertCleanEnvironment.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,139 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+//
+// Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003
+//
+// Arjuna Technologies Ltd.,
+// Newcastle upon Tyne,
+// Tyne and Wear,
+// UK.
+//
+
+package org.jboss.jbossts.qa.Utils;
+
+import com.arjuna.ats.arjuna.common.Environment;
+import com.arjuna.ats.arjuna.common.arjPropertyManager;
+
+import java.io.BufferedReader;
+import java.io.File;
+import java.io.InputStreamReader;
+
+/**
+ * This class acts as a main program which can be used to test
+ * the state of the environment prior to running a test.
+ * <p/>
+ * At the moment this class tests:
+ * <ul>
+ * <li> The set of running processes
+ * <li> That the ObjectStore is empty
+ * </ul>
+ */
+public class AssertCleanEnvironment
+{
+ public static void main(String[] args)
+ {
+ try
+ {
+ checkRunningProcesses(args);
+ checkObjectStore(args);
+ }
+ catch (Exception exception)
+ {
+ System.err.println("AssertCleanEnvironment.main: " + exception);
+ exception.printStackTrace(System.err);
+ }
+ }
+
+ private static void checkRunningProcesses(String[] args)
+ throws Exception
+ {
+ // Assume we are running in cygwin and have this command available
+ Process p = Runtime.getRuntime().exec("ps -ef");
+ BufferedReader br = new BufferedReader(
+ new InputStreamReader(p.getInputStream()));
+ String line = br.readLine();
+ while (line != null)
+ {
+ System.err.println(line);
+ line = br.readLine();
+ }
+ }
+
+ private static void checkObjectStore(String[] args)
+ throws Exception
+ {
+ String objectStoreDirName = null;
+ try
+ {
+ // We have to init the orb etc to make sure we get the
+ // latest version of the property and not some old value.
+ ORBInterface.initORB(args, null);
+ OAInterface.initOA();
+
+ objectStoreDirName = arjPropertyManager.propertyManager.getProperty(
+ Environment.OBJECTSTORE_DIR,
+ com.arjuna.ats.arjuna.common.Configuration.objectStoreRoot());
+ }
+ finally
+ {
+ // Try and tidy up
+ try
+ {
+ OAInterface.shutdownOA();
+ ORBInterface.shutdownORB();
+ }
+ catch (Exception exception)
+ {
+ // No need to report tidy up errors
+ }
+ }
+
+ File objectStoreDir = null;
+ if (objectStoreDirName != null)
+ {
+ objectStoreDir = new File(objectStoreDirName);
+ }
+
+ if ((objectStoreDir != null) &&
+ objectStoreDir.isDirectory() &&
+ (!objectStoreDir.getName().equals("")) &&
+ (!objectStoreDir.getName().equals("/")) &&
+ (!objectStoreDir.getName().equals("\\")) &&
+ (!objectStoreDir.getName().equals(".")) &&
+ (!objectStoreDir.getName().equals("..")))
+ {
+ File[] contents = objectStoreDir.listFiles();
+ if (contents != null && contents.length != 0)
+ {
+ reportError("OBJECTSTORE is not empty");
+ }
+ }
+ else
+ {
+ throw new IllegalStateException("ArjunaCoreEnvironment.OBJECTSTORE_DIR is invalid");
+ }
+ }
+
+ private static void reportError(String text)
+ {
+ System.err.println("AssertCleanEnvironment:!!!! " + text);
+ }
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Utils/BaseTestCase.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Utils/BaseTestCase.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Utils/BaseTestCase.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,255 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+package org.jboss.jbossts.qa.Utils;
+
+import com.arjuna.ats.arjuna.common.Uid;
+import com.arjuna.ats.arjuna.coordinator.AbstractRecord;
+import com.arjuna.ats.arjuna.coordinator.AddOutcome;
+import com.arjuna.ats.arjuna.coordinator.BasicAction;
+import com.arjuna.ats.txoj.LockManager;
+
+public class BaseTestCase
+{
+ public BaseTestCase()
+ {
+ super();
+ }
+
+ public BaseTestCase(String[] args)
+ {
+ super();
+ mArgs = args;
+ mArgsSize = args.length;
+ }
+
+ public void Fail()
+ {
+ Fail(null);
+ }
+
+ public void Fail(String s)
+ {
+ Fail(s, null);
+ }
+
+ public void Fail(String s, Exception e)
+ {
+ mComplete = false;
+ if (e == null)
+ {
+ Debug(s);
+ }
+ else
+ {
+ Debug(s + ": " + e);
+ e.printStackTrace();
+ }
+ Complete();
+ System.exit(0);
+ }
+
+ public void Debug(String s)
+ {
+ if (s != null)
+ {
+ System.err.println(s);
+ }
+ }
+
+ public void Debug(String s, Exception e)
+ {
+ if (s != null && e != null)
+ {
+ System.err.println(s + " :" + e);
+ e.printStackTrace();
+ }
+ else
+ {
+ Debug(s);
+ }
+ }
+
+ public void Pass()
+ {
+ mComplete = true;
+ Complete();
+ }
+
+ public void qaAssert(boolean test)
+ {
+ if (test)
+ {
+ Pass();
+ }
+ else
+ {
+ Fail();
+ }
+ }
+
+ private void Complete()
+ {
+ if (mComplete)
+ {
+ System.out.println("Passed");
+ }
+ else
+ {
+ System.out.println("Failed");
+ }
+ }
+
+ public String[] getArgs()
+ {
+ return mArgs;
+ }
+
+ public int getNumberOfArgs()
+ {
+ return mArgsSize;
+ }
+
+ public String getArg(int position)
+ {
+ return mArgs[position];
+ }
+
+ public String getRelativeArg(int position)
+ {
+ return mArgs[mArgs.length - position];
+ }
+
+ public int getIntRelArg(int position)
+ {
+ return Integer.parseInt(getRelativeArg(position));
+ }
+
+ public String loadIOR(int relative_position)
+ {
+ String s = null;
+ try
+ {
+ s = ServerIORStore.loadIOR(getRelativeArg(relative_position));
+ }
+ catch (Exception e)
+ {
+ Fail("Error in loading IOR: ", e);
+ }
+ return s;
+ }
+
+ public void storeIOR(int relative_position, String ior)
+ {
+ try
+ {
+ ServerIORStore.storeIOR(getRelativeArg(relative_position), ior);
+ }
+ catch (Exception e)
+ {
+ Fail("Error in loading IOR: ", e);
+ }
+ }
+
+ public void storeIOR(String name, String ior)
+ {
+ try
+ {
+ ServerIORStore.storeIOR(name, ior);
+ }
+ catch (Exception e)
+ {
+ Fail("Error in loading IOR: ", e);
+ }
+ }
+
+ public void storeUid(int relative_position, Object o)
+ {
+ try
+ {
+ LockManager lm = (LockManager) o;
+ ObjectUidStore.storeUid(getRelativeArg(relative_position), lm.get_uid());
+ }
+ catch (Exception e)
+ {
+ Fail("Error storing Uid:", e);
+ }
+ }
+
+ public Uid loadUid(int relative_position)
+ {
+ Uid u = null;
+ try
+ {
+ u = ObjectUidStore.loadUid(getRelativeArg(relative_position));
+ }
+ catch (Exception e)
+ {
+ Fail("Error loading Uid:", e);
+ }
+ return u;
+ }
+
+ /**
+ * This method reads in a paramater from the comand line in a set position
+ * (relative_position) and sets the global variable.
+ */
+ public void setNumberOfCalls(int relative_position)
+ {
+ numberOfCalls = getIntRelArg(relative_position);
+ }
+
+ public int numberOfCalls = 1000; //default value for tests
+ private boolean mComplete = false;
+ private String[] mArgs = null;
+ private int mArgsSize = 0;
+
+ public boolean addAction(AbstractRecord ar)
+ {
+ return (BasicAction.Current().add(ar) == AddOutcome.AR_ADDED);
+ }
+
+ //memory test metthods and variables used by JTS and Core tests
+ public void getClientThreshold(int relative_position)
+ {
+ try
+ {
+ // If no threshold value then use default.
+ if (MemoryTestProfileStore.getNoThresholdValue().equals(getRelativeArg(relative_position)))
+ {
+ clientIncreaseThreshold = Float.parseFloat(MemoryTestProfileStore.getDefaultClientIncreaseThreshold());
+ }
+ else // Use passed threshold
+ {
+ clientIncreaseThreshold = Float.parseFloat(getRelativeArg(relative_position));
+ }
+ }
+ catch (Exception e)
+ {
+ Fail("Error whilst reading client values: ", e);
+ }
+ }
+
+ //baseline values
+ public int clientMemory0 = 0;
+ //there can only be 1 client (this)
+ public int clientMemory1 = 0;
+ public float clientIncreaseThreshold = new Float(0.025).floatValue();//default value
+}
Added: labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Utils/CSFTestWrapper.java
===================================================================
--- labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Utils/CSFTestWrapper.java (rev 0)
+++ labs/jbosstm/trunk/qa/tests/src/org/jboss/jbossts/qa/Utils/CSFTestWrapper.java 2008-04-16 13:25:16 UTC (rev 19592)
@@ -0,0 +1,269 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * 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.
+ *
+ * (C) 2005-2006,
+ * @author JBoss Inc.
+ */
+/*
+ # Copyright (C) 2001,
+ #
+ # Hewlett-Packard Company,
+ # Newcastle upon Tyne,
+ # Tyne and Wear,
+ # UK.
+*/
+
+package org.jboss.jbossts.qa.Utils;
+
+import java.io.*;
+
+public class CSFTestWrapper
+{
+ public static void main(String[] args)
+ {
+ CSFTestWrapper wrapper;
+
+ wrapper = new CSFTestWrapper(args);
+ wrapper.execute();
+ }
+
+ public CSFTestWrapper(String[] args)
+ {
+ if (args != null)
+ {
+ mDeploy = args[0];
+ }
+
+ mFile = new File(mDeploy);
+ createFiles();
+ }
+
+ public void execute()
+ {
+ runComand();
+ }
+
+ public void createFiles()
+ {
+ String outputDirectory = mFile.getAbsolutePath();
+ try
+ {
+ outputDirectory = outputDirectory.substring(0, outputDirectory.lastIndexOf("."));
+ int startofchange = outputDirectory.indexOf("config");
+ String s = outputDirectory.substring(0, startofchange);
+ s = s + "res";
+ s = s + outputDirectory.substring(startofchange + 6, outputDirectory.length());
+ outputDirectory = s;
+ }
+ catch (StringIndexOutOfBoundsException siobe)
+ {
+ System.out.println("test name error");
+ }
+
+ try
+ {
+ File testDirectory = new File(outputDirectory);
+ if (!testDirectory.isDirectory())
+ {
+ testDirectory.mkdirs();
+ }
+
+ mOutStream = new File(outputDirectory + File.separator + sTitle + "_out");
+ if (!mOutStream.isFile())
+ {
+ mOutStream.createNewFile();
+ }
+
+ mErrStream = new File(outputDirectory + File.separator + sTitle + "_err");
+ if (!mOutStream.isFile())
+ {
+ mErrStream.createNewFile();
+ }
+ }
+ catch (IOException io)
+ {
+ System.out.println("create exception " + io);
+ }
+
+ try
+ {
+ mOutPrintWriter = new PrintStream(
+ new BufferedOutputStream(
+ new FileOutputStream(mOutStream)), true);
+ mErrPrintWriter = new PrintStream(
+ new BufferedOutputStream(
+ new FileOutputStream(mErrStream)), true);
+ }
+ catch (Exception e)
+ {
+ System.out.println("print stream exception " + e);
+ }
+
+ }
+
+ public void runComand()
+ {
+ Thread mMainThread = new Thread("comand thread " + sTitle)
+ {
+ public void run()
+ {
+ try
+ {
+ mComand = sEmbeddor + " " + mDeploy;
+ mProcess = Runtime.getRuntime().exec(mComand);
+ }
+ catch (OutOfMemoryError ome)
+ {
+ System.out.println("Out of memeory end test = " + ome);
+ }
+ catch (IOException io)
+ {
+ System.out.println("runtime exception " + io);
+ }
+ outputToDisplay();
+ }
+ };
+ mMainThread.start();
+ }
+
+ public void outputToDisplay()
+ {
+ Thread mOutReader = new Thread()
+ {
+ public void run()
+ {
+ try
+ {
+ BufferedReader br = new BufferedReader(new InputStreamReader(mProcess.getInputStream()));
+ String line = br.readLine();
+ while ((!isInterrupted() && line != null))
+ {
+ line = line.trim();
+ writeToLog(line, true);
+ line = br.readLine();
+ }
+ }
+ catch (InterruptedIOException e)
+ {
+ }
+ catch (Exception e)
+ {
+ }
+ }
+ };
+
+ Thread mErrReader = new Thread()
+ {
+ public void run()
+ {
+ try
+ {
+ BufferedReader br = new BufferedReader(new InputStreamReader(mProcess.getErrorStream()));
+ String line = br.readLine();
+ while ((!isInterrupted() && line != null))
+ {
+ line = line.trim();
+ writeToLog(line, false);
+ line = br.readLine();
+ }
+ }
+ catch (InterruptedIOException e)
+ {
+ }
+ catch (Exception e)
+ {
+ }
+ }
+ };
+
+ mOutReader.start();
+ mErrReader.start();
+
+ try
+ {
+ mProcess.waitFor();
+ }
+ catch (Exception e)
+ {
+ System.out.println("process exception");
+ }
+
+ mOutPrintWriter.close();
+ mErrPrintWriter.close();
+ }
+
+ public void writeToLog(String s, boolean b)
+ {
+ if (b)
+ {
+ mOutPrintWriter.println(s);
+ }
+ else
+ {
+ mErrPrintWriter.println(s);
+ }
+
+ //all the qa system needs to see is passed
+ if (s.endsWith(sPassedResult))
+ {
+ System.out.println("Passed");
+ startTimer();
+ }
+
+ if (s.endsWith(sFailedResult))
+ {
+ System.out.println("Failed");
+ startTimer();
+ }
+ }
+
+ /**
+ * On some systems HP-UX the embeddor process is not ending so
+ * lets stop it here.
+ */
+ private void startTimer()
+ {
+ try
+ {
+ //sleep for 15 seconds
+ Thread.currentThread().sleep(15000);
+ // if process has not stopped kill the process
+ if (mProcess != null)
+ {
+ mProcess.destroy();
+ mProcess = null;
+ }
+ }
+ catch (Exception e)
+ {
+ System.err.println("error in sleep");
+ }
+ }
+
+ private File mFile;
+ private File mOutStream;
+ private File mErrStream;
+ private PrintStream mOutPrintWriter;
+ private PrintStream mErrPrintWriter;
+ private Process mProcess;
+ private String mComand;
+ private String mDeploy;
+ private static String sTitle = "csf_embeddor";
+ private static String sEmbeddor = "java com.hp.mwlabs.csf.embeddors.text.Server -deploymentURL";
+ private static String sPassedResult = "ArjunaTest Passed";
+ private static String sFailedResult = "ArjunaTest Failed"